Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Networking and Web / February 2008

Tip: Looking for answers? Try searching our database.

shutdown multiple computers using batch file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Remush - 19 Feb 2008 08:42 GMT
Hi all,

I'm trying to learn how to shutdown windows xp pro and home computers across
a network from a main office computer, cause people always forget to turn
them off at the end of the day.

I've been practacing from my windows xp pro computer to try and shutdown a
windows xp home laptop using the following at the command prompt

shutdown -s -m \\COMPUTERNAME

When I run this command I get the following error message.

"The network path could not be found"

This is odd cause I can ping the laptop and access shares on the laptop.

Does anyone have any advice ?
Hans-Georg Michna - 19 Feb 2008 15:03 GMT
>I'm trying to learn how to shutdown windows xp pro and home computers across
>a network from a main office computer, cause people always forget to turn
[quoted text clipped - 12 lines]
>
>Does anyone have any advice ?

One possible way to try is to get the psshutdown tool from:
http://www.microsoft.com/technet/sysinternals/miscellaneous/psshutdown.mspx

In some situations it works better than shutdown.

Hans-Georg
Signature

No mail, please.

Chuck [MVP] - 19 Feb 2008 15:55 GMT
>Hi all,
>
[quoted text clipped - 14 lines]
>
>Does anyone have any advice ?

You can't do a remote shutdown of a computer running Windows XP Home.  XP Home,
with Simple File Sharing and only Guest access, lacks networked administrative
authority.
<http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest>
http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest

Signature

Cheers,
Chuck, MS-MVP 2005-2007 [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My        email         is          AT         DOT
  actual       address    pchuck       mvps        org.

Remush - 26 Feb 2008 07:13 GMT
I am now trying to do this from xp pro to xp pro, and I keep getting access
is denied errors or no response at all, this is also happening for psshutdown.

>>Hi all,
>>
[quoted text clipped - 7 lines]
><http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest>
>http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest
Hans-Georg Michna - 26 Feb 2008 11:06 GMT
>I am now trying to do this from xp pro to xp pro, and I keep getting access
>is denied errors or no response at all, this is also happening for psshutdown.

Could you make a little experiment and map a drive to the target
computer before trying to shut it down? For example, you could
open Windows Explorer on the controlling computer and use the
command Tools, Map network drive.

It doesn't matter which drive you map---just any should do.

Then try the remote shutdown or psshutdown.

Strange that nobody fixes these obvious defects, not even the
Sysinternals guys.

Hans-Georg
Signature

No mail, please.

Oòsóom - 26 Feb 2008 12:26 GMT
>>I am now trying to do this from xp pro to xp pro, and I keep getting access
>>is denied errors or no response at all, this is also happening for psshutdown.
[quoted text clipped - 12 lines]
>
>Hans-Georg

You could always use task scheduler and have it shut down the
computers automatically.

-------
For every idiot proofed system devised,
a new and improved idiot will arise to over come it.
Chuck [MVP] - 27 Feb 2008 01:38 GMT
>>>Hi all,
>>>
[quoted text clipped - 7 lines]
>><http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest>
>>http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest

>I am now trying to do this from xp pro to xp pro, and I keep getting access
>is denied errors or no response at all, this is also happening for psshutdown.

Are they XP Pro with Advanced File Sharing, and properly activated non-Guest
accounts?  Remember Guest won't give you administrative access, and remote
control commands won't work.
<http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest>
http://nitecruzr.blogspot.com/2005/06/file-sharing-under-windows-xp.html#Guest

Signature

Cheers,
Chuck, MS-MVP 2005-2007 [Windows - Networking]
http://nitecruzr.blogspot.com/
Paranoia is not a problem, when it's a normal response from experience.
My        email         is          AT         DOT
  actual       address    pchuck       mvps        org.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.