1) Enable Remote Desktop

set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server'-name "fDenyTSConnections" -Value 0

2) 在firewall允许RDP进入

Enable-NetFirewallRule -DisplayGroup "Remote Desktop"

3) 关闭 secure RDP authentication

set-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -name "UserAuthentication" -Value 0

 

来源

===============

How to enable Remote Desktop remotely using Powershell

http://networkerslog.blogspot.com/2013/09/how-to-enable-remote-desktop-remotely.html

相关文章:

  • 2021-07-11
  • 2022-12-23
  • 2021-12-15
  • 2021-06-14
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-18
  • 2021-11-02
  • 2021-09-04
  • 2021-09-05
  • 2022-02-03
  • 2021-06-11
相关资源
相似解决方案