Sign in with
Sign up | Sign in
Your question

Notepad auto opens on boot?

Last response: in Windows 8
November 13, 2011 10:16:37 AM

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:


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!

Best solution

a b * Windows 8
November 13, 2011 11:42:24 AM

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.
November 14, 2011 7:28:30 AM

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 :-)
Related resources
November 14, 2011 8:30:11 AM

Yep, looks like just switching the attribute at the one location did it, thanks :-)
November 14, 2011 8:30:25 AM

Best answer selected by rbusch.
November 14, 2011 9:14:59 AM

This topic has been closed by Nikorr.