-1

I was trying to open a Virtual PC file that was in .exe format, so I went and pressed Open With, and selected Virtual PC. I pressed ok and then tried to open it, but it didnt work. Unfortunately, I forgot to uncheck "use this program for all files of the same type".

How do I undo the file association and get my PC working again?

Oliver Salzburg
  • 89,072
  • 65
  • 269
  • 311
Shad
  • 11

1 Answers1

5
  1. Open Command Prompt by typing cmd in RUN dialog box.

  2. Now provide following command: cd\windows

  3. It'll activate Windows folder. Now provide following command to open Registry Editor: regedit

  4. Now goto following key: HKEY_CLASSES_ROOT\.exe

    In right-side pane, change the value of Default key to exefile

  5. Now goto: HKEY_CLASSES_ROOT\exefile\shell\open\command In right-side pane, change value of Default key to: "%1" %*

  6. That's it. Now exit Registry Editor and restart your Windows. Now you should be able to open EXE files without any problem.

Source

sYnfo
  • 1,954