...

How to enable Remote Desktop via Powershell

how-to-enable-remote-desktop-via-powershell

Here is a quick post showing you how you can enable Remote Desktop via Windows Powershell

  1. Open a Windows power shell CLI window
  2. If enabling on the local server you can go to step 3, if you need to connect to a remote computer type: Enter-PSSession -ComputerName vmad1.vmlab.local
  3. Set-ItemProperty -Path ‘HKLM:SYSTEM\CurrentControlSetControl\Terminal Server’ -Name fDenyTSConnections -Value 0

Below is a screen shot of the commands

Microsoft Powershell Disable Firewall
Microsoft Powershell Disable Firewall

The post How to enable Remote Desktop via Powershell appeared first on SYSADMINTUTORIALS IT TECHNOLOGY BLOG.

Discover more from WIREDGORILLA

Subscribe now to keep reading and get access to the full archive.

Continue reading