:. Menshutdown komputer via LAN

beberapa perintah sederhana command promt yang bisa memberikan keleluasaan kepada administrator untuk melakukan shutdown via komputer admin.  Perintah command promt ini bisa berjalan dengan baik asalkan anda adalah seorang administrator domain atau workgroup. Caranya adalah :

Cara pertama yaitu :

  1. Gunakan Command prompt (cmd.exe) yang sudah disediakan oleh windows. Cara memanggilnya ” Start -> Run -> ketikan cmd.exe “
  2. Pada command prompt, anda ketikan ” shutdown.exe -i ” tanpa tanda petik,
  3. Nanti akan muncul Remote Shutdown Dialog, silakan browse aja komputer yg ingin Anda shutdown.

Cara kedua yaitu : Perintah laen di command prompt,

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

Keterangan parameter

-l = Logs off the current user, this is also the defualt. -m ComputerName takes precedence.

-s = Shuts down the local computer.

-r = Reboots after shutdown.

-a = Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.

-f = Forces running applications to close.

-m [\ComputerName]  = Nama komputer yang akan anda shut down.

-t xx = memberikan waktu hitung mundur waktu untuk sistem shudownd dalam xx detik. Defaultnya adalah : 20 detik

-c “message” = Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.

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

u = Indicates a user code.

p = Indicates a planned shutdown code.

xx = Specifies the major reason code (0-255).

yy = Specifies the minor reason code (0-65536).

/? -= Displays help at the command prompt.

NB : Kalo misal perintah command prompt tsb tdk jalan, lakukan setting di komputer target dgn memperbolehkan akses Remote Computer. Caranya : klik kanan My computer (komputer target), liat ke tab Remote, dan centang bagian “Allow users to connect remotely to this Computer”. Jgn lupa firewall diset utk membolehkan akses secara Remote.

Sebagai contoh yang saya lakukan adalah melakukan shutdown pada komputer UTI-JIUN dengan parameter (1) mati dalam waktu 60 detik, (2)mematikan paksa semua aplikasi, (3) restart komputer setelah shutdown, (4) Indikasi nama komputer, yang dimatikan ,log major reason code 125, and log minor reason code 1, saya harus mengetik di command promt sebagai berikut :

shutdown -r -f -m  \UTI-JIUN -t 60 -d up:125:1

Dengan menggunakan perintah diatas, saya bisa mematikan komputer tanpa harus beranjak dari meja saya.

Selamat Mencoba :)

wilsarbali

Advertisement

~ by swilsar on February 12, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.