Notepad auto opens on boot?

Status
Not open for further replies.

rbusch

Distinguished
Jul 25, 2011
12
0
18,520
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!
 
Solution
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...

Dark Lord of Tech

Retired Moderator
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.
 
Solution

rbusch

Distinguished
Jul 25, 2011
12
0
18,520
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 :)
 
Status
Not open for further replies.