What is a Desktop.ini File?

by Allen Wyatt
(last updated March 22, 2021)

1

When you turn on the display of hidden files on your system, one of the files you may see over and over again is called Desktop.ini. This file is used to hold customization information for the folder in which it is stored. The customization information controls how that particular folder is displayed by Windows.

You may also see one (or more) Desktop.ini files on your actual desktop. These are no different than ones you may see in other folders as your browse around. The reason they are visible on your desktop (besides the fact that you've turned on the display of hidden files) is that the desktop, to Windows, is nothing more than another folder.

You can, if you desire, delete any Desktop.ini files you see. Doing so won't "break" Windows in any way. The only thing it will do is return the display of that particular folder to its default. If you are unsure of how that will change the appearance of the folder, just rename the Desktop.ini file to something else (just change the file extension, if you want) and restart Windows. If you are fine with how the folder looks when you view it, then delete the file.

 This tip (13305) applies to Windows 7, 8, and 10.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Repeating Table Rows with Manual Page Breaks

Need to make sure part of a table is on one page and part on another? The way to do so is not to use manual page breaks, ...

Discover More

Inserting the Subject in Your Document

One of the properties you can specify for a document is a subject. You can then use a field code to insert this subject, ...

Discover More

Wrong Values Merged from Excel

When you use an Excel workbook as a data source for your merged document, you may be surprised if what is merged doesn't ...

Discover More
More WindowsTips

Turn Off/On Window Snap

Windows allows for a system window to "snap" to certain areas of your screen. You can easily turn this feature on or off.

Discover More

Using the System Information Tool

Need to lift the hood and look into the inner workings of Windows? One place you can do this easily is through the System ...

Discover More

Changing the Size of Start Screen Tiles

The Start screen can serve as your launching pad for whatever programs you use on your system. If your Start screen ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five minus 4?

2021-05-13 23:14:20

John

When you rename folders from within search results, the folder doesn't really get renamed. Instead, a desktop.ini file is created, which specifies the new name.
For all intents and purposes you may not notice that the folder hasn't really been renamed, and that it has a faux name. However, if the desktop.ini files are deleted, then the folder names will revert.
At this point, you may not notice that your folder names have all reverted. However, later when you go to find something, you will end up discovering this excellent feature, which Microsoft, in it's infinite wisdom, decided would be for everybody's best interest.
So, this is another effect of deleting desktop.ini files and should be taken into account, particularly if you are someone who manages their folders through searching and renaming.


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.