Desktop.ini File in Windows 10: Everything You Need to Know

Everything you need to know about the dekstop.ini file

by Ivan Jenic
Ivan Jenic
Ivan Jenic
Troubleshooting Expert
Passionate about all elements related to Windows and combined with his innate curiosity, Ivan has delved deep into understanding this operating system, with a specialization in drivers and... read more
Reviewed by Alex Serban
Alex Serban
Alex Serban
Windows Server & Networking Expert
After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server... read more
Affiliate Disclosure
  • Though users know about most of the files/folders, the presence of desktop.ini file does surprise many in Windows 10. 
  • Fret not! These files are automatically created by Windows and store the changes made to the layout or similar aspects in a folder.
  • You can always hide the desktop.ini file without affecting the other system files stored on the PC.
all about desktop.ini file in windows 10
XINSTALL BY CLICKING THE DOWNLOAD FILE
To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:

  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

Windows, though a user-friendly OS, often makes changes or throws errors beyond the understanding of regular users. One such is the mysterious appearance of the desktop.ini file in Windows 10.

Many are left wondering what the desktop.ini file in Windows is, whether it’s safe to keep or should be removed, and if there are any ways to hide it. So, let’s find out the answer to these questions.

What is the desktop.ini file in Windows 10?

Windows create the desktop.ini files to store the folder configuration and related data. Simply put, it stores information on how a folder is displayed in Windows. You will find one in every folder and two desktop.ini files on the desktop.

The contents of a desktop.ini file are usually as follows though it differs based on the folder it’s stored in:

[.ShellClassInfo]
[email protected]%SystemRoot%\system32\shell32.dll,-21769
IconResource=%SystemRoot%\system32\imageres.dll,-183
[LocalizedFileNames]
[email protected]_UjPv0oPWiy.png,0
[email protected]_2DCPtGq71a.png,0

These files are automatically created by Windows when you modify the layout or a related setting for a folder to store the changes. Ideally, users shouldn’t be able to see the desktop.ini files since these are hidden by default.

Why do I see the desktop.ini files?

The desktop.ini files can be visible if you recently changed the settings in the Folder Options and set the protected system files to be displayed.

In case you didn’t manually make the change, there’s a likelihood that a third-party app or a recent Windows update made the change, though in both these cases, it can be reverted to the default settings.

Can I delete desktop.ini files?

Expert tip:

SPONSORED

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

Yes, you can delete the desktop.ini files without causing any significant damage to the computer, though it’s not recommended that you do so.

The reason, any changes that were recently made and stored on the desktop.ini file will revert to the initial state. And in case you are only bothered by their presence, there’s a quick way to hide desktop.ini files in Windows.

How to hide the desktop.ini file in Windows?

  1. Press Windows + E to open File Explorer, click on the ellipsis, and then select Options.folder options
  2. Now, head to the View tab, select Don’t show hidden files, folders, or drives under Hidden files are folders, and then tick the checkbox for Hide protected operating system files (Recommended).hide desktop.ini file in windows 10
  3. Once done, click on OK to save the changes.

There you go! This will hide the dekstop.ini files in every iteration of the OS, be it Windows 10 or 11. But it also hides the other system files and protected folders. If you want them to be visible, try the workaround listed next.

How to hide desktop.ini files without hiding the other system files?

Tip icon
Tip
We wouldn’t recommend unhiding the other system files since these are critical to the OS, and any inadvertent change to them can affect the PC’s functioning.
  1. Press Windows + S to open Search, type File Explorer Options, and click on the relevant search result.file explorer options
  2. Now, navigate to the View tab, select Show hidden files, folders, or drives under Hidden files are folders, untick the checkbox for Hide protected operating system files (Recommended), and click OK to save the changes.unhide files
  3. Once the hidden desktop.ini and other system files are visible, right-click on the file/folder that you want to keep visible and choose Properties.properties to fix desktop.ini file windows 10
  4. Untick the checkbox for Hidden, and click on OK.disable hidden
  5. Select Apply changes to this folder, subfolder, and files, and then click OK.apply changes
  6. Finally, wait for the changes to come into effect.attributes
  7. Similarly, unhide all the files/folders that you want to keep visible.
  8. Once done, again open the View tab in Folder Options, select Don’t show hidden files, folders, or drives under Hidden files are folders, tick the checkbox for Hide protected operating system files (Recommended), and apply the changes.hide files

That’s it! Now, while the desktop.ini file in Windows 10 will remain hidden, the chosen system files will be visible and available for access.

Why are there two desktop.ini files on the desktop?

This may come off as a surprise to many, but the desktop is a folder, rather, a combination of two folders, the User-specific desktop and the Public desktop.

Each of these folders has its desktop.ini file to store the configuration data. As a result, you have two such files on the desktop.

You know everything about the desktop.ini file and the steps to hide it in Windows 10. Remember to proceed with caution when dealing with such files since these are critical to Windows.

And while you are here, do not forget to check some easy tips to boost Windows’ performance.

If you have any comments, questions, or suggestions, just let us know in the comments below.

This article covers:Topics: