shutdown and restart of network PCs

Page 1 of 2 12 LastLast

  1. Posts : 4
    win 7 home premium 32bit
       #1

    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 Computer


  2. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #2

    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 Computer


  3. Posts : 4
    win 7 home premium 32bit
    Thread Starter
       #3

    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 Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #4

    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 Computer


  5. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #5

    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 Computers


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #6

    I thought it should work on all editions. Thanks for confirming that, Nigel.
      My Computer


  7. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #7

    Additional info added - it's been a while since I set one up
      My Computers


  8. Posts : 4
    win 7 home premium 32bit
    Thread Starter
       #8

    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 Computer


  9. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #9

    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 Computers


  10. Posts : 2,737
    Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
       #10

    Barman58 said:
    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 21:39.
Find Us