fortypoundhead.com

Reset Shell Folders Default Paths

Posted On 2008-08-20 by FortyPoundHead
Keywords:
Tags: Software Hack/Tweak Tip Windows XP Windows 2000
Views: 3112


Windows stores the location of per-user special folders under the following registry key:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
Some software, such as TweakUI, can modify these default settings, causing incomplete or incorrect information to be displayed on the desktop, start menu, as well as other places. For example, you can use this information to point the "Shared Documents" folder to a network share. This would be done in order to provide a common directory for all users.

You can use the information in the table below to reset the default locations of the User Shell Folders:

Shell Folder Path
AppData %USERPROFILE%\Application Data
Cache %USERPROFILE%\Local Settings\Temporary Internet Files
Cookies %USERPROFILE%\Cookies
Desktop %USERPROFILE%\Desktop
Favorites %USERPROFILE%\Favorites
History %USERPROFILE%\Local Settings\History
Local AppData %USERPROFILE%\Local Settings\Application Data
Local Settings %USERPROFILE%\Local Settings
My Music %USERPROFILE%\My Documents\My Music
My Pictures %USERPROFILE%\My Documents\My Pictures
Nethood %USERPROFILE%\NetHood
Personal [My Documents] %USERPROFILE%\My Documents
PrintHood %USERPROFILE%\PrintHood
Programs %USERPROFILE%\Start Menu\Programs
SendTo %USERPROFILE%\SendTo
Start Menu %USERPROFILE%\Start Menu
Startup %USERPROFILE%\Start Menu\Programs\Startup
Templates %USERPROFILE%\Templates


Instead of making changes on a per user basis, you can also use this information on a per-machine basis. Navigate to this key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
and use the table below for the proper settings for each entry:

Shell FolderPath
Common AppData%ALLUSERSPROFILE%\Application Data
Common Desktop%ALLUSERSPROFILE%\Desktop
Common Documents%ALLUSERSPROFILE%\Documents
Common Programs%ALLUSERSPROFILE%\Start Menu\Programs
Common Start Menu%ALLUSERSPROFILE%\Start Menu
Common Startup%ALLUSERSPROFILE%\Start Menu\Programs\Startup
Common Templates%ALLUSERSPROFILE%\Templates


After updating the above entries, you need to refresh the shell. This can be done by killing the Explorer.exe process, and running a new copy, or simply rebooting.

Also, you'll need to move your files manually from the old location to the new location.


About the Author

FortyPoundHead has posted a total of 1974 articles.

 


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.198.108.19

Before you can post, you need to prove you are human. If you log in, this test goes away.




Recent Forum Posts

VBScript Formatting String Text
Williamhawk posted on November 21, 2017 at about 2:54 in VBScript

Is There a Media Player for Linux Which Can Play
Williamhawk posted on November 21, 2017 at about 2:50 in Linux Help

Advanced search added
dwirch posted on September 23, 2017 at about 13:44 in Site News

Job Spammer: Gaurav Mehta - AgreeYa Solutions
dwirch posted on September 22, 2017 at about 10:35 in Spammers

Job Spammer: Prutha Siri - Javelin Systems
dwirch posted on September 10, 2017 at about 6:15 in Spammers

New security implemented
dwirch posted on September 7, 2017 at about 7:16 in Site News