How to Enable Remote Desktop (RDP) Remotely?

 How to Enable Remote Desktop (RDP) Remotely?

How to Enable Remote Desktop (RDP) Remotely? – TheITBros

Enable-PSRemoting

Hint. If you need to enable RDP on several remote computers at once, you can use the following PowerShell script:

$comps = “Server1”, “Server2”, “Server3”, “Server4”

Invoke-Command –Computername $comps –ScriptBlock {Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Control\Terminal Server" -Name "fDenyTSConnections" –Value 0}

Invoke-Command –Computername $comps –ScriptBlock {Enable-NetFirewallRule -DisplayGroup "Remote Desktop"}

Comments

Popular posts from this blog

How to step by step in detail install ssh on cachyos

Reset Login and Password for Web on ZimaOS

The error "Failed to update AutoStart - VMware Workstation