Still haven't found a way to fix this programatically
Recursively deleting the FolderType value might be a good start.
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting
http://www.winhelponline.com
I should update that...
Here's an easier way to find the bag number(s) for the folders that doesn't
involve downloading
RegMon (still a great program!!!)
1) Close all explorer windows, then open and close any folder which is NOT
misbehaving (this
'clears' explorer's memory and ensures the view data will be written to the
registry).
2) Start regedit & navigate to:
"HKCU\Software\Microsoft\Windows\ShellNoRoam\Bags"
export this key to a file for backup and then delete the key.
3) Open and close the problem folder(s) via a shortcut or My Computer
toolbar added to taskbar --
it's important that you don't browse to the folder in question via other
windows.
4) Go back to regedit & press 'F5' to refresh the view. You should now see
the 'Bags' key recreated
with one or more numbered subkeys, one for each folder you opened.
5) Note the numbers of these keys, then merge the backup of the 'Bags' key
you exported earlier.
6) Proceed with step 8 in the original instructions. Most of the time,
simply deleting the
'FolderType' value is sufficient, it will be recreated with the correct
value.
--
Good Luck,
Keith
Microsoft MVP [Windows XP Shell/User]
Ramesh said:
Common Tasks Don't Match Folder Type
http://www.kellys-korner-xp.com/xp_common_tasks.htm
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting
http://www.winhelponline.com
Hi, my problem is that my Drive C:\; Program Files; Windows folders are
displayed either in Music Files Folder Template or Photo Album Folder
Template how can I restore them back to Document Folder Template without
Resetting all by folders?