+5 votes
64 views
Shutdown command Windows 11 | How to use

in Windows11 by (551k points)
reopened | 64 views

1 Answer

+3 votes
Best answer

1 Shutdown command Windows 11 | How to use to shut down Windows
2 Shutdown command Windows 11 | How to use remotely
3 Shutdown command Windows 11 | How to use to restart Windows
4 Shutdown Command Windows 11 | How to use to log out
5 Shutdown Command Windows 11 | How to use to hibernate Windows
6 Shutdown Command Windows 11 | How to use to access firmware (BIOS/UEFI)
7 Shutdown Command Windows 11 | How to use to access Advanced Options

The computer has become the most used device in the day-to-day life of many users, who frequently make use of it for both personal and professional issues, so it is important that we know the options and configurations offered by our operating system. , in order to get the most out of the possibilities it offers..

 

 

Shutting down or restarting Windows 11 is a task that we do every day when we finish our workday or when an update task is required, although we do this from the Windows Start button, it is possible to use the shutdown command to perform various tasks Associated with shutting down and restarting the system, this is a command developed in order to create criteria for shutting down or restarting Windows 11 and TechnoWikis will explain in detail how to use it and thus manage the system from there.

 

 

To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE

 

 


1 Shutdown command Windows 11 | How to use to shut down Windows

 

Step 1

Shutdown in its essence is to turn off the system but there are certain extra tasks that we can implement, we open the terminal as administrator:

 

image

 

Step 2

We turn off the system by adding a time for it:
 shutdown /s /t "time" 
image

 

Step 3

This time is represented in seconds so that to turn it off without waiting we use the value 0, when pressing Enter we will see a message indicating how long Windows will turn off:

 

image

 

To stop the shutdown we execute:

 shutdown /a 
Step 4

We will be notified that the shutdown was cancelled:

 

 

 

image

 

With the following command it is possible to shut down Windows without waiting or warning:

 shutdown /p 
To shut down Windows forcing all applications to close without prior notice we will use the command:
 shutdown /s /f 
step 5

To turn off Windows adding some specific reason we execute:
 shutdown /s /dp:#minor:#major /t (time) 
image

 

step 6

When pressing Enter we will see the message indicating as soon as the system will be turned off:

 

image

 

step 7

Windows 11 will shut down or restart if /r is used instead of /s:

 

image

 

Some of the values ​​available to use are:

  • 0 0 Other (not planned)
  • 0 0 Other (not planned)
  • 0 0 Other (planned)
  • 0 5 Other error: the device does not respond
  • 1 1 Hardware: maintenance (not planned)
  • 1 1 Hardware: maintenance (planned)
  • 1 2 Hardware: installation (planned)
  • 1 2 Hardware: installation (planned)
  • 2 2 Operating system: recovery (unplanned)
  • 2 2 Operating system: recovery (planned)
  • 2 3 Operating system: update (planned)
  • 2 4 Operating system: reconfiguration (unplanned)
  • 2 4 Operating system: reconfiguration (planned)
  • 2 16 Operating system: service pack (planned)
  • 17 OS: hotfix (unplanned)
  • 2 17 Operating System: Hotfix (Planned)
  • 2 18 Operating system: security fix (not plan.)
  • 2 18 Operating System: Security Fix (Planned)

 

It is possible to use the letter "u" to indicate an unplanned reason..

 

step 8

To stop the shutdown run:
 shutdown /a 
image

 

To see the assigned reason we open the Event Viewer:

 

image

 

step 9

In Windows Logs - System" we can locate the ID associated with the shutdown or restart:

 

image

 

step 10

To turn off Windows displaying a message to the user, we execute:
 shutdown /s /t (time) /c "message" 
image

 

step 11

We will see the message with the text when pressing Enter, to stop the shutdown execute:
 shutdown /a 
image

 


2 Shutdown command Windows 11 | How to use remotely

 

Step 1

It is possible to shut down a computer remotely using Shutdown, for this in the terminal as administrator we execute:
 reg add HKLM\Software\Microsoft\windows\CurrentVersion\Policies\system /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f 
image

 

Step 2

To turn off the remote computer we use the syntax:
 shutdown /s /m \\Remote_IP /t (time) 
image

 

 


3 Shutdown command Windows 11 | How to use to restart Windows


Restarting the system is another of the frequent tasks in Windows 11 and with Shutdown it is simple to do.

 

Step 1

To restart our system we open the terminal as administrator and we restart the system adding a time for it:
 shutdown /r /t (time) 
image

 

Step 2

We will see a message indicating how much Windows will restart:

 

image

 

Step 3

To stop the restart we execute:
 shutdown /a 
image

 


4 Shutdown Command Windows 11 | How to use to log out

 

Step 1

Another of the actions to be carried out constantly in Windows 11 is to close the session and to avoid doing this from the Start button we can open the terminal and execute:
 shutdown /L 
image

 

Step 2

Pressing Enter will close the session:

 

image

 

Step 3

After this we will be on the lock screen where we can log in:

 

image

 


5 Shutdown Command Windows 11 | How to use to hibernate Windows


The hibernation of Windows 11 will turn off the hard drives to avoid inappropriate use of it in long periods of time in which we do not work with the computer, to hibernate Windows we open the terminal as administrator and execute:
 shutdown /h 
image

 


6 Shutdown Command Windows 11 | How to use to access firmware (BIOS/UEFI)


This is a special command with which it is possible to directly access the device's firmware and there perform tasks related to the internal configuration of the device.

 

Step 1

To access this we open the terminal as administrator and execute:
 shutdown /r /fw 
image

 

Step 2

We will see the following message when pressing Enter:

 

image

 

Step 3

The system will reboot to access the firmware:

 

image

 

Step 4

After a moment we will see the firmware environment:

 

image

 

step 5

There after it will be possible to start Windows 11:

 

image

 


7 Shutdown Command Windows 11 | How to use to access Advanced Options


The advanced options in Windows 11 give us the possibility to manage and use tools and other options of the system, boot, updates and more.

 

Step 1

To access these options with Shutdown we open the terminal as administrator and execute:
 shutdown /r /o 
image

 

Step 2

We will see the message:

 

image

 

Step 3

Windows 11 will restart:

 

image

 

Step 4

The advanced environment is prepared:

 

image

 

step 5

Windows will restart in advanced mode:

 

image

 

These are the options that we can use with Shutdown to shut down or restart the computer in a few steps.

 


by (3.5m points)
edited

Related questions

+4 votes
1 answer
asked Dec 8, 2022 in Windows11 by backtothefuture (551k points) | 65 views
+3 votes
1 answer
asked Jul 6, 2023 in Windows11 by backtothefuture (551k points) | 52 views
+3 votes
1 answer
asked Nov 28, 2022 in Windows11 by backtothefuture (551k points) | 59 views
+5 votes
1 answer
+5 votes
1 answer
asked Oct 19, 2022 in Windows11 by backtothefuture (551k points) | 49 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users