Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - User Profile Folders - Prevent or Allow Location Change

Comment
 

User Profile Folders - Prevent or Allow Location Change

How to Prevent or Allow User Profile Folders Location Change in Vista
Published by Brink
09-12-2008

How to Prevent or Allow User Profile Folders Location Change in Vista


Information
  This will show you how to allow or prevent the default locations of the C:\ Users\(user name) Personal User folders from being changed for all user accounts on the computer. These are the Contacts, Desktop, Documents, Downloads, Favorites, Links, Music, Pictures, Save Games, Searches, and Videos folders.
NOTE
  This is allowed by default in Vista.
RELATED LINKS:EXAMPLE: Personal User Profile Folders
NOTE: Location is at C:\Users\(User Name)
user_folders.jpg
EXAMPLE: Music Folder Properties Set to Allow and Prevent Location Change
NOTE: When prevented the Target location field is still there, but you cannot change it.
allowed_properties.jpgprevented_properties.jpg


METHOD ONE:
Through the Local Group Policy Editor
NOTE
  This method is only available for the Vista Business, Ultimate, and Enterprise editions. See Method Two below for the Vista Home Basic and Home Premium editions.
1. Open the Local Group Policy Editor.

2. In the left pane, click on User Configuration, Administrative Templates, and Desktop. (See screenshot below)
group_policy.jpg
3. In the right pane, right click on Prohibit User from Manually redirecting Profile Folders and click on Properties. (See screenshot above)

4. To Allow User Profile Folders Location Change -
A) Select (dot) Disabled or Not Configured and click on OK. (See screenshot below step 5A)

B) Go to step 6.
5. To Prevent User Profile Folders Location Change -
A) Select (dot) Enabled and click on OK.
gp_properties.jpg
6. Close the Local Group Policy Editor window. Your done.



METHOD TWO:
Through the Registry
NOTE
  This method will work for all Vista versions.
Through a Download:
1. To Allow User Profile Folders Location Change -
A) Click on the download button below to download the
Allow_User_Folders_Location_Change.reg file.

B) Go to step 3.


2. To Prevent User Profile Folders Location Change -
A) Click on the download button below to download the
Prevent_User_Folders_Location_Change.reg file.


3. Click on Save, and save the .reg file to the Desktop.

4. Right click on the .reg file (on Desktop) and click on Merge.

5. Click on the Run button in the Security Warning pop-up.

6. Click on Continue (UAC), Yes, and then OK when prompted.

7. When done, you can delete the .reg file (On Desktop).

The Manual Way:
1. Open the Start Menu.

2. In the white line (Start Search) area, type regedit and press Enter.

3. Click the Continue button for the UAC prompt.

4. In regedit, go to: (See screenshot below)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
reg1.jpg
5. To Prevent User Profile Folders Location Change -
A) In the right pane, right click on a empty area and click on New and DWORD (32-bit) Value. (See screenshot above)

B) Type DisablePersonalDirChange and press Enter.

C) Right click on DisablePersonalDirChange and click on Modify. (See screenshot below)
reg2.jpg
D) Type 1 and click on OK. (See screenshot below)
Name:  Modify.jpg
Views: 3895
Size:  32.6 KB
E) The registry will now look like this. (See screenshot below)
reg3.jpg
F) Go to step 7.
6. To Allow User Profile Folders Location Change -
A) In the right pane, right click on DisablePersonalDirChange and click on Delete. (See screenshot above)

B) Click on Yes to confirm deletion.
7. Close regedit.
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,934
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Comment

Tutorial Tools


Similar Threads
Tutorial Category
User folders being erroneously recreated in default location Vista General
Cannot change location of Document, Music, etc. folders Vista General
changing user folders location in Vista Vista General
Change Location of Mail Folders Vista mail
deleting user profile folders Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46