If you trying to connect to a server via RDP and you get the below error
“Remote logins are currently disabled”
To Fix this issue Run the below commands from another server.
Description: The user is attempting to log on to a Terminal Server where an administrator has disabled logon by issuing the CHANGE LOGON /DISABLE command. In order to enable logon, the CHANGE LOGON /ENABLE command must be issued.
You would require the help of psexec utility to gain access to the command prompt of the desired server.
You the below syntax:
psexec.exe “\SERVERNAME\ change logon /enable
Overview of the CHANGE LOGON Command
The change logon command uses the following syntax:
change logon /enable | /disable | /query