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

i am working in a big company and some time i go in last then some system are on i need to shutdown that system from my computer

i search on net and get two commends

1.shutdown -i (that say dictnory are cruntly unavlable)
2.shutdown -s -t 0 -m \\computername (that say acces denied)

plzz help

2006-09-20 23:26:11 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

Remote shutdown tool is a part of Windows 2 k/XP/NT based OS - (Shutdown.exe) and can be used to shut down and restart a local or remote computers

Shutdown.exe is available in the Microsoft Windows 2000 Resource Kit. It is a command-line tool that you can use to shut down or restart a local or remote computer. If you want to schedule a computer to shut down and restart at a specific time, use Shutdown.exe in combination with the at command or Task Scheduler.

Syntax

shutdown \\computername /l /a /r /t:xx "msg" /y /c

You can use the following switches with Shutdown.exe:
•\\computername: Use this switch to specify the remote computer to shut down. If you omit this parameter, the local computer name is used.

•/l (Note that this is a lowercase "L" character): Use this switch to shut down the local computer

•/a: Use this switch to quit a shutdown operation. You can do this only during the time-out period. If you use this switch, all other parameters are ignored.

•/r: Use this switch to restart the computer instead of fully shutting it down.

•/t:xx: Use this switch to specify the time (in seconds) after which the computer is shut down. The default is 20 seconds.

•"msg": Use this switch to specify a message during the shutdown process. The maximum number of characters that the message can contain is 127.

•/y: Use this switch to force a "yes" answer to all queries from the computer.

•/c: Use this switch quit all running programs. If you use this switch, Windows forces all programs that are running to quit. The option to save any data that may have changed is ignored. This can result in data loss in any programs for which data is not previously saved.
Back to the topBack to the top

Examples

•To shut down the local computer in two minutes and display a "The computer is shutting down" message, use the following line in a batch file or type it at a command prompt, and then press ENTER:

shutdown /l /t:120 "The computer is shutting down" /y /c

To cancel the shutdown process, type the following line at the command prompt, and then press ENTER:

shutdown /l /a /y

•To shut down and restart a remote computer named "Support," use the following line in a batch file or type it at a command prompt, and then press ENTER:

shutdown \\support /r

•To schedule the local computer to shutdown and restart at 10:00 P.M., type the following line at a command prompt, and then press ENTER:
at 22:00 shutdown /l /r /y /c

•To schedule the local computer to shutdown and restart at 6:00 P.M. every weekday, type the following line at a command prompt, and then press ENTER:

at 18:00 /every:M,T,W,Th,F shutdown /l /r /y /c

2006-09-21 00:39:32 · answer #1 · answered by Jayaprakash V 2 · 0 0

My little humble opinion...

If you are the PC/Server administrator of the company, I believe you should able to access the computer account as easy as ABC... Otherwise, doing so is not recommended... Your colleague may be running programs that do not wish the PC to be down... there are other reasons as well...

2006-09-20 23:39:19 · answer #2 · answered by Chris 2 · 0 0

fedest.com, questions and answers