【问题标题】:Script in PowerShell to enable all RDS services on a desktop windows platform在 PowerShell 中编写脚本以在桌面 Windows 平台上启用所有 RDS 服务
【发布时间】:2021-12-14 19:00:51
【问题描述】:

我需要知道 RDS 需要哪些服务才能在桌面 windows 平台上运行,以及如何编写 powershell 脚本来启用它们

【问题讨论】:

  • 请提供足够的代码,以便其他人更好地理解或重现问题。

标签: powershell amazon-rds


【解决方案1】:

在 Windows 操作系统上启用远程桌面

这是在工作站或服务器上启用/禁用远程桌面服务的注册表项。

#Enable RDP : 1 = Disable ; 0 = Enable
    Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0

至于执行此操作的脚本,请看这里... How to programmatically set Unidentified Networks to be a Private or Public Network Location on Windows 10?

【讨论】:

    猜你喜欢
    • 2021-12-22
    • 1970-01-01
    • 1970-01-01
    • 2021-11-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多