When a Windows server runs for an drawn-out time period of time, applications and operating system features can become fluid .
An precarious operational organization might have application crashes, hanging applications, or memory leaks. sometimes even all-important system functions become unresponsive.
A aboveboard solution is to restart. This guide will walk you through how to restart Windows Server 2016 with multiple command options.
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 engage system encountered a trouble, 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 windowpane, chink 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 undertaking with administrator privileges. Click OK .
6. A black window with whiten text should appear .
Step 2: Reboot the Windows Server Operating System
In the Command Prompt windowpane, type the Windows Server restart command, then press Enter :
shutdown –r
The –r
option tells Windows to restart, rather of merely shutting down .
Restarting from PowerShell
Windows PowerShell is like a souped-up translation of the command immediate. It ’ s based on the .NET framework, and includes a script linguistic process. PowerShell is utilitarian for tinkering under the hood of your Windows operational system.
Read more: Apollo for Reddit
Step 1: Launch PowerShell
1. Press C trl+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 black blue sky background should launch. You can tell you ’ re in a PowerShell windowpane 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 motivate will add PS at the begin, and your type commands should appear in scandalmongering .
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 lapp as those for the distant arrangement. typically this might look like a username of an administrator, and the same password for both systems. It can besides work if both systems are on the same knowledge domain, and your exploiter account has the appropriate permissions.
Read more: Best Free Karaoke Software for Windows
ending
Restarting a Windows server is very bare, particularly via the GUI .
however, evening if you are having issues with the GUI or need to restart a server remotely – this scout on How to Restart Windows Server 2016 can help .