Problem:  After deploying a Server OS through MDT, by default I don’t have the ability to RDP onto it

Solution:  A quick and easy powershell script added to the deployment will fix this for you.  Here’s one I created earlier…
Script to enable RDP on servers after deployment
Author:  Jonathan
Version: 1.0.0
Function Enable-RDP
$HKLM1 = "HKLM:SystemCurrentControlSetControlTerminal Server"
$HKLM2 = "HKLM:SystemCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp"
Set-ItemProperty -Path $HKLM1 -Name "fDenyTSConnections" -Value 0
Set-ItemProperty -Path $HKLM2 -Name "UserAuthentication" -Value 0



0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *