GPO tool

Group Policy made searchable

A free ADMX browser or comparison tool for IT administrators. Search policies, find registry keys, and see exactly what each setting writes to the Windows Registry. Or compare two GPO backups to see exactly what has changed between them.

Select a product
  • Select a category.

Do not use Remote Desktop Session Host server IP address when virtual IP address is not available

This policy setting specifies whether a session uses the IP address of the Remote Desktop Session Host server if a virtual IP address is not available.

If you enable this policy setting, the IP address of the RD Session Host server is not used if a virtual IP is not available. The session will not have network connectivity.

If you disable or do not configure this policy setting, the IP address of the RD Session Host server is used if a virtual IP is not available.

Registry Information

VendorMicrosoft
ProductTerminalserver Server
CategoryApplication Compatibility
Applies toComputer Configuration
Supported onTS_SUPPORTED_Windows7_Server
Registry Key[HKLM]SOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesTSAppSrvVirtualIP
Value NamePromptOnIPLeaseFail
TypeREG_DWORD
Enabled value1
Disabled value0

Registry File (.reg)

Windows Registry Editor Version 5.00

; Enable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesTSAppSrvVirtualIP]
"PromptOnIPLeaseFail"=dword:00000001

; Disable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesTSAppSrvVirtualIP]
"PromptOnIPLeaseFail"=dword:00000000

PowerShell

# Enable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesTSAppSrvVirtualIP" -Name "PromptOnIPLeaseFail" -Value 1 -Type DWord

# Disable the policy
Set-ItemProperty -Path "HKLM:SOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesTSAppSrvVirtualIP" -Name "PromptOnIPLeaseFail" -Value 0 -Type DWord