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
| Vendor | Microsoft |
|---|---|
| Product | Terminalserver Server |
| Category | Application Compatibility |
| Applies to | Computer Configuration |
| Supported on | TS_SUPPORTED_Windows7_Server |
| Registry Key | [HKLM]SOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesTSAppSrvVirtualIP |
| Value Name | PromptOnIPLeaseFail |
| 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 ServicesTSAppSrvVirtualIP]
"PromptOnIPLeaseFail"=dword:00000001
; Disable the policy
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows NTTerminal ServicesTSAppSrvVirtualIP]
"PromptOnIPLeaseFail"=dword:00000000PowerShell
# 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 