How to Shut Down Your Windows 10 PC Using Command Prompt

Configurare noua (How To)

Situatie

Using the Command Prompt to turn off your Windows 10 PC provides more options and flexibility than merely using the shutdown option from the Start menu or pressing the power button on your PC. Here’s how it’s done.

Solutie

Shut Down Your PC Using the Command Prompt

Start by pressing the Windows + R keys to open the Run window. From there, type “cmd” in the box and then select the “OK” button.

Run window

This will open the Command Prompt. Here, type shutdown /s .

Type the shutdown command

Once you press Enter, a message will appear letting you know that Windows will shut down in less than a minute. You can select the “Close” button if you like, but this will not affect the shutdown process.

Sign out message

That’s all there is to it. Within the minute, your PC will shut down. There’s also a way of restarting your PC using the Command Prompt if that’s what you prefer.

RELATED: 34 Useful Keyboard Shortcuts for the Windows Command Prompt

Restart Your PC Using the Command Prompt

This process for restarting your PC is nearly identical to shutting down your PC, except you’ll use a slightly different command in the Command Prompt.

Open the Run window by pressing the Windows Key +R keys, type “cmd” in the box, and then select the “OK” button to open the Command Prompt.

Once in the Command Prompt, type shutdown /r .

Restart command

Press the Enter key to proceed. Your PC will now begin the restart process within the next minute.

These are just two of the many different options for shutting down your Windows PC from the Command Prompt. To get a full list of shut down options available to you, type shutdown /? in the Command Prompt and then press Enter. A complete list of switches and respective descriptions will be displayed.

list of shutdown options

Tip solutie

Permanent

Voteaza

(1 din 4 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?