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: Most helpful
  1. Anonymous
    2017-01-12T14:42:58+00:00

    I keep reading crap like this and have to chime in. 

    Why do people want to answer questions when they have no clue what they are talking about?

    Why do people evade a direct question, in this case how do i stop the useless creation of desktop.ini

    and also leave my system files visible? 

    I see all kinds of useless posts in this thread that dont work and also are wrong and misleading.

    I just get fed up with searching google for a quick fix and having to read through post after post where the

    question is perfectly phrased and a bunch of boneheads post useless answers. 

    To any and all people who feel inclined to answer a technical post and dont have a good answer.

    1. Read the original question and if you have to take out an old school pencil and paper and write down the 

    pertinent information regarding the nature of the question.

    1. Make sure your answer is concise and usable by the major public and correct
    2. Make sure you have answered the question and not dancing around the issue making it look like you know something.

    For anyone who wants to prove the statements about desktop.ini, go ahead and delete it and you will see essentially nothing happens. Why the F Microsoft insists on allowing annoying things like this into their operating system is beyond me. I'm sure there is a better way to do this. 

    All I want, for my own peice of mind is how to quickly and accurately STOP the creation of files that are useless as desktop.ini. For anyone who has taken the time to read this rant, dont download anyone home made fixer tools, they are probably full of malicious code. 

    Dont freak out when making a registry change, Microsoft used to issue such strong warnings about messing with the registry if you are not Microsoft certified.. More crap.. Just keep track of what you did and back it out if you find it to be causing issues.. Granted some registry changes can cause major havoc and system crashes.. but not as many as one would think. I feel that if the registry key has a name that looks ominous.. dont mess with it.

    So much nonsense out here it just pisz me off to read such crap. I feel sorry for non techies trying to figure this stuff out.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. 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
  3. Anonymous
    2014-01-03T21:26:27+00:00

    Hi,

    I reloaded an image and did a quick test... Since I already had desktop.ini files on my desktop, I couldn't test as to whether this regedit would prevent them...

    The deleted ones didn't return, but they didn't return without the regedit either...

    As I mentioned, everything on my desktop was unchanged after deleting them...

    However... I created a new empty folder on my desktop, which had the standard folder icon, and ended up containing no desktop.ini file...

    I changed the standard folder icon to a STOP icon. This created a desktop.ini file in the folder.

    I then deleted the desktop.ini file in the empty folder, and the STOP icon disappeared and was replaced with the standard folder icon..

    BTW... the batch file I created from your info did in fact create the registry key in Win 8.1.

               I modified it slightly from your article... basically I left out some blank spaces to get this....

    REGEDIT4

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

    "UseDesktopIniCache"=dword:00000000

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2013-09-19T07:28:07+00:00

    Have you found the solution ?

    I need to see all hidden system files and folders, it help to locate viruses etc, but i hate to see this Desktop.ini allover.

    I found how to disable thumbs.db. see if u could use it. create new .reg file and paste this there and merge it.

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]

    "DisableThumbsDBOnNetworkFolders"=dword:00000001

    There has to be registry tweak to disable Desktop.ini generation

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments