Benutzer:MovGP0/Core Server/RDP
Zur Navigation springen
Zur Suche springen
MovGP0 | Über mich | Hilfen | Artikel | Weblinks | Literatur | Zitate | Notizen | Programmierung | MSCert | Physik |
|
Install-WindowsFeature Remote-Desktop-Services -IncludeManagementTools
# allow incoming RDP connections
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name 'fDenyTSConnections' -Value 0
# setup network level authentication
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name 'UserAuthentication' -Value 1
# firewall exception
Set-NetFirewallRule -DisplayGroup 'Remote Desktop' -Enabled True
# add user to remote desktop group
net localgroup "Remote Desktop Users" username /add
|}