[SOLVED] Set a home directory outside C:\Users in Win7?

Status
Not open for further replies.

Windows22

Prominent
Dec 30, 2020
173
17
585
I attempted 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 help, and a "net user someuser" indicates that the home directory is correct (i.e., c:\someuser). Any thoughts?
 
Solution
Why move the /Users/ folder?

This for a previous Win version, but it is NOT a good idea to do so.

USAFRet

Titan
Moderator
Why move the /Users/ folder?

This for a previous Win version, but it is NOT a good idea to do so.
 
Solution
Moving the entire \Users tree is absolutely one of the worst things you can do. It's a great way to kneecap Windows. Instead, you can redirect select directories by following a specific set of instructions:
 

USAFRet

Titan
Moderator
Instead, you can redirect select directories by following a specific set of instructions:
In fact, that is not even needed today.

Software and Windows has gotten really good at working with multiple drive letters.
Even though I wrote 2 tutorials (Win 7 & 8, and 8.1 & 10) on how to do this, I've not seen ANY need for it in the last several years.

Generally, software will default to the last place (drive or folder) you saved to.
 
In fact, that is not even needed today.

Software and Windows has gotten really good at working with multiple drive letters.
Even though I wrote 2 tutorials (Win 7 & 8, and 8.1 & 10) on how to do this, I've not seen ANY need for it in the last several years.

Generally, software will default to the last place (drive or folder) you saved to.
I read the request as wanting to redirect the user's profile to another location. That being the case the linked procedure is how it's got to be done.
 
I don't recommend moving the location of the user folders either, because if you mess it up, it becomes very hard to fix it. I've seen posts where people accidentally set a whole partition as the location, which is effectively unrecoverable outside of making a new account and deleting the old one.

Just save data to another drive. If you need to block other user accounts from accessing the folders, set up permissions.
 
Status
Not open for further replies.