Closed Solved

Notepad auto opens on boot?

After a couple weeks of use something odd has begun to occur.

Once bootup is completed notepad automatically opens up on the desktop with the following content:

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

Any suggestions as to why? Running on an NEC Versa E6200 laptop. Started 3 or 4 days ago, consistently happens on every boot. I'm a bit at a loss as to why. Thanks!
5 answers Last reply Best Answer
More about notepad auto opens boot
  1. Best 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 commands below and press ENTER after typing each command.

    (You may copy the text below and paste it in the Command Prompt window.)

    attrib +s +h "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini"

    And then run the following command:

    attrib +s +h "%programdata%\Microsoft\Windows\Start Menu\Programs\Startup\desktop.ini"

    Type EXIT and then press enter to close the Command Prompt window.

    Hope this information is helpful. Please let us know if you require further help.
  2. Ah, sounds like finally on the right track, thanks.

    This however is Windows 8 beta (notice the forum) so there is no 'All Programs', etc.. I did find where they hide cmd.exe and ran it as admin. The desktop.ini nested in the \programdata\ is now changed but win8 doesn't seem to have the same directory structure in the \appdata\. I'll give it a reboot and see if just changing the other location was enough. Thanks :-)
  3. Yep, looks like just switching the attribute at the one location did it, thanks :-)
  4. Best answer selected by rbusch.
  5. This topic has been closed by Nikorr.
Ask a new question

Read More

Notepad Boot Windows 8