Skip to main content

Shutdown Command Line

Shutdown Command Line in Windows XP. Command line can do in cmd.exe, you can run this program in c:\windows\system32\cmd.exe or just do this, click start menu > run > type cmd > open. This command line can run in cmd.exe, just type the syntax and enter but read this article before.

Shutdown Command Line

Syntax

shutdown [{-l-s-r-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy]

Parameters

-l
Parameter command line for log off user that aktive, thats the default.
Example : if you want log off your computer type this in cmd
shutdown -l

-s
Parameter command line for shutdown your computer, thats the default.
Example : if you want shut down your computer type this in cmd
shutdown -s

-r
Parameter for restart or reeboot your computer
Example : if you want restart or reboot your computer type this in cmd
shutdown -r

-a
Parameter command line for abort shutdown. Ignore other parameter, except -l and ComputerName. You can only use -a during the time is out of periode.
Example : if you want abort shutdown type this in cmd
shutdown -a

-f
Parameter commadn line for Force running aplication to close.
Example : if you want shutdown and close all aplication that still active type in cmd
shutdown -s -f

-m [\\ComputerName]
Parameter command line for specifies the computer that you want to shutdown
Example : if you want shutdown computer 5 with name comp5 type this in cmd.
shutdown -s -m \\comp5

-t xx
Parameter command line for set the timer for shutdown in xx seconds. the default is 20 seconds.
Example : if you want shutdown computer and give 1 minute to save all jobs type this in cmd.
shutdown -s -t 60

-c "message"
Parameter command line for display message before shutdown execute. Message must be enclose by quotation and maximum message is 127 character
Example : if you want shutdown user 4 with computer name comp4 in LAN and want display message type this in cmd.
shutdown -s -m \\comp4 -c "this computer is shutdown by server admin, please save all your job"

-d [u][p]:xx:yy
Lists the reason code for the shutdown. The following table lists the different values.

Remark
You can bundle the parameters in one command.

Example of syntax
  1. if you want log off computer user in your workstation in 30 seconds. you can bundle parameter -l , -m [\\ComputerName] , -t xx
    shutdown -l -m \\comptrone -t 30
  2. If you want adding message and shutdown computer user at workstation in 45 seconds, try bundle -s , -m [\\ComputerName] , -c "message" -t xx
    shutdown -s -m \\computertwo -c "this computer will be shutdown after 45 seconds, save all your data" -t 45
  3. and if you want cancel your shutdown job try -a. before the time is up only
    shutdown -a
  4. Try another combination. good try

writen by ali
source from windows xp help and support

Comments

  1. LOL... I used this on my friends :D

    ReplyDelete
  2. remember if it doesn't work then u need admin rights ;)

    ReplyDelete
  3. is there a way to have it still shut down the computer but not display the message saying it is going to shut down?

    ReplyDelete
  4. I'm not sure where you are getting your information, but great topic. I needs to spend some time learning more or understanding more. Thanks for great information I was looking for this info for my mission.

    Feel free to surf to my web site :: www.vigrxenhancer.com

    ReplyDelete
  5. This article is standard shutdown command for windows XP only

    ReplyDelete

Post a Comment

Popular posts from this blog

file extension as a virus suspected

One of the ways to prevent and guard against the dangerous file and should we suspect the virus as a candidate or a virus file extension is.

However, the default settings in the windows, we can not see extension a file so there are few windows settings that we need to change so that we can see extension a file. See how to alter the settings to see the windows here.

Extensi file what should we as a suspected virus? Here's the list :

com - the executable file to a program is not greater than 64 KB
exe files - the executable file or self-Extracting archive
sys - system files
prg - the program text for dBase, Clipper or Microsoft Visual FoxPro, or WAVmaker program
bin - binary files
paddle - batch file
cmd - command file for Microsoft Windows NT (similar to. paddle file for DOS)
above sea level - compressed Borland Delphi library
etc. - dynamic loading library
Britain - the Microsoft Windows splash screen
cpl - Microsoft Windows control panel module
ocx - Microsoft OLE (Object …

Sejarah XML

Pada awal kemunculannya di penghujung 1990-an, XML (Extensible Markup Languange) kerap dianggap sebagai bahasa markup pengganti HTML (Hypertext Markup Languange). Mungkin karena sama-sama turunan dari SGML (Standard Generalized Markup Languange). Padahal, XML dibuat untuk menjembatani interoperabilitas antar software dari platform yang berbeda.
Sebelum membahas lebih jauh apa itu XML dan bagaimana fungsinya, ada baiknya kita memahami betul istilah markup language. Awalnya markup language digunakan oleh para penulis, editor, dan awak percetakan dalam dunia penerbitan, untuk menandai sebuah naskah dipresentasikan.Editor menandai bagian-bagian naskah yang perlu diperbaiki oleh penulis, dengan tanda-tanda khusus. Editor juga melakukan hal yang sama pada naskah yang akan di-layout oleh desainer (dahulunya merupakan bagian dari awak percetakan), bagian mana yang dicetak miring, tebal, dan lain-lain.Dengan kata lain, markup language adalah gabungan antara naskah dengan informasi tambahan tent…