Question

I started to get a Notepad window opening automatically on startup. It contains the following text:

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787

How to get rid of it? I'm using Windows Vista.

Answer

This happens if the Hidden attribute for the desktop.ini file is somehow removed. Follow these steps to resolve the problem:

Open an elevated Command Prompt window. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. Type the following command and press ENTER. (You may copy the text below and paste it in the Command Prompt window.)

And then run the following command:

Type EXIT to close the Command Prompt window.