Wednesday, October 5, 2016

How to solve black screen issue when logging to Windows Server Core through RDP

Today I had to do some maintenance tasks on a server with Windows Server Core OS. I logged onto server through RDP, but command prompt didn't show up. I disconnected RDP session then connected back, but that didn't solve the issue. Obviously the command prompt was gone and on server core there is nothing more when you connect to it.
This is how I solved the issue:
1. Ran this command to get logged on users and respective session IDs
QWINSTA /server:SERVERNAME
2. Ran this command to log off my session:
LOGOFF SESSIONID /server:SERVERNAME
I reconnected through RDP and command prompt was there, so I could perform my maintenance tasks.

No comments:

Post a Comment