Majority of the computer users uses power button given in the start menu to shut down a computer.Others use the physical power button on a computer. Currently, there is less number of people who use command prompt to shut down the machine. The major reason is most of us don’t know how to use command prompt or don’t know that the command prompt can be used to shut down the computer.
A computers running in any windows operating system with the command prompt working perfectly.
Type “shutdown –s” (without quotes) in the command prompt and press enter .Shutdown is the command to execute and –s is the switch to tell the computer to shut down.
Type “shutdown –s\\name of the computer” without quotes in the command prompts and press enter. Remember you must have administrative access account to the remote computer. To know if you have administrative access, type the name of the computer in the command prompt and press enter or you can execute “ net view” in the command prompt to view a list of computers you are connected to and select one.
Type “shutdown –s –t 120 or shutdown –s –t 120\\name of the remote computer” in the command prompt and press enter. This will shut down your PC after 120 seconds. Upon executing this, a countdown timer will display a warning message.
Type shutdown –s -t 300 –c” you must be tired. Pack and go home” with the quotes in the command prompts and press enter. The –c switch is used in the code to display the reason for shutting down.
Majority of the computer users uses power button given in the start menu to shut down a computer.Others use the physical power button on a computer. Currently, there is less number of people who use command prompt to shut down the machine. The major reason is most of us don’t know how to use command prompt or don’t know that the command prompt can be used to shut down the computer.
A computers running in any windows operating system with the command prompt working perfectly.
Type “shutdown –s” (without quotes) in the command prompt and press enter .Shutdown is the command to execute and –s is the switch to tell the computer to shut down.
Type “shutdown –s\\name of the computer” without quotes in the command prompts and press enter. Remember you must have administrative access account to the remote computer. To know if you have administrative access, type the name of the computer in the command prompt and press enter or you can execute “ net view” in the command prompt to view a list of computers you are connected to and select one.
Type “shutdown –s –t 120 or shutdown –s –t 120\\name of the remote computer” in the command prompt and press enter. This will shut down your PC after 120 seconds. Upon executing this, a countdown timer will display a warning message.
Type shutdown –s -t 300 –c” you must be tired. Pack and go home” with the quotes in the command prompts and press enter. The –c switch is used in the code to display the reason for shutting down.