Opening Windows applications/utilities are a very easy task as you can just launch those applications directly from Run. But, if you want to open a 3rd party application directly from Run, you have to add a key in the Registry of your computer. There are two processes with which you can launch the application directly from Run.
1. Manually adding the application name to the App path in your Registry.
2. Write a automated Registry script which will add the key to your Registry when you run it.
For a better understanding of these methods, we have taken an example of an application named “Application1.exe” which is installed in the location “C:/Program Files(x86)/Application1/Application1.exe“.
Method-1 Manually the application key to your Registry-
1. Press Windows key+R to launch Run window, and type “regedit” and hit Enter to launch Registry Editor.
2. Now, navigate to this location-
Right click on the “Apppaths” and then click on “New” and then click on “Key“.
Name the key as your application name, along with the extension (Example- For us, we will name the key as “Application1.exe“).
3. Now, click on “Application1.exe” key. On the right pane your should see a string value named “Default“. Double click on it. Change the “Value Data” to the address of the application. (Ex- For us, the we will set the ‘Value Data’ to “C:/Program Files(x86)/Application1/Application1.exe“) . Click on “OK” to save the changes.
4. Now, again right click on the blank space of “Application1.exe” key and click on “New” and then click on “String Value“.
Change the name of the String value as “Path” .
5. Now, double click on “Path” and change its ‘Value Data‘ to the path of the application folder.(Ex- For us, the we will set the ‘Value Data’ to “C:/Program Files(x86)/Application1“) . Click on “OK” to save the changes.
Close Registry Editor window.
Reboot your computer and after rebooting try to run the application from Run.
Method-2 Write a Registry script to add the application key-
1. Right click on the desktop and click on “New” and then click on “Text Document“.
2.Copy and paste these following lines in Notepad window.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Application1.exe] @="C:\\Program Files\\Application1\\Application1.exe" "Path"="C:\\Program Files\\Application1\\"
(You have to change the bold part of this text with the name of the application and the installation path of that file of you want to create a run-command shortcut)
3. Press Ctrl+Shift+S to save the Notepad text, save it as”A1.reg” and click on “Save as type:” and click on “All files“. Now, click on “Save” to save the registry in a favorable location.
Now, run “A1.reg” on your computer.
After executing the registry script on your computer, reboot your computer.
After rebooting, you should be able to launch the application with Run.
Sambit is a Mechanical Engineer By qualification who loves to write about Windows 10 and solutions to weirdest possible problems.