- Select a category.
Use mandatory profiles on the RD Session Host server
This policy setting allows you to specify whether Remote Desktop Services uses a mandatory profile for all users connecting remotely to the RD Session Host server.
If you enable this policy setting, Remote Desktop Services uses the path specified in the "Set path for Remote Desktop Services Roaming User Profile" policy setting as the root folder for the mandatory user profile. All users connecting remotely to the RD Session Host server use the same user profile.
If you disable or do not configure this policy setting, mandatory user profiles are not used by users connecting remotely to the RD Session Host server.
Note:
For this policy setting to take effect, you must also enable and configure the "Set path for Remote Desktop Services Roaming User Profile" policy setting.
Registry Information
| Vendor | Microsoft |
|---|---|
| Product | Terminal Server |
| Category | Remote Desktop Services › Remote Desktop Session Host › Profiles |
| Applies to | Computer Configuration |
| Supported on | At least Windows Server 2003 with Service Pack 2 |
| Registry Key | [HKLM]SOFTWAREPoliciesMicrosoftWindows NTTerminal Services |
| Value Name | WFDontAppendUserNameToProfile |
| Type | REG_DWORD |
| Enabled value | 1 |
| Disabled value | 0 |
Registry File (.reg)
Windows Registry Editor Version 5.00
; Enable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"WFDontAppendUserNameToProfile"=dword:00000001
; Disable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"WFDontAppendUserNameToProfile"=dword:00000000PowerShell
# Enable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "WFDontAppendUserNameToProfile" -Value 1 -Type DWord
# Disable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "WFDontAppendUserNameToProfile" -Value 0 -Type DWord 