Hey there,
During the week I had to remote control the Windows Server machine, for some reason I didn’t have the rights to access the machine via the console through VMware and RDP option was disabled, it was so frustrating! because I had to perform an important task rapidly.
Eventually, I found a way to enable RDP using Powershell command and access to the machine:
Enable RDP Remotely:
First, run this:
Enter-PSSession -ComputerName "MachineName / IP"
Then, run these:
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server' -Name fDenyTSConnections -Value 0 Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name UserAuthentication -Value 1 Set-NetFirewallRule -DisplayGroup 'Remote Desktop' -Enabled True
Hope, it is useful for you