Partager via


Como habilitar/desabilitar o Remote Desktop (Terminal Service) remotamente

Para modificar as opções de Terminal Services no Windows Server 2008 proceda conforme abaixo:

1) Para habilitar a opção "Allow connections from computers running any version of Remote Desktop (less secure)" modifique as 2 chaves do registry conforme abaixo:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"UserAuthentication"=dword:00000001

2) Para habilitar a opção "Allow connections only from computers running Remote Desktop with Network Level Authentication (mode secure)" modifique as 2 chaves do registry conforme abaixo:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"UserAuthentication"=dword:00000000

3) Para desabilitar o Remote Desktop/Terminal Service, ou seja, marcar a opção "Don't allow connections to this computer" modifique as 2 chaves do registry conforme abaixo:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"UserAuthentication"=dword:00000000

Para habilitar modificar as opções do Remote Desktop/Terminal Services no Windows Server 2003 ou Windows XP proceda conforme abaixo:

1) Para habilitar modifique a chave do registry fDenyTSCOnnections de 1 para 0 conforme abaixo:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000000

1) Para desabilitar modifique a chave do registry fDenyTSCOnnections de 0 para 1 conforme abaixo:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server]
"fDenyTSConnections"=dword:00000001

RD_2008_02.jpg