≡ Menu

How to remove desktop.ini file from your Computer

desktop ini file removal
It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone

Just like thumbs.db, desktop.ini files are created automatically inside your computer. These files are hidden by default. To see desktop.ini files, you need to enable “show hidden files” option under Folder options. It’s natural to feel uncomfortable when you see the desktop.ini everywhere inside the computer. Even if you try to remove the file, it gets recreated once you close and re-open the folder.

What is desktop.ini?

Desktop.ini file carries information regarding a folder’s display settings. For e.g. information regarding the icon, the pop up information that gets displayed when the mouse is moved over a file. It is even possible to edit desktop.ini file and customize an individual folder. You can find desktop.ini files in every folder inside your computer. The only way to reduce the number of these files is to reduce the number of folders inside your computer.

Usually two desktop.ini files are created. One for the administrator account and the other for the local user account.

A quick check on my computer and there are over 627 desktop.ini files in my computer. These files are usually small and don’t take much space. But at times, you can see couple of files which is around 5 MB because the folder may have too many files and it needs to carry lot of information. So you may ignore it knowing that it is a harmless file. But if you think it is a nuisance and needs to be removed for saving precious hard disk space, try the steps below.

How to remove desktop.ini file?

There are free tools which can help in removing these files. But try the simple deletion using command prompt.

  1. Press Windows Key + R for Run window, type cmd for opening command prompt
  2. del /s /ah desktop.ini

This command will quickly remove thumbs.db files from your computer.

How to prevent desktop.ini file from getting recreated?

Try the steps below to prevent the desktop.ini file from getting recreated

  1. Press Windows Key + R for Run window, type regedit. This will open registry editor
  2. On the left side, navigate to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Policies -> Explorer
  3. Right click on Explorer folder, click New, click DWORD
    desktop ini removal
  4. Rename the new DWORD to UseDesktopIniCache
    desktop ini removal
  5. Double click and set the value to 0
    desktop ini removal

Use the comment section for any queries or feedback.

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on VKShare on RedditPrint this pageEmail this to someone

About the author: Anup Raman A Tech Enthusiast|Blogger|Tech Trainer with 10+ yrs experience in the field of IT. My expertise are in Operating Systems, mainly Windows and Computer security which comes from my experience, working as Tech Support and Trainer for Microsoft, Symantec and McAfee. Loves blogging about Technical Troubleshooting, discussing latest Gadgets, Games and doing Reviews.

{ 13 comments… add one }
  • Bjarne Bak Jun 18, 2017, 8:28 pm

    Seen this trick earlier on and have used it several times. It actually works … for a while, but since M$ is doing so many updates on Win10 the effect only last until next update. That’s what I have experienced anyway. But I have a question for you. You write ‘Rename the new DWORD to DesktopIniCache’, but your screen shot shows differently. Which is it?
    Cheers
    Bjarne

    • Anup Raman Jun 19, 2017, 4:23 am

      My sincere apologies for making the mistake. A big thanks for pointing it out, considering how an incorrect entry in registry can make the computer crash or behave abnormally.

      I have corrected the entry as “UseDesktopIniCache”. Thanks again.

      • Bjarne Bak Jun 20, 2017, 2:11 pm

        Hi Anup
        Thanx for a swift reply. Thumbs up.
        Cheers
        Bjarne

  • vivek Jan 30, 2017, 3:32 pm

    does this work for windows 10 64 bit also

  • Terry Havard II Dec 12, 2016, 5:33 pm

    THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!

  • Gilbert Nov 27, 2016, 11:01 am

    Great job!!!! Removed the .ini thingie that was such a menace….. 😊 kudos!!!

  • Eunice May 16, 2016, 6:48 pm

    Very helpful! Thank you so much!

  • Charlie Gee Mar 10, 2016, 10:24 am

    Thank you for sharing your knowledge it has worked a treat. Good luck to you.

  • Rizwanahamed C A Mar 7, 2016, 1:15 pm

    Thanks.. It is very helpful. Thanks again.

  • reza Dec 15, 2015, 8:43 am

    it is really effective………..

  • Aravinda Dec 5, 2015, 3:32 pm

    Thank you very much for sharing the knowledge. It was very useful and worked well. Wish you all success in IT.

  • jorge morales Oct 2, 2015, 2:43 pm

    it was awesome!…my pc reborn. tkns.

Leave a Comment

Show Buttons
Hide Buttons