banner



How to use shutdown command tool on Windows 10

Although, on Windows ten, you can conveniently sign out, shut down, restart, or hibernate your reckoner from the Start bill of fare or Lock screen, the system also includes the shutdown.exe tool that allows you lot to perform the same ability operations through Control Prompt.

It is besides a more powerful tool since, in addition to the common tasks, the control-line tool supports more advanced options, including the ability to record the reason for the event, display custom letters to the stop-user, and even use the tool close down and restart remote devices.

Yous tin can utilize this tool at whatsoever time. However, it will usually come in handy if you spend most of your fourth dimension in the Command Prompt terminal, you need to create a script that involves restarting the estimator, or you are making system changes, and you want to record a reason for the restart or shutdown event.

In this Windows ten guide, we volition walk you lot through the different means you lot can use the shutdown.exe control-line tool to shut downwards and restart local and remote computers.

  • How to plough off calculator with shutdown control
  • How to turn off remote computer with shutdown control
  • How to restart computer with shutdown command
  • How to sign out session with shutdown control
  • How to hide computer with shutdown command
  • How to kick in firmware mode with shutdown command
  • How to access the Advanced boot options with shutdown command
  • How to abort computer ability off operation with shutdown control

How to plow off figurer with shutdown command

To shut down the computer manually with Command Prompt, apply these steps:

  1. Open Starting time.
  2. Search for Command Prompt, right-click the top result, and select the Run as ambassador option.
  3. Blazon the following control to gracefully shut downwardly the device after one minute and press Enter:

    shutdown /due south

  4. Type the post-obit control to close downward the device after a specific time and press Enter:

    shutdown /due south /t Fourth dimension

    In the command, replace TIME for the second to await before the device begins the shutdown process.

    For example, this command turns off the computer later 5 seconds:

    shutdown /s /t 5

    Shutdown with timeout command Source: Windows Central

    Quick tip: You tin also use "0" for the time for shutdown immediately. If the time is greater than nil, and then the /f option will be applied automatically.

  5. Type the post-obit control to close down the computer without waiting or warning and press Enter:

    shutdown /p

  6. Blazon the following command to shut downwards, forcing all apps to close without warning, and printing Enter:

    shutdown /due south /f

In one case you consummate the steps, the computer will execute the shutdown process depending on your specified options.

Shut downwards specifying reason

To plow off the device recording a specific reason, employ these steps:

  1. Open Outset.
  2. Search for Command Prompt, correct-click the acme result, and select the Run as administrator option.
  3. Blazon the following control to include a reason for the shutdown and press Enter:

    shutdown /s /d p:MAJOR-NUMBER:MINOR-NUMBER

    In the command, modify the MAJOR-NUMBER:MINOR-NUMBER for the numbers that stand for the reason. You tin can find out all the available major and pocket-size reason numbers by running the shutdown /? command.

    For case, this command shuts downwards the device, recording the "Operating System: Service pack (Planned)" reason:

    shutdown /south /t 1 /d p:2:xvi

    You tin also switch the /due south for the /r choice if you lot want to specify a reason for the restart in the command. Hither's how:

    shutdown /r /t 1 /d p:2:16

    Shutdown command with reason Source: Windows Central

  4. Type the following command to power off the estimator specifying a reason as unplanned and press Enter:

    shutdown /due south /t ane /d u:2:16

    The above control will close down the device, recording the "Operating System: Service pack (Unplanned)" reason.

Afterward you complete the steps, the Windows 10 device will shut downwards and log the specified reason.

You can ever view the shutdown logs in Effect Viewer > Windows Logs > Organization and look for the "Information" event with the User32 source and with the "Event ID" of 1074.

Shut down with custom dialog bulletin

To shut down a computer showing a dialog message alerting the user of the activeness, apply these steps:

  1. Open Start.
  2. Search for Command Prompt, correct-click the height result, and select the Run equally administrator option.
  3. Blazon the following command to shutdown device showing custom dialog bulletin and press Enter:

    shutdown /southward /t Time /c "Bulletin"

    In the control, supervene upon TIME with the number of seconds before shutting down the computer, and supersede MESSAGE with the custom text you want to brandish to the user.

    For example, this command displays the "Updating XYZ visitor app" before shutting down the computer afterwards 1 minute:

    shutdown /south /t threescore /c "Updating XYZ company app."

    Shutdown command with dialog message Source: Windows Central

    Y'all can likewise switch the /south for the /r option if you want to show a bulletin for the restart in the command. Hither'southward how:

    shutdown /r /t 60 /c "Updating XYZ visitor app."

