English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

4 answers

Here are some of the other flags you can use along with the another ussage example:


Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

-i Display GUI interface, must be the first option

-l Log off (cannot be used with -m option)

-s Shutdown the computer

-r Shutdown and restart the computer

-a Abort a system shutdown

-m \\computername Remote computer to shutdown/restart/abort

-t xx Set timeout for shutdown to xx seconds

-c "comment" Shutdown comment (maximum of 127 characters)

-f Forces running applications to close without warning

-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

2006-08-07 22:15:54 · answer #1 · answered by latifcom 1 · 0 0

Even in a WINDOWS LAN if and only if the other computer in network has no restricted access, you will be able to view the hard drive data. But you can never use shut down a system using a command . Well you can use VNC Interface i.e. Virtual Network COmputing software to access other computers desktop and do whatever you want - shutdown etc.

But in a LINUX LAN , you can use the command init 0 pc name to shutdown the required computer. Hope this help you

2006-08-07 22:16:04 · answer #2 · answered by Anonymous · 0 0

You'll need to use a script and do it via WMI.

The following VB Script can do it - you need to insert the netbios name of the computer you're shutting down (strComputer). You'll also need to have an admin username and password for that computer and be logged on (connect to a share or something).

strComputer = "."
Set objWMIService = GetObject_
("winmgmts:{impersonationLevel=impersonate,(Shutdown)}\\" & _
strComputer & "\root\cimv2")

Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")

For Each objOperatingSystem in colOperatingSystems
objOperatingSystem.Win32Shutdown(1)
Next

2006-08-08 00:10:06 · answer #3 · answered by notthateazy 3 · 0 0

kishore_bs1 are you nuts? Missing a some screws? Why would you want to do that? People like you are no better then hooligans who are hell bent on hurting someone. Why don't you crawl back to where you crawl out from?

2006-08-07 22:14:56 · answer #4 · answered by Joe_Young 6 · 0 0

fedest.com, questions and answers