Here is a quick post showing you how you can enable Remote Desktop via Windows Powershell
- Open a Windows power shell CLI window
- 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
- Set-ItemProperty -Path ‘HKLM:SYSTEM\CurrentControlSetControl\Terminal Server’ -Name fDenyTSConnections -Value 0
Below is a screen shot of the commands

The post How to enable Remote Desktop via Powershell appeared first on SYSADMINTUTORIALS IT TECHNOLOGY BLOG.
Discover more from WIREDGORILLA
Subscribe to get the latest posts sent to your email.