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:
- Open up Start.
- Search for Command Prompt, right-click the tiptop result, and select the Run as administrator selection.
-
Type the post-obit command to gracefully shut downward the device afterward one minute and press Enter:
shutdown /due south
-
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
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. -
Type the following command to shut down the reckoner without waiting or alarm and printing Enter:
shutdown /p
-
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:
- Open up Start.
- Search for Command Prompt, correct-click the top result, and select the Run as administrator option.
-
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
-
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:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run every bit administrator option.
-
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."
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.
- Open Kickoff.
- Search for Command Prompt, right-click the elevation event, and select the Run as ambassador option.
-
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
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:
- Open Offset.
- Search for Command Prompt, right-click the peak result, and select the Run as administrator choice.
-
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$
- Confirm the account name located in the remote device and press Enter.
- Confirm the account password and press Enter.
-
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
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:
- Open Kickoff.
- Search for Command Prompt, right-click the top result, and select the Run every bit administrator pick.
-
Type the following control to restart the device and printing Enter:
shutdown /r
-
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
Quick tip: Yous tin can also apply "0" for the time to restart the device immediately.
-
Type the following command to restart without waiting or warning and press Enter:
shutdown /r /p
-
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:
- Open Start.
- Search for Command Prompt, right-click the top result, and select the Run as administrator option.
-
Type the following command to sign out the electric current account session and press Enter:
shutdown /L
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:
- Open Get-go.
- Search for Control Prompt, right-click the top effect, and select the Run as administrator option.
-
Blazon the following command to hibernate the device and press Enter:
shutdown /h
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:
- Open Start.
- Search for Control Prompt, right-click the pinnacle result, and select the Run every bit administrator selection.
-
Type the following command to restart the device into the firmware and printing Enter:
shutdown /r /fw
-
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:
- Open Start.
- Search for Control Prompt, correct-click the top consequence, and select the Run as administrator option.
-
Type the following command to restart the device into the Advanced boot options feel and press Enter:
shutdown /r /o
-
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
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:
- Open up Beginning.
- Search for Command Prompt, right-click the summit result, and select the Run as administrator option.
-
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
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
Ranking the big bads
Ranking all 15 of Elden Ring's main dominate fights
Elden Ring has 15 different main boss battles, merely which ones are the best (and which ones are terrible)? Here'due south our definitive ranking of each and every master boss in the game.
FRESH LORE
Ancient Windows ane.0 Easter egg unearthed, features Gabe Newell
Just when you idea the lore vaults of ye olde Windows 1.0 had been exhausted, a new entry appears. And it gets even more exciting: This particular nugget of noesis contains a reference to none other than Valve's very own Gabe Newell.
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