banner



How To Reboot Windows Server Remotely In Command Line

Introduction

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

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

A straightforward solution is to restart. This guide volition 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 Control

Restart Windows Server with the GUI

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

Click the First menu > Power button > Restart.

How to Restart Windows Server Using Control Prompt

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

Stride 1: Open up the Command Prompt

1. Press Ctrl+Alt+Del.

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

3. In the Task Managing director window, click More Details.

four. Click the Filecarte, and so click Run new task.

v. 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 announced.

Step ii: Reboot the Windows Server Operating Organisation

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

          shutdown –r        

The –r selection tells Windows to restart, instead of simply shutting downwards.

Restarting from PowerShell

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

Step i: Launch PowerShell

1. Printing C trl+Shift+Esc to launch the Task Manager.

2. Click the Filebill of fare, then Run new task.

iii. In the prompt, blazon powershell.exeand tick the box to start with administrator privileges. Click OK.

4. A new window with a dark blue background should launch. You lot can tell y'all're in a PowerShell window if the prompt begins with PS.

Step two: Restart the System

In the PowerShell window, type the post-obit command and press Enter:

          Restart-Estimator        

By default, you'll get a five-2nd inaugural, so the system will restart.

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

          Restart-Figurer –delay 15        

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

Rebooting a Remote Windows Server with PowerShell

Step one: Launch PowerShell

If you are in a command prompt enter the control:

          PowerShell        

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

Pace ii: Restart Remotely

In the PowerShell window, type the post-obit:

          Restart-Computer –ComputerName "NAME_OF_SYSTEM"        

Replace NAME_OF_SYSTEM with the name of the reckoner yous 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 organisation. Typically this might look like a username of an administrator, and the same password for both systems. It tin also piece of work if both systems are on the same domain, and your user business relationship has the appropriate permissions.

Decision

Restarting a Windows server is very unproblematic, particularly 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 aid.

Was this commodity helpful?

Aye No

Source: https://phoenixnap.com/kb/how-to-restart-windows-server-2016

Posted by: wilsonthictly.blogspot.com

0 Response to "How To Reboot Windows Server Remotely In Command Line"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel