Why do I have two desktop.ini files on my windows 8 desktop?

29

4

When I try to delete one of these two shortcuts, a message appears saying, "If you remove this file, Windows or another program may no longer work correctly."! I don't think that it is possible to keep same named files into a single directory. Is this any malware or anything harmful for my PC?

Reza Mamun

Posted 2014-10-12T10:52:36.580

Reputation: 392

Answers

34

One of them is in the “All Users” profile (%PUBLIC%\Desktop). One of them is in your profile (%USERPROFILE%\Desktop). They are both hidden system files. If you want them to disappear, you’ll have to set Windows Explorer to hide them. This is also the default setting.

To change this setting, open Control Panel, search for “Folder Options”, open it. In the “View” tab, find “Hide protected operating system files”.

Nothing “malware” about this, this is perfectly normal behavior.

Daniel B

Posted 2014-10-12T10:52:36.580

Reputation: 40 502

2can you be more specific please, what's their exact role and purpose? i analyzed their content but didn't fully understand what they actually do. – None – 2014-10-12T11:25:37.627

5

By default, they contain information on where to get the icon and localized folder name. On regular folders, where the “Customize” tab is available in their properties, these settings are stored in desktop.ini too. Here’s some more (albeit old) info.

– Daniel B – 2014-10-12T11:31:10.050

6They aren't critical at all – the message when deleting is the same for all hidden system files. I usually delete them because they make my desktop look untidy. :) – ntoskrnl – 2014-10-12T18:10:09.877

2@johnsmith That should be a question of its own, not a comment on another question. – Mr Lister – 2014-10-12T20:31:05.843

2@johnsmith Oh, and you should do an internet search first, really. – Mr Lister – 2014-10-12T20:32:35.113

4@ntoskrnl It’s likely they’ll appear again. You might also lose the folder icons and names (on non-English systems) if you delete them. Setting Explorer to hide protected system files is a better solution. You don’t need them every day, after all. – Daniel B – 2014-10-12T20:55:00.177

They don't reappear very often, and folder icons are not very important. But you are right, I typically set up systems with that option enabled as well, because if a user needs to access such files, they should know how to disable it. – ntoskrnl – 2014-10-12T21:39:17.033

0

You can have two files of the same name, but if you move them around it might mess up their icons as they both will start moving

Jason

Posted 2014-10-12T10:52:36.580

Reputation: 1