Select a product
- Select a category.
Do not allow location redirection
This policy setting lets you control the redirection of location data to the remote computer in a Remote Desktop Services session.
By default, Remote Desktop Services allows redirection of location data.
If you enable this policy setting, users cannot redirect their location data to the remote computer.
If you disable or do not configure this policy setting, users can redirect their location data to the remote computer.
Registry Information
| Vendor | Microsoft |
|---|---|
| Product | Terminal Server |
| Category | Remote Desktop Services › Remote Desktop Session Host › Device and Resource Redirection |
| Applies to | Computer Configuration |
| Supported on | Windows 10 0 21H2 NOSERVER |
| Registry Key | [HKLM]SOFTWAREPoliciesMicrosoftWindows NTTerminal Services |
| Value Name | fDisableLocationRedir |
| 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]
"fDisableLocationRedir"=dword:00000001
; Disable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal Services]
"fDisableLocationRedir"=dword:00000000PowerShell
# Enable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "fDisableLocationRedir" -Value 1 -Type DWord
# Disable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal Services" -Name "fDisableLocationRedir" -Value 0 -Type DWord 