From few days when I start my computer I was seeing a desktop.ini file in notepad that opens on Windows start up containing the following text in it [.ShellClassInfo] LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787
. Lets see how do I fix this to stop starting this notepad desktop.ini from windows 8 start-up and this might be work on Windows 7, Windows XP if you are having same problem.
See also: Disable Startup Programs to Load PC Faster
Fix Desktop.ini Runs on Windows Start-up
Desktop.ini file text
Fix [.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21787
I found few suggestions on the internet but it was not working on Windows 8. Following suggested method I tried to open the startup folder on Windows 8 but unable to open it and getting this error “Location is not available”, not accessible and access is denied.
Method that I am going to suggest you will work on Windows 8.x, 7, Vista, and XP. So, fast and easy solution to get rid from these start up files is to open the location of the file that open on windows start-up and remove them.
- First you need to show hidden files in Windows File Explorer,
Windows 10 : Open File Explorer > File tab > “Change folder and search options”.
Windows 8: Open File Explorer > View Tab > click “Options button on the toolbar”.
Windows 7: Click the Organize menu on File Explorer and on XP open “My Computer” and use the Tools menu. - Once you open the Folder Options window click the View tab, first Select the “Show hidden files, folders and drives” option and secondly uncheck the “Hide Protected operating system files (Recommended)” option. Click the OK button to save the settings.
- Now go back to the file(s) that open on windows start-up, Click on Notepad File menu and select “Save As…” option this will option the location of the this file.
- On the Save As dialog box select “All Files (*.*)” option from the save as type drop-down menu.
- Doing this will display all the files available in the folder and delete the desktop.ini file or any other notepad files that start on Windows startup.
Did you manage to solve this problem on your windows, tell us below in comments.
View Comments (85)
An elegant and quick way to get rid off the problem.
Thank you it works nicely!
Thank you, That method works on win 7, 64 bit, it's easy when you know how :-) Cheers for this blog
its don't work on my win7, when i save as , just nothing happen.. please help
It should display the Save As dialog, which Windows operating system you are using?
works fine.. Windows 7 64-bit
Oh wow.. It was that easy.! :0
Thank you very much! I'm using windows 8
It works nicely. Thank you!
Thank you so much, I am not a computer guy but was confused on the last part once i "Deleted the file" you do not mention should I "Save" or close window? so i didn't Save, just "Deleted" . Closed window and restarted and that annoying message never came back. Great stuff thank you.
Here is another gratefull user of your trick! Would never found it myself. Moreover: I had to destroy two of those irritating files, which showed up after I restored my win 7 system drive. Where they came from is still an enigma.
Thank you very much.
Thank you for a relatively simple solution to an annoyance that I was beginning to think I had to live with. Such a bonus to have it gone. Thank you!
excellent solution
Thanks a lot
yes, thanks alot, windows 7, 32-bit