Safely Remove Desktop.ini in Windows 7

Do you have a lot desktop.ini files on your desktop and you wonder how to remove the files or if it’s even safe to remove it?
Remove desktop.ini in Windows 7

What is the desktop.ini file?

The desktop.ini file includes information where some of the folder icons and other system-related resources are stored. So, yes, you should not simply delete them as the message implies that you receive when you try to delete the desktop.ini:
If you remove this file, Windows or another program might no longer work correctly

Let’s take a look at the content of a typical desktop.inf file:


Why are there two or more desktop.ini files on my desktop?
There can be multiple desktop.ini files on your desktop. One is for your own account C:\Users\(user name)\Desktop and the other one for the public folder C:\Users\Public\Desktop

This is very normal and nothing to worry about!

How can I safely remove the desktop.ini from my Windows 7 desktop?

This is very easy.

1. Step Open the Windows Explorer
2. StepClick on Organize and then on Folder and search options

Folder and search options

3. Step Go to the tab View and scroll down.
4. Step Check the option Hide protected operating system files and click on Apply:

Hide protected operating system files

Yes, there is no other way to “remove” the files. They are system files that are simply required and you can only hide them. Removing them is actually a very bad idea. If you already deleted them, follow the next step.

I accidentally deleted the desktop.ini file – what now?

No worries! If you delete the desktop.ini file somewhere on your hard drive, some of your folder icons will use the default icons instead of the original one. Let’s say you deleted the desktop.ini file inside the Downloads library folder, then you will simply see the default folder icon instead of the Download folder icons.

Here’s a list of the original desktop.ini files of the public folders in Windows 7. Simply copy and paste the content into a text file and save it as a desktop.ini file (select all files from the dropdown when you save the file) inside the specific Public folder.

If you need any other desktop.ini files, please post below and I will post them for you on request.


Users/Public/Public Documents

Users/Public/Public Downloads

Users/Public/Public Music

Users/Public/Public Pictures

Users/Public/Public Recorded TV

Users/Public/Public Videos

3.7 of 5 0 (73%) 3 votes
- Cheers!

Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:

Get Free Help

Connect With Our Site:



Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link ( and save money at the same time:

2 Responses to Safely Remove Desktop.ini in Windows 7

  1. Orange Community Approved Comment:
    ASIF said:


  2. Orange Community Approved Comment:
    Jireh said:

    Can you Post all of the windows 7 desktop.ini files? Because I accidentally deleted all of them before i checked if I should delete them or not. thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *