How to enable Remote Desktop via Powershell

Please follow & like us :)

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

Be the first to comment

Leave a Reply

Your email address will not be published.



This site uses Akismet to reduce spam. Learn how your comment data is processed.