Re: restart 230 machines using one cammand?



Waseem wrote:
i have problem, not a big one but a small one.
i have about 230 computers in different locations across the country
and they all connected with each other i mean vlan with private ip
and i want to restart them with one cammand is there any way? and
remember shutdown command wouldnt work there,
coz all machines are at account locked out message when i try to
restart using shutdown command it shutdown everything but that
messages stay there and machines are like half alive.
is there any way to restart them?

shutdown and psshutdown should both work fine.
shutdown has the -f switch. FORCE.

You could also send a logoff to all machines first with the shutdown
command - with the -f as well if you like.
You could use PSEXEC to run the command locally on each machine - as
whatever user you choose.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


.



Relevant Pages

  • Re: Timed Restart/Reboot of Windows
    ... Most people who are trying to shutdown servers regularly are messing ... I'd like to shutdown and restart certain machines at designated times ...
    (microsoft.public.windows.server.general)
  • Re: Timed Restart/Reboot of Windows
    ... This could be used to run a batch file to shutdown the server, ... I'd like to shutdown and restart certain machines at designated times ... frequently about people trying to reboot servers "just because". ...
    (microsoft.public.windows.server.general)
  • restart 230 machines using one cammand?
    ... i have about 230 computers in different locations across the country ... restart using shutdown command it shutdown everything but that messages ... stay there and machines are like half alive. ...
    (microsoft.public.windowsxp.security_admin)
  • Removed Shutdown button, want restart button its place
    ... I've modified the policy's to remove the shutdown button from the ... I'd like to add a restart button in its place (The ... machines in question should be left on so I want users to be able to ... Stuart ...
    (microsoft.public.windowsxp.customize)
  • Windows XP Shutdown Command
    ... After I upgraded to Windows XP; my shutdown command has ... been behaving like a restart. ...
    (microsoft.public.windowsxp.security_admin)