Once you complete the steps, Windows 10 volition display the "Updating XYZ visitor app" message to the user and power off the computer afterward threescore seconds.

How to turn off remote computer with shutdown command

The shutdown control-line tool likewise allows you to turn off or restart a device remotely. Nevertheless, the tool is limited, and you will be performing some extra steps to go it working.

Configure remote device

To set up the remote calculator to allow remote command executions, use these steps:

Warning: This is a friendly reminder that editing the Registry is risky and can crusade irreversible damage to your installation if you lot don't do it correctly. It's recommended to brand a full backup of your PC before proceeding.

  1. Open up Commencement.
  2. Search for Command Prompt, right-click the top upshot, and select the Run as ambassador option.
  3. Type the following command to disable the User Account Control for remote executions and press Enter:

    reg add HKLM\Software\Microsoft\windows\CurrentVersion\Policies\organization /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

    Disable UAC on Windows 10 Source: Windows Cardinal

Subsequently you lot complete the steps, the device volition exist open to receive commands remotely from authenticated users.

If you want to revert the changes to ameliorate the device security, you lot tin can apply the same instructions outlined above, but on step No. 3, brand sure to run this command: reg add HKLM\Software\Microsoft\windows\CurrentVersion\Policies\organisation /5 LocalAccountTokenFilterPolicy /t REG_DWORD /d 0 /f.

Close downwardly remote device

To employ the Command Prompt to shut down a computer remotely, utilize these steps:

  1. Open Start.
  2. Search for Command Prompt, correct-click the pinnacle result, and select the Run equally administrator choice.
  3. Type the following command to connect to the IPC$ share (or nothing session connection) and press Enter:

    net use \\REMOTE-PC\ipc$

    In the command, replace REMOTE-PC for the name or IP address of the remote figurer.

    For example, this control connects to the Office-PC figurer:

    cyberspace use \\Part-PC\ipc$

  4. Confirm the account name located in the remote device and press Enter.
  5. Ostend the account password and press Enter.
  6. Blazon the following command to restart the remote computer and press enter:

    shutdown /r /m \\REMOTE-PC /t TIME /c "Annotate" /f

    In the command, supervene upon REMOTE-PC for the name or IP address of the remote calculator, TIME for the number of seconds to expect before kickoff the shutdown process, and supervene upon COMMENT for the custom dialog you want to transport the user.

    For example, this command will notify the user, and forces a restart the device called "Part-PC" closing all application without warnings afterwards one minute:

    shutdown /r /yard \\Office-PC /t lx /c "This PC will restart in one minute for maintenance." /f

    Shutdown remote computer with Command Prompt Source: Windows Central

    If no one is using the reckoner, you can send a command that restarts the device immediately. Here's an example:

    shutdown /r /one thousand \\Office-PC /t 0 /f

Once you complete the steps, the remote host volition power off according to the command configuration.

If yous want to disconnect from the IPC$ share, run the following command: "net use * /delete" (without quotations) and printing Y to confirm. If you plan to utilise this command, you may need to remap previously continued network drives.

How to restart computer with shutdown control

To restart a Windows 10 device with Control Prompt, utilise these steps:

  1. Open Showtime.
  2. Search for Command Prompt, right-click the top effect, and select the Run as administrator option.
  3. Type the following command to restart the device and press Enter:

    shutdown /r

  4. Blazon the following control to restart the device after a specific time and press Enter:

    shutdown /r /t Fourth dimension

    In the command, replace Fourth dimension for the second to wait earlier the device begins the restart process.

    For case, this command restarts the computer afterward five seconds:

    shutdown /r /t 5

    Restart computer with Command Prompt Source: Windows Central

    Quick tip: You can as well use "0" for the time to restart the device immediately.

  5. Type the following command to restart without waiting or alert and press Enter:

    shutdown /r /p

  6. Blazon the following command to shut down, forcing all apps to close without warning, and press Enter:

    shutdown /r /f

