You need to restart a Windows server in a domain remotely because it seems to be stuck and you cannot remotely connect to it via RDP.
1. Open cmd.exe and execute 2 commands below.
ping server_name shutdown /r /m \\server_name /t 0/
2. You may get the error below.
server_name: A system shutdown is in progress.(1115)
3. Download and extract PSTools.
4. Open cmd.exe and execute 3 commands below.
cd C:\Users\admin\Downloads\PSTools pskill \\server_name winlogon pskill \\server_name TrustedInstaller