Learn what you can do after connecting to your Windows Server with the Serial Console.
The Serial Console is an emergency solution that is useful when there are problems with the network configuration on the server or if the server is not accessible through Remote Desktop. Popular commands include restarting the server, opening a DOS prompt and accessing text-based applications. Processes, services and error messages can be viewed and killed.
When using the Serial Console, you will often need to establish a Serial Console connection to the server to make changes. To log into the server once connected to the Serial Console, follow the these steps.
Type the cmd command and press ENTER to launch a command prompt channel.
If you receive a "Unable to launch a Command Prompt." message, wait until you receive the "EVENT: The CMD command is now available." notification and try again.
Launch Command Prompt
Hold the <ESC> key and press the TAB key once to switch to the newly created command prompt channel in Serial Console. You should see a screen similar to the image below.
Switch to New Channel
Press ENTER to log into the server and access the command prompt. You should see a screen similar to the one below.
You will now need to log into the machine as the administrator user, or another user with administrative privileges. Using the BACKSPACE key will delete the characters on the screen but the Serial Console will not recognise the deletion of already typed characters. If you make a mistake while entering your login credentials, authentication will fail and the channel will be closed. You will then have to create another command-prompt channel.
Type the Username and press ENTER.
Leave the Domain field empty and press ENTER.
Type the Password (for the administrator user/ user with administrative privileges) and press ENTER.
Enter Login Credentials
If all was typed correctly and the user was authenticated, you will be taken to the server command prompt C:\WINDOWS\system32>
Now you can start and stop services, edit, copy, delete and rename files, disable filter rules and any other actions that can be carried out via command line. You will not be able to start any GUI applications.
The terminal output is limited to 24 lines. If any output is too long to view the full text in the terminal, try the command again and pipe the output to the more command such as: dir C:\WINDOWS\system32 | more . This will show all the current files in the C:\WINDOWS\system32 folder one page at a time.
For additional information, you may want to reference: