Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My computer got attacked by a Notepad.exe virus on Windows 7.

I've gotten rid of it, but now the standard Notepad program is missing. I can't run any of my .txt files.

What should I do to repair this?

share|improve this question
use a notepad replacement such as Notepad++ – Xantec Nov 30 '10 at 16:06

Step 1: Remove the infection with SuperAntiSpyware and Malwarebytes Anti-Malware

Step 2: Run sfc /scannow to repair your system files

Step 3: Install a good antivirus

Step 4: Run all Windows Updates

Step 5: (Optional) Get a different text editor, like TextPad

share|improve this answer

It is likely that Notepad has just not been reset as your default text editor. You will need to change the file association back to enable it.

To change file type and program associations: Source with pictures Here

  1. Go to [Start], then press [Default Programs] button:

  2. In the opened window, select [Associate a file type or protocol with a program] link:

  3. It may take some time while the system is scanning PC for all available file types and programs:

  4. After scan has been performed, the list of all supported, available file types and programs will be shown up:

  5. Select a file type you need to associate with the another program (for example, .GIF) and press [Change Program] button to change the default program:

  6. A new window with the available programs appeares, choose that on which is most suitable:

  7. Set default program for opening file and press OK. In the list of file types and programs now one can see changed program association:

share|improve this answer

Remove virus. After that, try to delete c:\windows\notepad.exe. The SO must recover the original file after some time.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .