Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: shutdown and restart of network PCs

09 Nov 2010   #1
namich2007

win 7 home premium 32bit
 
 
shutdown and restart of network PCs

Hi there,

I oversee a small test facility of about 200 systems running a mix of XP, Vista and Win 7. They are all on the same Lan / subnet and all configure with a static ip address.

What i want to achieve is a batch shut down and restart of these systems from a central workstation which is also on the same lan.

Can someone point me in the right direction.

Thanks


My System SpecsSystem Spec
.
09 Nov 2010   #2
Kari

 

Only built-in command which can be found on all those three OS's I can think of is shutdown -i, which opens the remote shutdown dialog:

shutdown and restart of network PCs-shutdown.png

Have you tried this?

Kari


My System SpecsSystem Spec
16 Nov 2010   #3
namich2007

win 7 home premium 32bit
 
 

Hey Kari,

I tried your suggestion and was able to get it working for my XP pro Sp3 systems. However I have had no luck with the Vista Home Basic and Win 7 home premium systems. Do you think that because my Vista and Win 7 systems are not the professional versions may be why the shutdown command is not working?
My System SpecsSystem Spec
.

16 Nov 2010   #4
Kari

 

I have to check this. I have both Vistas and Sevens running at home, but all Ultimates and a Seven enterprise, so I can not test it myself.

I ask some fellow geeks, posting back when I know.

Kari
My System SpecsSystem Spec
16 Nov 2010   #5
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

I can confirm from experience that the command does work on Vista home Premium.

One thing you may need to ensure is that the user is an admin and has an account on all systems, assuming a non domain environment when I believe that a domain admin account may be required.

Additional Information

You may also need to enable WMI remote management, this can be achived with the following ...

netsh advfirewall firewall set rule group="windows management instrumentation (WMI)" new enable=Yes

Also open any ports in the firewall relating to remote management using the advanced firewall options
My System SpecsSystem Spec
16 Nov 2010   #6
Kari

 

I thought it should work on all editions. Thanks for confirming that, Nigel.
My System SpecsSystem Spec
16 Nov 2010   #7
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

Additional info added - it's been a while since I set one up
My System SpecsSystem Spec
16 Nov 2010   #8
namich2007

win 7 home premium 32bit
 
 

I have disable windows firewall all together and set up an admin account on all remote workstations with the same credentials as that used on the control workstation. When I run :

shutdown.exe -r -f -t 00 -m \\192.168.12.xxx

response : the network path was not found
My System SpecsSystem Spec
16 Nov 2010   #9
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

The spec for the command gives the parameter as \\computername rather than IP address - I always used the \\computername so it maybe that the IP is not supported although this would be unusual.
My System SpecsSystem Spec
16 Nov 2010   #10
WindowsStar

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Quote   Quote: Originally Posted by Barman58 View Post
The spec for the command gives the parameter as \\computername rather than IP address - I always used the \\computername so it maybe that the IP is not supported although this would be unusual.
I can confirm IP is supported I use it all the time.

I have a script for this...let me dig it up.
My System SpecsSystem Spec
Reply

 shutdown and restart of network PCs




Thread Tools




Similar help and support threads
Thread Forum
windows 7 restart or shutdown stays at shutdown screen
New laptop lenovo ideapad from january i run a lot of programs for engineering on it works great. But it seems after a while online listening to music and browsing flash/shockwave whatever begins to crash if i exit out of chrome i cannot re open but i can open ie. running mcafee enterprise and...
General Discussion
BSOD shutdown then restart
64 Bit Original Full retail 2 years 2 months
BSOD Help and Support
BSOD on shutdown/restart
I have been having this problem for a few days and thought someone on this forum could help me out.
BSOD Help and Support
BSOD on shutdown/restart
Hi all, i'm new to this forum, i just signed up because i have a problem with my windows 7. Every time i click shutdown from the start menu he says "shutting down windows" and then a bsod appears. Now... Is Windows 7 . . . - x86 (32-bit) or x64 ? x86 - the original installed OS on the system?...
BSOD Help and Support
restart insted of a shutdown
Ok i search for similar topic but i didnt find it here... Here is the problem: When i press shut down the sistem restart... that is all ...shut down button restart my computer... I can not turn off my computer unless i mannualy press the button for shut down ... ? Any help here?
Installation & Setup
No Restart, or Shutdown
Hey everybody, my 7048 x64 bit stays on "Shutting Down" screen with the cursor showing "loading". No matter if Ipush Restart or Shutdown stays there forever. My Setup: Asus Striker II Formula Inter QX6600 Quad Mushkin 4gb 8000 Gforce 8800GT Two M-audio Delta 1010 " Thnx for the...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:31.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App