Policy
Set Remote Desktop Services User Home Directory
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
Specifies whether Remote Desktop Services uses the specified network share or local directory path as the root of the user's home directory for a Remote Desktop Services session. To use this setting, select the location for the home directory (network or local) from the Location drop-down list. If you choose to place the directory on a network share, type the Home Dir Root Path in the form \\Computername\Sharename, and then select the drive letter to which you want the network share to be mapped. If you choose to keep the home directory on the local computer, type the Home Dir Root Path in the form "Drive:\Path" (without quotes), without environment variables or ellipses. Do not specify a placeholder for user alias, because Remote Desktop Services automatically appends this at logon. Note: The Drive Letter field is ignored if you choose to specify a local path. If you choose to specify a local path but then type the name of a network share in Home Dir Root Path, Remote Desktop Services places user home directories in the network location. If the status is set to Enabled, Remote Desktop Services creates the user's home directory in the specified location on the local computer or the network. The home directory path for each user is the specified Home Dir Root Path and the user's alias. If the status is set to Disabled or Not Configured, the user's home directory is as specified at the server.
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 |
|---|---|---|---|
Home Dir Root Path: ID TS_HOME_DIR | text | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\WFHomeDir Type REG_SZ | None |
Location: ID TS_USER_HOME_LOCATION | enum | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\WFHomeDirUNC Type REG_DWORD | Options: On the Network (1), On the Local machine (0) |
Drive Letter ID TS_DRIVE_LETTER | enum | HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\WFHomeDirDrive 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.