What Is the Windows Desktop.ini File and Can I Delete It?
You’ll sleep better after reading this
Some people assume the Desktop.ini file is a virus or malware because it sometimes appears suddenly on their PC. Luckily, this isn’t the case, but if you’re wondering what Windows’ Desktop.ini file is, you’ve come to the right place.
In this article, we’ll cover what the Desktop.ini file is, how you can use it, and whether it’s safe to delete.
What Is the Desktop.ini File?
The Desktop.ini file is ahidden configuration filefound in every folder on Microsoft Windows (including Vista and Windows 10/11). Each Desktop.ini file contains the configuration settings for that folder.
The Desktop.ini file is not visible by default as it’s a protected operating system file. If it’s suddenly appearing on your PC, you or another user have changed your folder settings to display hidden folders.
Desktop.ini files are created when specific changes are made to a folder, such as giving it a custom icon or specific sharing settings.
How Can I See the Desktop.ini File?
Desktop.ini files are hidden and protected, so the average user will never encounter them. To make them visible in your folder:
The Desktop.ini file should now appear in any folder where you have altered its configuration or layout.
Can I Delete the Desktop.ini File?
Deleting the Desktop.ini file simply reverts a folder to its default settings. So yes, you can delete the Desktop.ini file. However, if you want to keep the changes you’ve made to a folder’s settings, you can simply hide the Desktop.ini file by reversing the steps we showed you in the previous section.
How to Customize a Folder With the Desktop.ini File
Customizing a Windows folder with the Desktop.ini file is simple. First, you need tohide the folderand label it as an important system folder so that Windows grants it the required read-only attribute that enables special behavior from the Desktop.ini file.
To do so:
Next, you need to create and edit the Desktop.ini file. To do so, you need to create a text file in the folder you would like to customize.
The Desktop.ini file is now ready to be populated with configuration settings. Here are some of the following settings you can use to customize your folder:
For example, here’s a test folder I created with a custom icon and InfoTip:
And here’s the Desktop.ini file used to customize it:
That’s All, Folks
Now you know what the Desktop.ini file is and how you can use it to add custom folder options. While it isn’t particularly useful for most users, it’s always good to know that a mysterious hidden folder isn’t malware evading your antivirus.
Jake Harfield is an Australian freelance writer whose passion is finding out how different technologies work. He has written for several online publications, focusing on explaining what he has learned to help others with their tech problems. He’s an avid hiker and birder, and in his spare time you’ll find him in the Aussie bush listening to the birdsong.Read Jake’s Full Bio
Leave a Reply
Your email address will not be published.Required fields are marked*
Comment*
Name*
Email*
Website
Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.
HomeAbout UsEditorial StandardsContact UsTerms of Use
Copyright © 2008-2024 Help Desk Geek.com, LLC All Rights Reserved