How do I set the user profile back to default location?

0

I changed entries in regedit a couple years ago when I installed a ssd to have my user account on a different drive. That drive is failing and even if I create a new account, the new account ends up on the failing drive. I don't have the original instructions on how I did it, so I could reverse it. I would like to put the user profile back on the os drive like intended by ms. Help!

Brian

Posted 2015-07-17T04:30:46.353

Reputation: 1

Answers

0

The registry key that has to be changed is

HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS NT\CurrentVersion\ProfileList\ProfilesDirectory The default value is %SystemDrive%\Users and can be changed to a specific path (without %SystemDrive%), like for instance U:\usr\unix\cygwin\home.

To move the remaining content of C:\users you have to open "Start -> Control Panel -> Folder Options" and select the "Show Hidden files, folders, and drives" option in the "View" tab. This will make a "default" subdirectory visible in the C:\users directory. Now most of the content of C:\users can be copied to the new destination (but not all the files of the active user).

For the "default" and "public" subdirectories the following keys need to be set to point to the new location:

HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS NT\CurrentVersion\ProfileList\Default HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS NT\CurrentVersion\ProfileList\Public On Windows 7 (and probably other versions) the procedure does only affect accounts created after changing the ProfilesDirectory setting. For all other accounts the location of the Desktop, Documents and other standardized directories have to be changed manually, which is, of course, also possible without changing the registry. These locations are: Contacts, Desktop, Documents, Downloads, Favorites, Links, Music, Pictures, Saved Games, Searches, Videos and Virtual Machines.

For accounts created earlier one should also use %windir%\system32\compmgmt.msc (Computer Management) to change the location of the home folder local path under the "Profile" tab. This will, however, not automatically change the location of Desktop, Documents and other standardized directories.

EntMobSec

Posted 2015-07-17T04:30:46.353

Reputation: 577