After you complete the steps, the reckoner will restart according to the options y'all specified in the command.

How to sign out session with shutdown control

The shutdown tool too includes an choice to sign out a user, but it is only available for the local reckoner, and you tin can only sign out the current session. You cannot log off other users or someone on a remote device.

To log off of a Windows 10 account with Control Prompt, employ these steps:

  1. Open First.
  2. Search for Command Prompt, right-click the tiptop effect, and select the Run every bit administrator option.
  3. Type the following command to sign out the current account session and press Enter:

    shutdown /50

    Shutdown command logout user Source: Windows Cardinal

Once you complete the steps, the current user session volition be signed out.

How to hide computer with shutdown command

To put the computer into a hide land with a command, utilise these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top upshot, and select the Run as administrator option.
  3. Type the following control to hibernate the device and press Enter:

    shutdown /h

    Shutdown command to hibernate Windows 10 Source: Windows Primal

After you complete the steps, the device volition enter into the hibernation state. However, this only works on devices that support the characteristic. You can use these steps to enable and configure hibernation on Windows 10.

How to kick in firmware style with shutdown command

The command-line tool even includes an pick to outset the computer into the Unified Extensible Firmware Interface (UEFI) or Bones Input Output System (BIOS) firmware without the need for actress steps.

To start the device in the UEFI or BIOS interface, utilise these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the post-obit command to restart the device into the firmware and press Enter:

    shutdown /r /fw

    Restart into firmware using shutdown command Source: Windows Central

  4. Type the following control to close downward the computer and kick into the firmware during the next startup and press Enter:

    shutdown /s /fw

    Alternatively, yous can also use the /p instead of the /s option to close all running applications and force the shutdown without warning.

Once you consummate the steps, the estimator will boot into the firmware interface.

How to admission the Advanced boot options with shutdown command

The "Advanced boot options" feel is the surroundings that includes various tools to troubleshoot and set up issues on Windows 10. Although you tin can utilise the Settings app or the USB flash bulldoze to admission these tools, you tin likewise get into this experience with one shutdown command.

To start the reckoner in the Advanced boot options, apply these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the meridian outcome, and select the Run every bit ambassador option.
  3. Blazon the following control to restart the device into the Advanced boot options experience and press Enter:

    shutdown /r /o

  4. Blazon the following command to close down the estimator and start the Advanced kicking options experience during the next startup and press Enter:

    shutdown /s /o

    Shutdown command access Advanced Boot Options Source: Windows Primal

    Alternatively, you lot can also use the /p instead of the /s selection to shut all running applications and force the shutdown without alert.

Afterward you complete the steps, the computer will start in the Advanced boot tools, assuasive you to admission recovery tools to troubleshoot and ready the installation.

How to abort computer ability off performance with shutdown command

This selection is simply bachelor when using the time-out option on a remote computer. If the computer is scheduled to shut downwards after a specific period, you can arrest the procedure.

To abort a shutdown, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator selection.
  3. Type the following command to abort the shutdown and press Enter:

    shutdown /a /m \\REMOTE-PC

    In the command, replace REMOTE-PC with the proper name or IP accost of the remote computer.

    For instance, this control aborts the shutdown activity on the remote computer called Office-PC:

    shutdown /a /m \\Office-PC

    Shutdown abort command Source: Windows Central

In these steps, information technology is assumed you lot successfully ran the shutdown command, pregnant that y'all went through the steps to configure the local computer and remote devices to allow the remote command execution (meet above instructions).

We are focusing this guide on Windows 10, merely the control-line tool has been available for a long fourth dimension, which means yous can refer to these instructions if you lot are still using Windows 8.x. Shutdown.exe is also available for Windows 7, but the options are limited. For example, the /o and /hybrid are available starting Windows 8.

More Windows 10 resource

For more helpful manufactures, coverage, and answers to common questions well-nigh Windows x, visit the following resources:

  • Windows ten on Windows Cardinal – All you demand to know
  • Windows 10 assistance, tips, and tricks
  • Windows 10 forums on Windows Central

Source: https://www.windowscentral.com/how-use-shutdown-command-tool-windows-10

Posted by: stewardexcums.blogspot.com

0 Response to "How to use shutdown command tool on Windows 10"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel