Hello, is there a way to force a restart of all member computers in a domain?
I am running a mixed mode windows 2000 domain with about 70 XP workstations.


Thanks,
Eddie

RE: How to force a restart of computers in a domain by winmasterplan

winmasterplan
Wed Jun 18 12:00:03 PDT 2008

Hi Eddie,

One idea is to export a list of your computer to a file , for example
computers.txt and then use the shutdown command:
FOR /F "tokens=1,* delims= " %%A IN (C:\computers.txt) DO shutdown -r -m \\%%A

Have a nice day!

"Eddie" wrote:

> Hello, is there a way to force a restart of all member computers in a domain?
> I am running a mixed mode windows 2000 domain with about 70 XP workstations.
>
>
> Thanks,
> Eddie

RE: How to force a restart of computers in a domain by Eddie

Eddie
Wed Jun 18 12:09:01 PDT 2008

That's an idea but how can I configure it to restart computers at a certain
time during the evening hours?

"Masterplan" wrote:

> Hi Eddie,
>
> One idea is to export a list of your computer to a file , for example
> computers.txt and then use the shutdown command:
> FOR /F "tokens=1,* delims= " %%A IN (C:\computers.txt) DO shutdown -r -m \\%%A
>
> Have a nice day!
>
> "Eddie" wrote:
>
> > Hello, is there a way to force a restart of all member computers in a domain?
> > I am running a mixed mode windows 2000 domain with about 70 XP workstations.
> >
> >
> > Thanks,
> > Eddie

RE: How to force a restart of computers in a domain by winmasterplan

winmasterplan
Wed Jun 18 12:18:01 PDT 2008

Hi again,

You can make a scheduled task on your computer to run at a specific time,
save that script in a cmd file and run it with the user which is
administrator on those computers.


"Eddie" wrote:

> That's an idea but how can I configure it to restart computers at a certain
> time during the evening hours?
>
> "Masterplan" wrote:
>
> > Hi Eddie,
> >
> > One idea is to export a list of your computer to a file , for example
> > computers.txt and then use the shutdown command:
> > FOR /F "tokens=1,* delims= " %%A IN (C:\computers.txt) DO shutdown -r -m \\%%A
> >
> > Have a nice day!
> >
> > "Eddie" wrote:
> >
> > > Hello, is there a way to force a restart of all member computers in a domain?
> > > I am running a mixed mode windows 2000 domain with about 70 XP workstations.
> > >
> > >
> > > Thanks,
> > > Eddie

Re: How to force a restart of computers in a domain by Florian

Florian
Wed Jun 18 12:19:31 PDT 2008

Howdie!

Eddie schrieb:
> That's an idea but how can I configure it to restart computers at a certain
> time during the evening hours?

As they're in a domain, you could create a scheduled task by using a
computer startup script with Group Policy. In there, use the
schtasks.exe to create that task.

cheers,

Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Use a newsreader! http://www.frickelsoft.net/news.html

RE: How to force a restart of computers in a domain by Eddie

Eddie
Wed Jun 18 12:26:06 PDT 2008

Okay that makes sense, I apologize for my ignorance but just so that I
understand correctly.. I can run this command from any computer? I donâ??t
have to use AD or a DC to accomplish this task?

"Masterplan" wrote:

> Hi again,
>
> You can make a scheduled task on your computer to run at a specific time,
> save that script in a cmd file and run it with the user which is
> administrator on those computers.
>
>
> "Eddie" wrote:
>
> > That's an idea but how can I configure it to restart computers at a certain
> > time during the evening hours?
> >
> > "Masterplan" wrote:
> >
> > > Hi Eddie,
> > >
> > > One idea is to export a list of your computer to a file , for example
> > > computers.txt and then use the shutdown command:
> > > FOR /F "tokens=1,* delims= " %%A IN (C:\computers.txt) DO shutdown -r -m \\%%A
> > >
> > > Have a nice day!
> > >
> > > "Eddie" wrote:
> > >
> > > > Hello, is there a way to force a restart of all member computers in a domain?
> > > > I am running a mixed mode windows 2000 domain with about 70 XP workstations.
> > > >
> > > >
> > > > Thanks,
> > > > Eddie

Re: How to force a restart of computers in a domain by Eddie

Eddie
Wed Jun 18 12:40:01 PDT 2008

Will this be a good idea if I only intend to do this once in a while?

"Florian Frommherz [MVP]" wrote:

> Howdie!
>
> Eddie schrieb:
> > That's an idea but how can I configure it to restart computers at a certain
> > time during the evening hours?
>
> As they're in a domain, you could create a scheduled task by using a
> computer startup script with Group Policy. In there, use the
> schtasks.exe to create that task.
>
> cheers,
>
> Florian
> --
> Microsoft MVP - Windows Server - Group Policy.
> eMail: prename [at] frickelsoft [dot] net.
> blog: http://www.frickelsoft.net/blog.
> Use a newsreader! http://www.frickelsoft.net/news.html
>

Re: How to force a restart of computers in a domain by Florian

Florian
Wed Jun 18 12:57:44 PDT 2008

Howdie!

Eddie schrieb:
> Will this be a good idea if I only intend to do this once in a while?

Probably not. If it's just a one-time issue, you better stick with
Masterplan's suggestion. Don't know if it's of any value for you, but
you could also have a look at PsShutdown:
http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx which I
think is capable of reading a text file full of names. But don't nail me
down on that one.

cheers,

Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Use a newsreader! http://www.frickelsoft.net/news.html

RE: How to force a restart of computers in a domain by winmasterplan

winmasterplan
Wed Jun 18 22:30:00 PDT 2008

Hi,

You can run it on a normal computer, as long as the user have administrator
credential on remote computer.


"Eddie" wrote:

> Okay that makes sense, I apologize for my ignorance but just so that I
> understand correctly.. I can run this command from any computer? I donâ??t
> have to use AD or a DC to accomplish this task?
>
> "Masterplan" wrote:
>
> > Hi again,
> >
> > You can make a scheduled task on your computer to run at a specific time,
> > save that script in a cmd file and run it with the user which is
> > administrator on those computers.
> >
> >
> > "Eddie" wrote:
> >
> > > That's an idea but how can I configure it to restart computers at a certain
> > > time during the evening hours?
> > >
> > > "Masterplan" wrote:
> > >
> > > > Hi Eddie,
> > > >
> > > > One idea is to export a list of your computer to a file , for example
> > > > computers.txt and then use the shutdown command:
> > > > FOR /F "tokens=1,* delims= " %%A IN (C:\computers.txt) DO shutdown -r -m \\%%A
> > > >
> > > > Have a nice day!
> > > >
> > > > "Eddie" wrote:
> > > >
> > > > > Hello, is there a way to force a restart of all member computers in a domain?
> > > > > I am running a mixed mode windows 2000 domain with about 70 XP workstations.
> > > > >
> > > > >
> > > > > Thanks,
> > > > > Eddie