How to Restart Windows Server 2016 - Reboot Commands

October 22, 2018

Introduction

When a Windows server runs for an extended period of time, applications and operating system features can become unstable.

An unstable operating system might have application crashes, hanging applications, or memory leaks. Sometimes even essential system functions become unresponsive.

A straightforward solution is to restart. This guide will walk you through how to restart Windows Server 2016 with multiple command options.

guide on how to restart windows server 2016

Prerequisites

  • A system running Windows Server 2016
  • Command-line access
  • (optional) a remote server connection
  • (optional) Graphical User Interface installed
  • (optional) Windows PowerShell

Using the Windows Server Restart Command

Restart Windows Server with the GUI

The Windows Server 2016 interface is a GUI, or Graphical User Interface, which simplifies many tasks.

Click the Start menu > Power button > Restart.

How to Restart Windows Server Using Command Prompt

In some cases, you may not have the GUI component installed. Or, your operating system encountered a problem, and all you can access is a command prompt.

Step 1: Open the Command Prompt

1. Press Ctrl+Alt+Del.

2. The system should present a menu – click Task Manager.

3. In the Task Manager window, click More Details.

4. Click the File menu, then click Run new task.

5. In the field, type cmd.exe– then check the box to create the task with administrator privileges. Click OK.

6. A black window with white text should appear.

Step 2: Reboot the Windows Server Operating System

In the Command Prompt window, type the Windows Server restart command, then press Enter:

shutdown –r

The –r option tells Windows to restart, instead of simply shutting down.

Restarting from PowerShell

Windows PowerShell is like a souped-up version of the command prompt. It’s based on the .NET framework, and includes a scripting language. PowerShell is useful for tinkering under the hood of your Windows operating system.

Step 1: Launch PowerShell

1. Press Ctrl+Shift+Esc to launch the Task Manager.

2. Click the File menu, then Run new task.

3. In the prompt, type powershell.exe and tick the box to start with administrator privileges. Click OK.

4. A new window with a dark blue background should launch. You can tell you’re in a PowerShell window if the prompt begins with PS.

Step 2: Restart the System

In the PowerShell window, type the following command and press Enter:

Restart-Computer

By default, you’ll get a 5-second countdown, then the system will restart.

You can add an option to delay the restart for longer than the default 5 seconds:

Restart-Computer –delay 15

Change the number 15 to the number of seconds you wish to delay.

Rebooting a Remote Windows Server with PowerShell

Step 1: Launch PowerShell

If you are in a command prompt enter the command:

PowerShell

The prompt will add PS at the beginning, and your typed commands should appear in yellow.

Step 2: Restart Remotely

In the PowerShell window, type the following:

Restart-Computer –ComputerName “NAME_OF_SYSTEM”

Replace NAME_OF_SYSTEM with the name of the computer you want to restart. Make sure to include the quotation marks.

Note: This assumes that your current credentials are the same as those for the remote system. Typically this might look like a username of an administrator, and the same password for both systems. It can also work if both systems are on the same domain, and your user account has the appropriate permissions.

Conclusion

Restarting a Windows server is very simple, especially via the GUI.

However, even if you are having issues with the GUI or need to restart a server remotely – this guide on How to Restart Windows Server 2016 can help.

Was this article helpful?
YesNo
Sofija Simic
Sofija Simic is an aspiring Technical Writer at phoenixNAP. Alongside her educational background in teaching and writing, she has had a lifelong passion for information technology. She is committed to unscrambling confusing IT concepts and streamlining intricate software installations.
Next you should read
How to Change Administrator Password on Windows Server 2008 R2 or 2012
July 7, 2019

There may come a time when you need to change the admin password on your Windows Server. How to change your...
Read more
How To Install PIP to Manage Python Packages On Windows
February 19, 2019

PIP for Python is a utility to manage PyPI package installations from the command line. This tutorial will...
Read more
How to Flush DNS Cache Locally in Windows, macOS, & Linux
January 8, 2019

DNS cache can be corrupted for a number of different reasons, including network attacks or viruses. When that...
Read more
How to Install MySQL 8.0 in Ubuntu 18.04
December 12, 2018

How to Install MySQL 8.0 in Ubuntu 18.04 MySQL is an open-source relational database server tool for Linux operating systems. It is widely used in...
Read more
  • © 2021 Copyright phoenixNAP | Global IT Services. All Rights Reserved.