There are these random desktop.ini files appearing on my computer...

Anonymous
2018-01-22T23:24:39+00:00

I have currently 2 files listed as desktop.ini on my computer. When I try to delete them, a message pops up saying this might harm Windows. Is it safe to https://learn-attachment.microsoft.com/api/attachments/b309f15a-dc5a-42a6-b6a4-d24d43dfbebf?platform=QnA

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2018-01-23T00:23:47+00:00

    You should not delete them.

    A Desktop.ini file is a file that determines the way a folder is displayed by Windows. These files can be found in any folder, anywhere on your computer, as long as that folder has a custom appearance set for it. Desktop.ini files control things like the icon used for that folder and its localized name.

    Deleting them will always regenerate them anyway. If you don't want to see them, turn off show hidden files and folders in File Explorer > View tab > uncheck hidden files.

    110 people found this answer helpful.
    0 comments No comments
  2. Sumit 42,791 Reputation points Volunteer Moderator
    2018-01-23T03:00:07+00:00

    You accidentally have shown hidden files.

    Open File Explorer>View> Uncheck Hidden Files.

    This should make the files go away.

    90 people found this answer helpful.
    0 comments No comments