Disable creation of desktop.ini files in Windows 8

Anonymous
2013-07-23T03:54:32+00:00

Hi all,

I want to know if it is some way to disable creation of desktop.ini files, at least in the desktop system folder.

I knew that in XP there was a DWORD key that should be created to avoid creating all desktop.ini files in the computer.

I don't want the desktop.ini folder features (icon personalization, remembering the last view options in each folder, etc)

So I don't want to hide the desktop.ini files. I want to remove them and avoid Windows 8 creating again and again.

If Microsoft disabled this personalization that was present in older version of Windows and now is not available (to disable creation of desktop.ini files) just say it. If there is some other registry key to be created or modified, please advise.

Thank you

Pablo.

Windows for home | Previous Windows versions | Email and communications

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
Answer accepted by question author
Anonymous
2013-07-23T23:51:43+00:00

Hi Pablo,

I would like you to inform that Desktop.ini is a system file which deals with common folders such as Downloads, Documents, Pictures, and Music etc. When a change is made in these folders, Desktop.ini is updated.

Removing the file will cause issues with the Operating System and so it is not recommended to remove the files. The desktop.ini file by default has the System, Hidden and Read-only attributes assigned.

If you want to stop these messages, go to Folder Options through Search click settings and you will see Folder Options, click it and the View tab and scroll until you see " Hide protected operation system files (recommended) and put a check in the box.

Hope this answers your query. You can write back to us for further queries/issues related to windows and we will be glad to assist you further.

Was this answer helpful?

30+ people found this answer helpful.
0 comments No comments

58 additional answers

Sort by: Oldest
  1. Anonymous
    2015-08-06T06:37:28+00:00

    This worked perfectly with Windows 10, while still being able to view hidden files I needed to see. Thanks and hopefully people start listening to people like you, who know what they are talking about. Many Thanks

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-12-02T17:53:59+00:00

    thank you mahesh

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-05-15T16:39:23+00:00

    I would like you to inform that Desktop.ini is a system file which deals with common folders such as Downloads, Documents, Pictures, and Music etc. When a change is made in these folders, Desktop.ini is updated. Duh

    Removing the file will cause issues with the Operating System and so it is not recommended to remove the files. The desktop.ini file by default has the System, Hidden and Read-only attributes assigned. Duh

    If you want to stop these messages, go to Folder Options through Search click settings and you will see Folder Options, click it and the View tab and scroll until you see " Hide protected operation system files (recommended) and put a check in the box. Duh

    Hope this answers your query. You can write back to us for further queries/issues related to windows and we will be glad to assist you further. LOL

    Dear Mahesh,

    I hope you found meanwhile a better job than answering clearly stated questions with utterly useless and misleading answers. Cannot imagine Microsoft would continue to pay for junk like that. I recommend a job at a Darjeeling tea plantation. Good stuff and not intellectually challenging.

    Take care.

    Folks - Just put the following in a byebye.reg file, run it and then delete old ini files as you like:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] 

    "UseDesktopIniCache"=dword:00000000

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2016-07-17T02:16:51+00:00

    Disable The Creation Of New Desktop.ini Files On Your Windows Computer

    Open NotePad, or other programming code editor

    (Do not use Office Word, nor any other Word Processor)

    For Newer versions of Windows, Add the following three

    lines of code.

    +++++++ DO NOT USE THIS LINE

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\

    CurrentVersion\Policies\Explorer]

    "UseDesktopIniCache"=dword:00000000

    +++++++ DO NOT USE THIS LINE

    Make sure that there is no blank line above the line...

    Windows Registry Editor Version 5.00


    For older versions of Windows, substitute the line....

    REGEDIT4

    ...instead of the first line

    Windows Registry Editor Version 5.00


    Make sure that the second line of code...

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\

    Windows\CurrentVersion\Policies\Explorer]

    ...is all one one line of code,

    without any blank spaces in it,

    and without any hyphens/dashes in it.

    I have broken the second line of code

    onto two separate lines above,

    and I have broken it in two different places

    each time I posted it,

    because if I try to post it as one line for you,

    this goofy forum without the ability to post 'code',

    adds a hyphen at the end of its second line,

    wherever it breaks apart the last word

    it displays on its second line.

    If, in your editor, you see the second line of code

    being continued onto a third line in your editor,

    make sure that is is being continued onto that third line

    by being 'wrapped' onto the third line,

    and that the second line of code is Not being broken

    at the end of the second line with a 'line break'

    before continuing onto the third line of your editor.

    Make sure that my third line of code is using

    proper double-quotation marks

    that point straight up and down, like these [" "]

    and Not double-quotation marks

    that are on an angle, like these [“ ”],

    otherwise, it will Not work.

    Save the file with any name you like,

    but use the extension ".reg" (without the double-quotation marks).

    Even if you are seeing the saved file with the extension ".reg",

    make sure that it was not if fact saved with the extension ".reg.txt",

    which could be the case, and you will have no way of knowing it,

    if you still have Windows set to to its default option of

    "Hide extensions for known file types".

    In other words, open your 'Control Panel' > 'Folder Options',

    ('File Explorer Options' for Windows 10),

    click on the tab "View",

    remove the check-mark for "Hide extensions for known file types"

    and click the bottom button "OK".

    Go back to the folder with your new file,

    and if it ends in ".reg.txt", delete the ".txt".

    Double click on the file to 'Merge' it into your registy.

    ==================

    To undo this change, edit the file again,

    and change the last '0' of...

    00000000

    to a '1', so that the number is

    00000001

    Save the file, and double-click on it

    to begin the merge.

    [Tested with Windows 8.1 64-bit, fully updated, 2016.07.16]

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments