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

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…

Cara Menghilangkan Tato Tanpa diSetrika

[2/27, 05:03] Dq Hadi Krt: Apakah ada yg pny info cara menghilangkan tato secara alami?
[2/27, 05:31] ‪+62 821-1156-5951‬: Gunakan kapur Tohor yg biasa  , atau pakai kolomax obat kimia di toko obat,
[2/27, 06:00] ‪+62 858-1133-4482‬: Menghilangkan tato sangat sulit.Duluu... Saudara saya sampe putus asa sampe mau di setrika.
[2/27, 06:00] ‪+62 858-1133-4482‬: Cara nya??
[2/27, 06:06] ‪+62 821-1156-5951‬: Gunakan alkohol terlebih dahulu merata, oleskan kapur sirih(maaf bkn yg Tohor), agak ditekan merata KMD biarkan n, efeknya gatal&perih, rutinkan serial hari
[2/27, 06:09] ‪+62 821-1156-5951‬: Insya Allah pasti bisa hilang&bersih, akan tetapi akan ada bekasnya,
[2/27, 06:15] ‪+62 896-8726-1311‬: Brp lama prosesnya..?
[2/27, 06:27] ‪+62 821-1156-5951‬: Teman yg sdh nyobain, sekira 3 bulan , dicoba aja
[2/27, 06:31] ‪+62 858-1133-4482‬: Terimakasih
[2/27, 06:54] Dq Hadi Krt: Setelah dioleskan dan ditekan merata, lalu dibiarkan brp lama sampai dibersihkan?
[2/27, 07:28] ‪+62 821-11…