Policy
Set user home folder
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting allows you to specify the location and root (file share or local path) of a user's home folder for a logon session. If you enable this policy setting, the user's home folder is configured to the specified local or network location, creating a new folder for each user name. To use this policy setting, in the Location list, choose the location for the home folder. If you choose “On the network,” enter the path to a file share in the Path box (for example, \\ComputerName\ShareName), and then choose the drive letter to assign to the file share. If you choose “On the local computer,” enter a local path (for example, C:\HomeFolder) in the Path box. Do not specify environment variables or ellipses in the path. Also, do not specify a placeholder for the user name because the user name will be appended at logon. Note: The Drive letter box is ignored if you choose “On the local computer” from the Location list. If you choose “On the local computer” and enter a file share, the user's home folder will be placed in the network location without mapping the file share to a drive letter. If you disable or do not configure this policy setting, the user's home folder is configured as specified in the user's Active Directory Domain Services account. If the "Set Remote Desktop Services User Home Directory" policy setting is enabled, the “Set user home folder” policy setting has no effect.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Path: ID HOME_PATH | text | HKLM\Software\Policies\Microsoft\Windows\System\HomeDir Type REG_SZ | None |
Location: ID USER_HOME_LOCATION | enum | HKLM\Software\Policies\Microsoft\Windows\System\HomeDirLocation Type REG_DWORD | Options: On the network (1), On the local computer (0) |
Drive letter ID DRIVE_LETTER | enum | HKLM\Software\Policies\Microsoft\Windows\System\HomeDirDrive Type REG_SZ | Options: G: (G:), H: (H:), I: (I:), J: (J:), K: (K:), L: (L:), M: (M:), N: (N:) … +12 more |
Other policies in this category
Explore related policies at the same level.
- ComputerAdd the Administrators security group to roaming user profilesAt least Windows Server 2003 operating systems or Windows XP Professional
- UserConnect home directory to root of the shareWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerControl slow network connection timeout for user profilesAt least Windows 2000
- ComputerDelete cached copies of roaming profilesAt least Windows 2000
- ComputerDelete user profiles older than a specified number of days on system restartAt least Windows Vista
- ComputerDisable detection of slow network connectionsAt least Windows 2000
- ComputerDo not check for user ownership of Roaming Profile FoldersAt least Windows Server 2003 operating systems, Windows XP Professional Service Pack 1, or Windows 2000 Service Pack 4
- ComputerDo not forcefully unload the users registry at user logoffAt least Windows Vista
- ComputerDo not log users on with temporary profilesAt least Windows 2000
- ComputerDownload roaming profiles on primary computers onlyAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerEstablish timeout value for dialog boxesWindows Server 2003, Windows XP, and Windows 2000 only
- UserExclude directories in roaming profileAt least Windows 2000