fb

Ads

Pages

How to shutdown, restart, logoff using command prompt? (Windows Tips)

Windows provides a built in command to shutdown, restart as well as log off a user from the command prompt
in Command Prompt ( WIN + R)any command from Command Prompt or typing the command with full option into the RUN Dialog ( WIN + R ) The main use of all these commands come in batch files and tasks scheduling. All of these commands are pretty easy to use,

The most basic form of the command is :

shutdown -OPTION
OR
shutdown /OPTION


Both perform the same thing – execute shutdown command with option OPTIONS. OPTIONS can take many values, only the ones of interest to us are mentioned here.

-l – Logs off the current user
-s – Shutdown the computer
-r – Restart the computer

example and a Screenshot

0 comments:

Post a Comment