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
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.
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!
Thanks a lot
yes, thanks alot, windows 7, 32-bit
great work! I really appreciate.
nice. it works on my windows 8.
hats off to you
very easy and nice work.
Saya sudah hapus , setelah saya restart masih muncul juga.. mohon bantuannya..
windows yg saya gunakan 8.1
AWESOME! THANKS FOR HELP. GOD BLESS
Thanks!!!!! The only website to help me with this problem!!!
Thank you Very much…. my problem is solved so easily…I have tried lot of ways but failed…thanks for your post……
Yeah this is 100% helpfull may this is one of the quickest method to get rid of this shit
thanks a lot this worked
Haha..what an easy way to get rid of this mess. Many thanks
I carefully followed the instructions but realized that at the end of the process where a delete option should have been shown instead a caution of replacing an existing file popped up and I selected the yes for replacement. I don’t know if it worked because I am using a PC that operates windows 8 (TOSHIBA).
It works perfectly on my windows 8 PC. Thanks
it worked windows 7 64bit thank u
Great stuff worked for me on windows 8.1 other solutions never worked but this one did much appreciated.
100% working……. thanks for relieving me from this task……. God bless
Great . Its worked on windows 7 ultimate 32bit
thanks, man ! good job !
im using windows 8, I cant easily delete the desktop.ini file because of restrictions so i clicked the right mouse button then properties > security > edit then click on the checkboxes to allow full control and modify.. this solved my problem hope it would help you to
Thanks a mill works good for me Windows 7 64 bits
hey i m using these steps & i got a extra Desktop.ini with Desktop.txt it is also not delete in my directory please help me……
hey i am using these steps and got a extra Desktop.txt it is also not deleting please suggest me…help me….
i have tried your method, but it doesn’t work with Windows 10. Any other ways to solve this problem on Windows 10?
What happened when you follow the steps, would you please tell me which part of the guide isn’t working on Windows 10?
Thank you, Works perfectly. U will found the file in the desktop when u unhide the system files as told by u. nice work keep it up
I also had a similar problem when I upgraded to Windows 10 but my notepad would open to untitled; showing no specific file. It would then have the small box with a similar Access is Denied message as the above but if you closed the error box and tried to save as it would open only the default folder for notepad (windows-system32) with no title of the object it was trying to open originally. I was fairly sure that it was a desktop.ini file somewhere and it didn’t have the rights to open it but I could not track it down. It dawned on me to troubleshoot this by changing the default app for *.ini files from notepad to wordpad to see what would happen. I rebooted and voila, wordpad opened. Not only did it open, it gave me the path of the offending file. I then went to that folder in explorer, gave myself the rights to the file, and then deleted it. Rebooted and all was good. All I had to do then was change my default program for *.ini files back to notepad. I hope this helps someone save all the hours I spent trying to sort this out.
Thank you, finally removed the notepad ‘access denied’ on start up with win10 by deleting the desktop.ini file
hi how ya going i cant seam to figure out how to stop note pad opening on star up windows 10 starts up and has nothing in it just pops up aditional window saying access denied ????? so yeh basics for windows 10 to fix this would be good if any one can help cheers
Start up problem with notepad
It’s working. thank for information
thank you for the help. my problem is solved.
Thanks! It works well with Windows 8 64 bit
this directive is simplistic and accomplishes the riddance of annoying notepad startup. Thank you for your effort.
The fix work on my Windows 8.1 Pro 64bit.. Thanks 🙂
Superb… Really simple and great u r. Thanks!
thanks really work have nice day all
great trick worked with my windows10 OS. THANK YOU SO MUCH
It works well with my windows 8.1
Thanks a lot. Very helpful solution. ^_^
Just I Can Say Thank U
That was wonderful.
Thanks a lot
Was with that Geek Squad for over 2 hrs!!! Went online and solved it in 10 minutes!!! Something is wrong with this scenario. Great Job very well instructed and explained *****
it work very well without problem.
Thank you very much. It worked ….
To resolve your popup issue try this :
* Double Click on My Computer.
* Select Folder Option > View Tab.
* Under the View Tab select Show hidden files and folders.
* And also select Hide protected operation system files.
* Now you will be able to see the hidden destop.ini files.
* Open Windows 7 start orb and at the search type: shell:startup and press Enter.
* Inside the startup folder deleted the desktop.ini file
Now restart your computer. It will not appear again
I can’t manage it in my windows 10.
What happened would you please tell me why you are not managed to follow this guide to fix notepad auto load problem.
Thank you…..it works.
Worked on win8 64 bit thanks
I just ran into this problem today and thanks for this guide I was able to fix it
Thanks a lot. It’s work for me ^_^
all right thanks me it was useful
Thanks it worked on a 64-bit windows 7 Dell Laptop.
Thanks for this info, worked a treat and very easy to fix.
Thanks works perfectly
Effective in the first notepad, but the second notepad says “File Access Denied”
64 bit_windows 8.1
What do you mean by the “second notepad says File Access denied”? Please tell me a little bit more about this.
Thank you so much! Works like a charm. I’m using Windows 10.
nice its very clear instruction, and it works… Nice Job TricksyWays 🙂
It worked perfectly…clean, quick and easy! Thanks a lot…
Worked for me!(Windows10).Thanks a lot!
Thanks so much! helped a lot.
Thank you so much! It really solved the problem.The steps are easy to understand and I can do it straight away by following them 🙂
Great, we try out best to make the guide easy for everyone to understand and perform steps. This is really annoying to see notepad on windows startup and Glad to hear that you fixed the notepad opening problem on your Windows.
Beautiful way to deal with this ! All fixed !
windows 10 64bit worked like a charm!!! thank you !!
Great to hear you successfully fixed the notepad on the start-up problem. If you have any other questions please follow us on Facebook and leave a message, Thanks.
Your trick worked perfectly, well done job
Merci, tuto qui fonctionne très bien aussi sous Windows 11.
Enfin je n’ai plus ce fichier au démarrage.
Good to hear that you are not getting this startup message, enjoy.
It worked for me on win10. It was bothering me so long I decided to google this out yet again.
Interestingly enough I did see other articles saying delete desktop.ini but it had to be a wrong one, not one in startup.