Home All Groups Group Topic Archive Search About

run a batch file on multiple servers



Author
11 Oct 2007 5:41 PM
Walid
Hello:

I have a batch file that will install MS patches on over 50 servers.  The
location of the batch file is on a network share.  Is there anyway to run
this batch file on all of these 50 servers without having to logon to each
server individually and running the batch file?  How can be this done?  Any
help would be appreciated!!

Thanks!!!

W

Author
11 Oct 2007 8:29 PM
Richard Mueller [MVP]
Walid wrote:

> I have a batch file that will install MS patches on over 50 servers.  The
> location of the batch file is on a network share.  Is there anyway to run
> this batch file on all of these 50 servers without having to logon to each
> server individually and running the batch file?  How can be this done?
> Any
> help would be appreciated!!
>
> Thanks!!!
>

I have an example VBScript program that deploys an executable to all
computers in a group. The program is linked here:

http://www.rlmueller.net/Deploy.htm

The program is based on Microsoft example scripts from years ago to deploy
patches. I added features to log what happens, account for most things that
can go wrong, etc. I decided to have the program deploy to computers in a
domain group. The program may need to be run several times to handle
computers off line or otherwise not available. As computers get the
deployment, they can be removed from the group.

The executable must be able to run unattended.

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
Author
18 Oct 2007 5:43 PM
Marcus L
Hi Walid,

I use sysinternals psexec utility.  It is a command line utility and I find
it works great for my batch files.

M

Show quote
"Walid" wrote:

> Hello:
>
> I have a batch file that will install MS patches on over 50 servers.  The
> location of the batch file is on a network share.  Is there anyway to run
> this batch file on all of these 50 servers without having to logon to each
> server individually and running the batch file?  How can be this done?  Any
> help would be appreciated!!
>
> Thanks!!!
>
> W

AddThis Social Bookmark Button