473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How To Shutdown Other System In LAN

Hi 2 One n All.
Am using XP.In my office, 5 systems that r connceted in LAN.
Is it possible to shutdown the other systems from one system in LAN.
If it possible plz tell me the solution in detail how to do this.

Thanks in advance.
Feb 5 '07 #1
8 20480
bartonc
6,596 Expert 4TB
Hi 2 One n All.
Am using XP.In my office, 5 systems that r connceted in LAN.
Is it possible to shutdown the other systems from one system in LAN.
If it possible plz tell me the solution in detail how to do this.

Thanks in advance.
See this tread. If you are using Home Edition or Pro with simple file sharing, this probably won't work. It will work if you have set up a domain.
Feb 6 '07 #2
Cyberdyne
627 Expert 512MB
Sounds like there is no domain, I would implement PC Anywhere or Dameware Utilities.

Best Luck, Cyber.

Barton Nice link!
Feb 6 '07 #3
Hi
Am using XP Professional OS.
Tell me that how to shutdown other system from another system (both r connected in LAN).
If anybody knows the process plz tell me the process in detail.
Feb 6 '07 #4
bartonc
6,596 Expert 4TB
See this tread. If you are using Home Edition or Pro with simple file sharing, this probably won't work. It will work if you have set up a domain.
Use the Shutdown command in Start->Run or a DOS command line by Start->Run cmd. Here is how to use Shutdown:

Shutdown
Allows you to shut down or restart a local or remote computer. Used without parameters, shutdown will logoff the current user.

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

Parameters
-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]
Specifies the computer that you want to shut down.
-t xx
Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-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.
Remarks
If you indicate a major and minor reason code, you must first define these reason codes on each computer for which you plan to use the particular reason. If the reason codes are not defined on the target computer, Event Viewer cannot log the correct reason text.
Examples
To shut down \\MyServer in 60 seconds, force running applications to close, restart the computer after shutdown, indicate a user code, indicate that the shutdown is planned, log major reason code 125, and log minor reason code 1, type:

shutdown -r -f -m \\MyServer -t 60 -d up:125:1
Feb 7 '07 #5
vishak
2
i tried the cmd u gave in my lan network which is shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[u][p]:xx:yy] but it says '-s' is not recogonizable i used the comp name and all other details u,p,xx,yy,-t 60 but i am unable to get plz help
Aug 26 '10 #6
sicarie
4,677 Expert Mod 4TB
That's the usage, that's not the command. You need to use the options properly and as applicable.

Also, please try not to post on 4 year old threads, if possible - a new thread would have covered this just as well.
Aug 27 '10 #7
vishak
2
then just give an example i dont need an syntax sir plz help .......
Aug 28 '10 #8
sicarie
4,677 Expert Mod 4TB
The syntax is the way to do it, you need to select the options that apply to your situation.
Aug 30 '10 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Allan Bredahl | last post by:
Hi All I am trying to construct an application that is able to cancel a machine shutdown, reboot or logoff. And after performing some stuff to perform the original shutdown order :...
3
by: Senthil | last post by:
Hi, I would like to know the code for reboot and shutdown windows xp professional using VB.Net. thanx Senthil
8
by: Bill Sonia | last post by:
I've written a Windows Service to send e-mails on events like OnStart, OnStop, OnShutDown using System.Web.Mail. It works for everything but OnShutdown. My guess is that for OnShutDown, once my...
4
by: Chris Tanger | last post by:
Context: C# System.Net.Sockets Socket created with constructor prarmeters Internetwork, Stream and TCP everything else is left at the default parameters and options except linger may be changed...
1
by: mikelostcause | last post by:
I'm new to c# and am currently developing a small login/logout app that runs in the system tray. I am trying to get it to access a website during system shutdown, but it doesn't seem to want to. ...
2
by: Brian Worth | last post by:
I have just upgraded from VB 4.0 to VB .NET 2002. One program under VB 4.0 was able to shut down or restart the (windows XP) machine using a series of API calls. (Getlasterror, GetCurrentProcess,...
3
by: newsgroups.jd | last post by:
Let me start by saying I am a noob to VB.net and am not a programmer anyways I am trying to learn and would like to get this to work... so please be gentle, If Im doing it wrong please tell me......
1
by: Titeuf | last post by:
Hi, I work under VS2003 and I want to know how get the shutdown reason code ? On msdn nothing found...No api :( Have you an idea ? Thank's
5
by: Phil Tusa | last post by:
Greetings to all .... I have a need to issue a shutdown and/or Restart Windows XP inside my application. Any help or example code would be appreciated! -- Phil
11
by: =?Utf-8?B?Z3JlYXRiYXJyaWVyODY=?= | last post by:
I've already got the code written but for some reason, when i click the button, nothing occurs. Here is the code. using System; using System.Collections.Generic; using System.ComponentModel;...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.