Resetting the default word for launching programs in Windows 7
Mia Lopez
A while back, I was trying to follow some fixes online for running exe files on the network and some of them involved making changes in the registry.
Since then, the default word in the context menu to launch programs changed to "%1" %* (see below screenshot) which I do know was part of what a fix told me to change.
I have only just got round to putting this right but I cannot recall how to change this back to the default.
I am looking at the keys like:-
HKEY_CLASSES_ROOT\exefile\shell\open\DefaultWhich do have the value as "%1" %* but I am unsure exactly which key in the registry controls the word (I think 'Open') used in the Windows 7 context menu like above.
Can anyone point me to the right key to change?
1 Answer
Check the (default) value data here:
HKEY_CLASSES_ROOT\exefile\shell\open\commandMust be set to "%1" %*
And, select the following key.
HKEY_CLASSES_ROOT\exefile\shell\openRight-click (default) and choose Delete. It should now read value not set.
That fixes the menu caption - setting it to Open.
REG file to automate the above
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\exefile\shell\open\Default]
[HKEY_CLASSES_ROOT\exefile\shell\open]
@=-
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"Copy the above lines to Notepad, save as exefix.reg. Start Regedit.exe (right-click Regedit.exe and choose Run as Administrator) and import the REG file via the File menu.
Or run the .exe fix REG file available here (zipped).
10