I've come across two variants of this. The first is when the personalised folders stop working (e.g. Stuart's Music insists on displaying as My Music). The second is when 'special' folders refuse to show their proper name, e.g. I've had Shared Documents become My Documents and refuse to change back.
Corrupt or missing desktop.ini
First a bit of background. The special folder status works using a little hidden system file called desktop.ini. That file lives in the folder in question and tells Windows what's special about the folder. If this file goes missing or gets corrupted then the folder misbehaves.
Each desktop.ini has basically the same structure so it's fairly easy to fix. If the file has got deleted then you can either create a new one by hand, or copy it from an existing folder and then edit it.
To display the desktop.ini you have to make it visible by opening the folder in question and click Tools > Folder Options... and then selecting View. Then select Show hidden files and folders and uncheck Hide protected operating system files (Recommended). You'll get a warning when you do the second step but just say Yes.
When you click on OK the desktop.ini file should appear ready for you to fix.
Because this is a hidden file it will appear slightly pale, and it should have an icon of a notepad with a gear on it, indicating that it's a configuration file.
Depending on what "special" folder you want you need to type different text in the file.
Copy and paste the chunk you need from the list below. Where the line says Owner=<ownername> you should type your name in place of <ownername>.
I found this solution originally on this site, and this is my write up of it!
My Documents
[DeleteOnCopy]
Owner=<ownername>
Personalized=5
PersonalizedName=My DocumentsMy Music
[DeleteOnCopy]
Owner=<ownername>
Personalized=13
PersonalizedName=My Music
[.ShellClassInfo]
InfoTip=@Shell32.dll,-12689
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-237My Pictures
[DeleteOnCopy]
Owner=<ownername>
Personalized=39
PersonalizedName=My Pictures
[.ShellClassInfo]
InfoTip=@Shell32.dll,-12688
IconFile=%SystemRoot%\System32\mydocs.dll
IconIndex=-101My Videos
[.ShellClassInfo]
InfoTip=@Shell32.dll,-12690
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=-238
[DeleteOnCopy]
Owner=<ownername>
Personalized=14
PersonalizedName=My VideosFavorites
[.ShellClassInfo]
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-173
LocalizedResourceName=@shell32.dll,-12693Shared Documents
[.ShellClassInfo]
LocalizedResourceName=@shell32.dll,-21785Shared Music
[.ShellClassInfo]
InfoTip=@Shell32.dll,-12689
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=-237
LocalizedResourceName=@shell32.dll,-28995Shared Pictures
[.ShellClassInfo]
InfoTip=@Shell32.dll,-12688
IconFile=%SystemRoot%\system32\mydocs.dll
IconIndex=-101
LocalizedResourceName=@shell32.dll,-28997Shared Videos
[.ShellClassInfo]
InfoTip=@Shell32.dll,-12690
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=-238
LocalizedResourceName=@shell32.dll,-28996The [.ShellClassInfo] tells Windows where to find the appropriate description and is a pointer in to the registry. That's how they make Windows work in different languages. The section beneath [DeleteOnCopy] tells Windows that if the special folder is copied it should remove this section. So if you copy "My Pictures" to another location the personalisation gets removed. I accidentally did this when I backed up everything to a hard disk by copying the folders over!
When you're done don't forget to hide the desktop.ini files again by reversing the Tools > Folder Options... step!
Special folder still won't behave
This seems to be a fairly obscure problem - I only ever had it happen once and it had me stumped for ages. I struggled to find anything on the web, but eventually located the answer hidden in the Microsoft Knowledgebase KB326459.
The desktop.ini file tells Windows what to do with a special folder, but there's a trick... Windows only goes looking for desktop.ini if the folder is marked as read-only.
If the read-only setting gets turned off then Windows doesn't even check to see if desktop.ini exists! I guess Microsoft are using this is a shortcut to say "there's something special about this folder, look for desktop.ini". The read-only setting has no effect on whether the contents of the folder are read-only or not.
What happened to me is that Shared Documents became My Documents even though it had the correct desktop.ini in it!
You can't access the read-only property of a folder from the Windows desktop, you have to go via the command line. So, if this happens to you start a command prompt (Start > All Programs > Accessories > Command Prompt) and change to the parent of the folder in question. Then enter the command
attrib +r <foldername>Where <foldername> is the name of the problem folder. This restores the hidden setting. Exit the command prompt, log off and back on and the problem should be fixed!
You might find these Microsoft Knowledgebase items helpful too:
How to modify your folder view settings or to customize a folder (KB812003)
Your view settings or customizations for a folder are lost or incorrect (KB813711).
Comments
More Misbehavior
What would cause XP Explorer to forget view settings? I have explorer set up in "Details" view. I take advantage of XP's ability to customize the various columns by "personalizing" all the folders to show certain information relating to that particular type of folder. For example, "My Music" folder has columns for Name, Size, Date Modified, Album Title, Duration and Bit Rate; "My Pictures" has Name, Size, Date Modified, and Dimensions. However, often I'll open Windows Explorer and find that many of the folders have forgotten those settings and either reverted to "plain jane" settings (Name, Size, Type) or now include other columns that I didn't put there, such as Dimensions in the My Music folder, or Bit Rate in the My Pictures folder.
I'm running XP Home Media Center Edition, with SP2, so the OS should be set up to remember 5000 folder settings. In addition, I've gone into the Registry to modify the settings that govern how many folders XP remembers - HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell - and reset the BagMRU Size setting to 8000 (see http://www.kellys-korner-xp.com/xp_tweaks.htm, #2 on that list). I'm certain I haven't set more than 8000 folders to my desired views. I've ensured that "Remember each folder's view settings" is checked.
So I guess here's my questions: When Microsoft says "folder settings", does that simply mean the view (Thumbnails, Icons, Tiles, List, Details)? If so, does that mean that it won't remember the details columns? Also, is this behavior specific to "Special Folders"? Because I've seen it in other folders that I've created as well. What else can I do to make Windows XP Explorer remember what I set it to display?
yeah, i have the same
yeah, i have the same problem. how to solve?
my desktop.ini files won't show up
hi!
i tried choosing "Show hidden files and folders" and unchecking "Hide protected operating system files (Recommended)." but the desktop.ini files still won't show up... would you know why?
It might have got deleted
Sometimes
desktop.inican actually get deleted completely. If that happens simply create a new one using notepad or a similar text editor.if i had only known before....
i was having the same issue as stuart, but i decided to reinstall, unfortunatly it only solved half the problem...i got back my pictures folder, but not my videos folder!! now i wish i would have known before the reinstall!
Thank you so much! The
Thank you so much! The attrib information solved my problem!
A Lifesaver
You have just saved me hours of work! Many, many thanks!
desktop.ini and read-only attribute
of all the pages documenting the desktop.ini and moving the "Shared Documents" folders (e.g. videos, pictures, music), none that I found gave this tidbit of information regarding the read-only attribute. Furthermore, the fact that a right-click in explorer shows a read-only attribute to set YET this attribute doesn't have the same effect as setting it from the command-line is amazing. Thank you so much for the instruction to use the command-line to set the read-only attribute!
Sometimes desktop.ini can
Sometimes desktop.ini can actually get deleted completely. If that happens simply create a new one using notepad or a similar text editor.