Set Remote Desktop Services User Home Directory
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Remote Desktop Services > Remote Desktop Session Host > Profiles
Supported on
At least Windows Server 2003

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.

Internal name
TS_USER_HOME
Policy ID
0dfe9a381c8f
Elements
3

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.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Home Dir Root Path:
ID TS_HOME_DIR
text
Path
SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
WFHomeDir
Type
REG_SZ
None
Computer
Location:
ID TS_USER_HOME_LOCATION
enum
Path
SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
WFHomeDirUNC
Type
REG_DWORD
Options: On the Network (1), On the Local machine (0)
Computer
Drive Letter
ID TS_DRIVE_LETTER
enum
Path
SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
WFHomeDirDrive
Type
REG_SZ
Options: G: (G:), H: (H:), I: (I:), J: (J:), K: (K:), L: (L:), M: (M:), N: (N:) … +12 more
Home Dir Root Path:
Computer · Type text
Registry mapping
Path
SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
WFHomeDir
Type
REG_SZ
DetailsNone
Location:
Computer · Type enum
Registry mapping
Path
SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
WFHomeDirUNC
Type
REG_DWORD
Details
Options: On the Network (1), On the Local machine (0)
Drive Letter
Computer · Type enum
Registry mapping
Path
SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
Value name
WFHomeDirDrive
Type
REG_SZ
Details
Options: G: (G:), H: (H:), I: (I:), J: (J:), K: (K:), L: (L:), M: (M:), N: (N:) … +12 more