How do I set a home directory outside C:\Users for a user in Win7?

I want to set the home directory for a user outside of C:\Users. Currently, the home directory will be on the system drive, but eventually I want to move it to another drive.

These are the steps I've taken:
* Created the user via net user someuser /add
* Created the to-be home directory, c:\someuser
* Assigned the proper permissions and ownership to the home directory (based on what I saw for other home directories, so full control to SYSTEM, Administrators and someuser, and ownership to someuser)

But when I log on with this user, all files and folders are still created in C:\Users\someuser.

I have tried this on both Windows 7 Home Premium and Ultimate, both 64-bit computers. The net user command does not complain, and a "net user someuser" indicates that the home directory is correct (i.e., c:\someuser).

Any thoughts?

Here you go:
  1. Create a System Restore Point.
  2. Log on under an admin account.
  3. Delete the folder C:\SomeUser.
  4. Move the folder c:\Users\SomeUser so that it becomes c:\SomeUser.
  5. Open the registry editor.
  6. Navigate to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
  7. Search for "ProfileImagePath" until you find the one that points at c:\Users\SomeUser.
  8. Modify it so that it points at c:\SomeUser.
  9. Use System Restore in case things go wrong.

11 people found this reply helpful


Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Question Info

Last updated September 3, 2020 Views 43,248 Applies to: