Windows Server 2012 Restart / Shutdown Methods

Published on
39,214 Points
15 Endorsements
Last Modified:
This tutorial will walk through a few ways to restart / shutdown Windows 2012 servers, we will also go through the charm and start options.

Windows Server 2012 uses a Start screen, Start is a window not a menu, programs can have tiles on the Start screen. Tapping or clicking a tile runs the program. When you press and hold or right click on a program an optional panel is displayed.

The charms bar is an optional panel for Start, Desktop and Server Settings, with a mouse and keyboard you can display the charms by moving the mouse pointer over the hidden button in the upper-right or lower-right corner of the Start, Desktop or Server Settings or by pressing the following keyboard combination Windows Key + C

Windows + C
One way to quickly open a program is by pressing the Windows Key and typing the program name, and then pressing Enter. This shortcut works as long as the Apps Search box is in focus which typically by default it is.

Pressing the Windows Key toggles between the Start screen and the desktop or if you are working with Server settings then between the Start screen and the Server Setting. You can also display the desktop by using the following keyboard shortcut Windows Key + D:

Windows + D
You can access Control Panel from Start, from your desktop by accessing charms, click on settings and click Control Panel additionally as Windows Explorer is pinned to the taskbar you can launch Windows Explorer and simply type Control Panel followed by Enter.

Settings Control Panel
Explorer Control Panel

1. Shutdown & Restart using Power Settings Method

Display Start options by sliding in from the right side of the screen or moving the mouse pointer to the bottom right or upper right corner of the screen, click settings

Click Power

Select the appropriate action


2. Powershell Method

Launch an elevated windows powershell window

Type either (Restart-Computer) or (Stop-Computer) to restart or shutdown the server

Note: With Powershell to get help or examples for a cmdlet type (help restart-computer -examples) or (help stop-computer -examples)

3. Pressing the Physical Power Button

You can also press the server's physical power button to initiate an orderly shutdown by logging off and then shutting down. Note this method does not restart a server once the server shuts down you would then have to press the power button to turn the server on.

There are other methods of restarting the server such as DOS, but the purpose of this tutorial is to list the 3 most common methods on restarting or shutting down a server.

If you found this article helpful please vote Yes below!
LVL 58

Expert Comment

Very nice article! Voted "Yes" above.

LVL 16

Author Comment

Thanks Matt! :)
LVL 23

Expert Comment

by:Justin Durrant
Good stuff!
LVL 18

Expert Comment

Additional methods from Run Command or Command Line

Launch Run Window
Windows Logo + R
Type shutdown

You can add other switches
Usage: shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/f]

    [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

    No args    Display help. This is the same as typing /?.
    /?         Display help. This is the same as not typing any options.
    /i         Display the graphical user interface (GUI).
               This must be the first option.
    /l         Log off. This cannot be used with /m or /d options.
    /s         Shutdown the computer.
    /r         Full shutdown and restart the computer.
    /g         Full shutdown and restart the computer. After the system is
               rebooted, restart any registered applications.
    /a         Abort a system shutdown.
               This can only be used during the time-out period.
    /p         Turn off the local computer with no time-out or warning.
               Can be used with /d and /f options.
    /h         Hibernate the local computer.
               Can be used with the /f option.
    /hybrid    Performs a shutdown of the computer and prepares it for fast star
               Must be used with /s option.
    /e         Document the reason for an unexpected shutdown of a computer.
    /o         Go to the advanced boot options menu and restart the computer.
               Must be used with /r option.
    /m \\computer Specify the target computer.
    /t xxx     Set the time-out period before shutdown to xxx seconds.
               The valid range is 0-315360000 (10 years), with a default of 30.
               If the timeout period is greater than 0, the /f parameter is
    /c "comment" Comment on the reason for the restart or shutdown.
               Maximum of 512 characters allowed.
    /f         Force running applications to close without forewarning users.
               The /f parameter is implied when a value greater than 0 is
               specified for the /t parameter.
    /d [p|u:]xx:yy  Provide the reason for the restart or shutdown.
               p indicates that the restart or shutdown is planned.
               u indicates that the reason is user defined.
               If neither p nor u is specified the restart or shutdown is
               xx is the major reason number (positive integer less than 256).
               yy is the minor reason number (positive integer less than 65536).

Expert Comment

by:Kimo Yoshida

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Join & Write a Comment

Did you know PowerShell can save you time with SaaS platforms? Simply leverage RESTfulAPIs to build your own PowerShell modules. These will kill repetitive tickets and tabs, using the command Invoke-RestMethod. Tune into this webinar to learn how…
Watch this online video tutorial to know how one can repair Outlook PST file using ScanPST.exe utility provided by Microsoft. In this video, I have described: What is PST File Major reasons for PST file corruption What is ScanPST.exe and how it h…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month