How to shutdown a computer using cmd windows xp




















More often everyone shutdown there computer simply by clicking on Power button but few people use a command prompt to shut down their computer. Command prompt provides lot more feature along with shutting down option. Some of these are Restart, Log Off, Set a display message if exceeds time limit and lot more.

Here we are going to discuss some of these options that how to perform them using the command prompt. For this, you must have administrative access to that PC that you want to shut down. This command shuts down the remote computer ComputerXYZ after seconds forcefully, adds a reason for the shutdown, and displays the comment in the shutdown prompt.

While you can run shutdown from the command prompt whenever the need arises, you may also create shortcuts or batch files so that you can run them with a double-click directly without having to open the command prompt or remembering the commands.

Double-click on the file to test it. Make sure you save all your work before you do so to avoid any issues in this regard. You can add multiple shutdown commands, for instance for several remote machines. Make sure each new command starts on a new line. You may run programs designed specifically to shut down Windows PCs. Set the time-out period before shutdown to xxx seconds. The valid range is 10 years , with a default of Force running applications to close without forewarning users.

Provide the reason for the restart or shutdown. If neither p nor u is specified, the restart or shutdown is unplanned. After the system is rebooted, restart any registered applications. Options: p - indicates that the restart or shutdown is planned. Reasons: xx - is the major reason number positive integer less than Shutdown and restart the computer. Options: p - Indicates that the restart or shutdown is planned. Reasons: xx - The major reason number positive integer less than



0コメント

  • 1000 / 1000