Windows XP Community - XPHeads



shutdown multiple computers using batch file

microsoft.public.windowsxp.network_web


Reply
  #1 (permalink)  
Old 02-19-2008, 08:42 AM
Remush via WindowsKB.com
 
Posts: n/a
shutdown multiple computers using batch file
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 ?

--
Message posted via WindowsKB.com
http://www.windowskb.com/Uwe/Forums....twork/200802/1

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-19-2008, 03:03 PM
Hans-Georg Michna
 
Posts: n/a
Re: shutdown multiple computers using batch file
On Tue, 19 Feb 2008 08:42:47 GMT, Remush via WindowsKB.com
wrote:

>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 ?


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

In some situations it works better than shutdown.

Hans-Georg
--
No mail, please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:55 PM
Chuck [MVP]
 
Posts: n/a
Re: shutdown multiple computers using batch file
On Tue, 19 Feb 2008 08:42:47 GMT, "Remush via WindowsKB.com" <u15391@uwe> wrote:

>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 ?


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/0...-xp.html#Guest

--
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-26-2008, 07:13 AM
Remush via WindowsKB.com
 
Posts: n/a
Re: shutdown multiple computers using batch file
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.







Chuck [MVP] wrote:
>>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/0...-xp.html#Guest
>


--
Message posted via http://www.windowskb.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-26-2008, 11:06 AM
Hans-Georg Michna
 
Posts: n/a
Re: shutdown multiple computers using batch file
On Tue, 26 Feb 2008 07:13:07 GMT, Remush via WindowsKB.com
wrote:

>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
--
No mail, please.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-26-2008, 12:26 PM
Oòsóom
 
Posts: n/a
Re: shutdown multiple computers using batch file
On Tue, 26 Feb 2008 12:06:19 +0100, Hans-Georg Michna
<hans-georgNoEmailPlease@michna.com> wrote:

>On Tue, 26 Feb 2008 07:13:07 GMT, Remush via WindowsKB.com
>wrote:
>
>>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


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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-27-2008, 01:40 AM
Chuck [MVP]
 
Posts: n/a
Re: shutdown multiple computers using batch file
On Tue, 26 Feb 2008 07:13:07 GMT, "Remush via WindowsKB.com" <u15391@uwe> wrote:

>Chuck [MVP] wrote:
>>>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/0...-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/0...-xp.html#Guest

--
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:01 PM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74