What is Desktop.ini file in Windows? How to remove and why?

You may have seen the Desktop file format.ini everywhere in Windows 10, whether desktop, images, music or other directories. This file continues to occur, despite the fact that we never use. Thus, the file becomes a mystery to us and increases our curiosity with his presence, and why it appears in all folders, and what the file is.

What is his task?

All that ends with the extension .ini – is inert and immobilized and bears a descriptive function in the form of a script. Desktop.ini – a Windows system file that is designed to display settings, appearance settings, various folders and shortcuts to files in all the system Windows directory (created by the system itself). In her view each of the folders you can customize on your own (change the shortcut), give it some special properties (rights, access) or deny them.

Desktop.ini virus?

In any case. He appears when you’ve changed the default configuration directory (the desktop is the same folder as the rest), giving the shortcuts and files a form different from that by default. However, one point exists – if the file Desktop.ini is displayed when setting the options to Hide system files and folders, we have a virus masquerading as a system file.



How to hide it?

The file will be shown to the user only in cases when the option to show hidden system files active. Turn it off if it’s not necessary.

A sequence of actions (step by step):

  1. open Explorer;
  2. the menu item “File“;
  3. subparagraph “To change the settings folder and search“;
  4. tab “View“;
  5. check to the left of “Hide protected operating system files“;
  6. activate the option “Don’t show hidden files, folders, and drives“.

Confirm application change settings the buttons at the bottom of the window in the following sequence:

  1. To apply“;
  2. OK“.

The file will remain, but will be invisible.

How to remove desktop.ini from the desktop?

It is not recommended to remove desktop.ini from the desktop. Although, if you delete the desktop.ini, no serious damage will be caused to the computer. In any case, it’s safer just to hide them.

The settings directory will be reset to “default”. For you it may not be convenient. And I’m not just talking about the look: the “factory” settings to return everything setup for folders. But if you decided to remove, after that try to change the settings again and you will see that the file Desktop.ini on the spot.

What you can do with the Desktop file.ini ?

You can look at it and practice editing the file. Select the folder you created personally and give it the properties of the system. Create a file called desktop.ini with Notepad inside the folder and make it hidden. You can directly through Properties. Save the encoded file Unicode Big Endian for correct display of the Cyrillic alphabet.

In the document field, you can enter this code:

  • [.ShellClassInfo] – the system assigns the ownership rights of the directory which allow you to change its properties using the desktop file.ini
  • ConfirmFileOp – will help to avoid a system alert message of the type “You are about to delete the folder that contains the system files…” if you delete the folder that contains the desktop file.ini.
  • IconFile – if you want to give the folder a special icon, it’s time to write her name. The path you need to specify correctly and completely, if the image is in another directory. Here there are nuances, but now without details. So, I pointed out the system (exists in Windows since time immemorial) folder with a bunch of little icons. For modern versions of Windows, this is mauvais ton, but for example suitable.
  • IconIndex – suffix for IconFile. “0” means that the file naming attributes IconFile there is only one file, containing the icon; in our case, the function is useless (I’m speaking to another directory), because I just dropped
  • InfoTip is a text string with a descriptive folder about the function. This message will appear when you hover over the folder of the mouse.

Unfortunately, the official document from Microsoft on setting attributes using the destop.ini is poor and outdated, however this file is not as simple as it seems.

So the system is no longer a desktop.ini

  • keyboard combination Win and R open a line for entering commands;
  • print regedit;
  • click Enter;
  • in the registry editor, the user must branch:


  • click the right mouse button in the right part of the window (list of parameters);
  • the item “To create“;
  • subparagraph “DWORD (32-bit)“(including and for 64-bit OS);
  • parameter name: UseDesktopCache;
  • the value of the parameter and leave the zero (as default);
  • close the editor window;
  • delete the file in all directories where it is not needed.

In the future, the system will not generate desktop.ini. The OS will continue to work as before (in most cases).

WARNING! All links in the articles may lead to malicious sites or contain viruses. Follow them at your own risk. Those who purposely visit the article know what they are doing. Do not click on everything thoughtlessly.


0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments

Do NOT follow this link or you will be banned from the site!
Would love your thoughts, please comment.x

Spelling error report

The following text will be sent to our editors: