Computer help

Site dedicated to computers


Home | Contact me

Operating Systems

General

Windows 95/98/ME

Windows NT

Windows 2000

Windows XP

Windows 2003

Linux

 

Web

HTML

Cascading Style Sheets (CSS)

Javascript

PHP

ASP

Design, marketing and developement

 

Languages

Visual FoxPro

 

Office suites

Word Processor

Spreadsheet

Presentation

Databases

Email

Links

General links

Search Engine Links

Respond - Prayer website

 

How to Restore the .exe File Association


Back to Windows XP

This is when you have a problem running programs. It seems that when you try to launch an application, you have an error message saying that Windows needs to know what program created the file. Also you can't run System Restore to try to fix the problem.

This happens when the file association for the .exe extension in the registry gets corrupted, and it can be caused by a virus. You can edit the registry to restore the association. Here's how:
  1. Click Start, Run. In the Run box, type cmd.
  2. Type the following at the command prompt. Hit Enter after each line:
    cd\windows
    copy regedit.exe regedit.com
    start regedit.com [or regedit.com]
  3. Open the registry editor and go to the following key: HKEY_CLASSES_ROOT\exefile\shell\open\command.
  4. Double-click the (Default) value in the right pane.
  5. Delete the value data shown, and type: "%1" %*" in the Value Data field. Include the quotes.
  6. Close the Registry Editor.
  7. Restart Windows.

 







 


Top