How to remove Notepad file which loads every time I boot: [.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787

How to remove Notepad file which loads every time I boot: [.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787
Answer
Answer

Hi,

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.

Regards

Rehman – Microsoft Support

 

John Rubdy
Forum Moderator | Microsoft Community

278 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 10, 2021 Views 80,215 Applies to: