banner



What Windows Services Can I Shut Down

Although, on Windows 10, you tin can conveniently sign out, shut down, restart, or hide your figurer from the Beginning carte du jour or Lock screen, the arrangement too includes the shutdown.exe tool that allows yous to perform the same power operations through Command Prompt.

It is also a more powerful tool since, in addition to the common tasks, the control-line tool supports more avant-garde options, including the ability to record the reason for the result, display custom messages to the end-user, and even use the tool close down and restart remote devices.

You lot tin use this tool at any time. Nonetheless, it volition normally come in handy if you lot spend most of your time in the Command Prompt terminal, you need to create a script that involves restarting the computer, or you are making system changes, and you want to record a reason for the restart or shutdown outcome.

In this Windows 10 guide, we will walk y'all through the unlike ways you can use the shutdown.exe control-line tool to shut downward and restart local and remote computers.

  • How to plough off figurer with shutdown command
  • How to plough off remote computer with shutdown command
  • How to restart computer with shutdown command
  • How to sign out session with shutdown command
  • How to hide computer with shutdown control
  • How to boot in firmware way with shutdown control
  • How to access the Advanced boot options with shutdown command
  • How to arrest computer power off functioning with shutdown command

How to turn off computer with shutdown command

To close downwardly the computer manually with Control Prompt, use these steps:

  1. Open up Start.
  2. Search for Command Prompt, right-click the tiptop result, and select the Run as administrator selection.
  3. Type the post-obit command to gracefully shut downward the device afterward one minute and press Enter:

    shutdown /due south

  4. Blazon the following command to shut downwards the device after a specific fourth dimension and printing Enter:

    shutdown /s /t TIME

    In the control, supervene upon TIME for the second to wait before the device begins the shutdown procedure.

    For example, this command turns off the computer after five seconds:

    shutdown /south /t 5

    Shutdown with timeout command Source: Windows Central

    Quick tip: You tin can as well employ "0" for the fourth dimension for shutdown immediately. If the time is greater than null, then the /f option will exist applied automatically.

  5. Type the following command to shut down the reckoner without waiting or alarm and printing Enter:

    shutdown /p

  6. Type the following control to shut down, forcing all apps to shut without warning, and printing Enter:

    shutdown /s /f

Once y'all consummate the steps, the computer will execute the shutdown process depending on your specified options.

Close down specifying reason

To turn off the device recording a specific reason, use these steps:

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

    shutdown /south /d p:MAJOR-NUMBER:Modest-NUMBER

    In the command, alter the MAJOR-NUMBER:Modest-NUMBER for the numbers that represent the reason. You lot tin can observe out all the available major and minor reason numbers by running the shutdown /? command.

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

    shutdown /south /t i /d p:ii:16

    You tin can likewise switch the /southward for the /r option if you lot desire to specify a reason for the restart in the control. Here'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 computer specifying a reason as unplanned and press Enter:

    shutdown /s /t 1 /d u:2:16

    The higher up command volition shut down the device, recording the "Operating System: Service pack (Unplanned)" reason.

After you lot complete the steps, the Windows x device will close down and log the specified reason.

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

Shut downwards with custom dialog message

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

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run every bit administrator option.
  3. Type the following control to shutdown device showing custom dialog message and printing Enter:

    shutdown /s /t TIME /c "MESSAGE"

    In the command, supercede Time with the number of seconds earlier shutting downward the calculator, and replace 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 estimator afterward ane infinitesimal:

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

    Shutdown command with dialog message Source: Windows Fundamental

    Yous can also switch the /southward for the /r option if you lot want to prove a message for the restart in the command. Here's how:

    shutdown /r /t sixty /c "Updating XYZ company app."

Once you complete the steps, Windows 10 will display the "Updating XYZ company app" message to the user and power off the reckoner after lx seconds.

How to turn off remote computer with shutdown command

The shutdown command-line tool also allows you lot to turn off or restart a device remotely. However, the tool is limited, and you volition be performing some extra steps to become it working.

Configure remote device

To ready up the remote computer to allow remote command executions, utilise 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 practise it correctly. It's recommended to make a total backup of your PC before proceeding.

  1. Open Kickoff.
  2. Search for Command Prompt, right-click the elevation event, and select the Run as ambassador option.
  3. Blazon the following command to disable the User Account Control for remote executions and press Enter:

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

    Disable UAC on Windows 10 Source: Windows Central

After y'all complete the steps, the device will exist open up to receive commands remotely from authenticated users.

If you want to revert the changes to better the device security, you can use the same instructions outlined higher up, but on step No. 3, make sure to run this control: reg add together HKLM\Software\Microsoft\windows\CurrentVersion\Policies\organization /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 0 /f.

Shut down remote device

To use the Control Prompt to shut down a computer remotely, employ these steps:

  1. Open Offset.
  2. Search for Command Prompt, right-click the peak result, and select the Run as administrator choice.
  3. Blazon the post-obit control to connect to the IPC$ share (or nothing session connection) and printing Enter:

    net use \\REMOTE-PC\ipc$

    In the command, supercede REMOTE-PC for the name or IP address of the remote calculator.

    For instance, this command connects to the Office-PC computer:

    internet utilize \\Office-PC\ipc$

  4. Confirm the account name located in the remote device and press Enter.
  5. Confirm the account password and press Enter.
  6. Type the following control to restart the remote estimator and printing enter:

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

    In the control, replace REMOTE-PC for the name or IP address of the remote reckoner, TIME for the number of seconds to wait earlier beginning the shutdown process, and replace Annotate for the custom dialog you want to send the user.

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

    shutdown /r /chiliad \\Function-PC /t lx /c "This PC volition restart in one infinitesimal for maintenance." /f

    Shutdown remote computer with Command Prompt Source: Windows Fundamental

    If no one is using the computer, you lot can ship a command that restarts the device immediately. Here'southward an example:

    shutdown /r /grand \\Role-PC /t 0 /f

In one case you consummate the steps, the remote host will power off co-ordinate to the command configuration.

If you desire to disconnect from the IPC$ share, run the following command: "net use * /delete" (without quotations) and printing Y to ostend. If you lot program to use this command, you may need to remap previously connected network drives.

How to restart calculator with shutdown command

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

  1. Open Kickoff.
  2. Search for Command Prompt, right-click the top result, and select the Run every bit administrator pick.
  3. Type the following control to restart the device and printing Enter:

    shutdown /r

  4. Blazon the following command to restart the device after a specific fourth dimension and press Enter:

    shutdown /r /t TIME

    In the command, supervene upon TIME for the second to wait before the device begins the restart process.

    For example, this command restarts the computer later on five seconds:

    shutdown /r /t 5

    Restart computer with Command Prompt Source: Windows Primal

    Quick tip: Yous tin can also apply "0" for the time to restart the device immediately.

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

    shutdown /r /p

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

    shutdown /r /f

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

How to sign out session with shutdown command

The shutdown tool also includes an selection to sign out a user, but information technology is simply available for the local computer, and yous can simply 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, apply 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 following command to sign out the electric current account session and press Enter:

    shutdown /L

    Shutdown command logout user Source: Windows Central

Once y'all complete the steps, the electric current user session will exist signed out.

How to hibernate computer with shutdown control

To put the computer into a hibernate land with a command, employ these steps:

  1. Open Get-go.
  2. Search for Control Prompt, right-click the top effect, and select the Run as administrator option.
  3. Blazon the following command to hibernate the device and press Enter:

    shutdown /h

    Shutdown command to hibernate Windows 10 Source: Windows Central

After y'all complete the steps, the device will enter into the hibernation state. However, this just works on devices that back up the characteristic. You can utilise these steps to enable and configure hibernation on Windows 10.

How to boot in firmware mode with shutdown command

The command-line tool fifty-fifty includes an selection to showtime the computer into the Unified Extensible Firmware Interface (UEFI) or Basic Input Output Organization (BIOS) firmware without the need for actress steps.

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

  1. Open Start.
  2. Search for Control Prompt, right-click the pinnacle result, and select the Run every bit administrator selection.
  3. Type the following command to restart the device into the firmware and printing Enter:

    shutdown /r /fw

    Restart into firmware using shutdown command Source: Windows Key

  4. Blazon the following command to shut down the computer and kicking into the firmware during the next startup and press Enter:

    shutdown /due south /fw

    Alternatively, you tin can also use the /p instead of the /southward selection to close all running applications and force the shutdown without warning.

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

How to access the Advanced boot options with shutdown command

The "Advanced kicking options" experience is the environment that includes diverse tools to troubleshoot and fix problems on Windows 10. Although you can use the Settings app or the USB flash drive to access these tools, you can also get into this feel with one shutdown control.

To start the computer in the Advanced kick options, use these steps:

  1. Open Start.
  2. Search for Control Prompt, correct-click the top consequence, and select the Run as administrator option.
  3. Type the following command to restart the device into the Advanced boot options feel and press Enter:

    shutdown /r /o

  4. Type the following command to close down the computer and start the Avant-garde boot options experience during the adjacent startup and press Enter:

    shutdown /s /o

    Shutdown command access Advanced Boot Options Source: Windows Cardinal

    Alternatively, you lot can also employ the /p instead of the /s choice to close all running applications and force the shutdown without warning.

After you complete the steps, the estimator will start in the Advanced boot tools, allowing you to admission recovery tools to troubleshoot and set the installation.

How to abort computer ability off operation with shutdown command

This option is merely available when using the time-out option on a remote computer. If the computer is scheduled to shut downwards afterward a specific period, you tin can abort the process.

To abort a shutdown, use these steps:

  1. Open up Beginning.
  2. Search for Command Prompt, right-click the summit result, and select the Run as administrator option.
  3. Type the following command to arrest the shutdown and press Enter:

    shutdown /a /m \\REMOTE-PC

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

    For case, this control aborts the shutdown activeness on the remote computer chosen Office-PC:

    shutdown /a /m \\Function-PC

    Shutdown abort command Source: Windows Central

In these steps, it is causeless you successfully ran the shutdown control, meaning that you went through the steps to configure the local computer and remote devices to allow the remote command execution (see above instructions).

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

More Windows 10 resource

For more helpful manufactures, coverage, and answers to common questions well-nigh Windows ten, visit the post-obit resources:

  • Windows 10 on Windows Central – All y'all need to know
  • Windows 10 assist, tips, and tricks
  • Windows 10 forums on Windows Central

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

Posted by: wentworthlinet1989.blogspot.com

0 Response to "What Windows Services Can I Shut Down"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel