>
> "Al Dunbar" <alandrub[ at ]hotmail.com> wrote in message
> news:esizUQmYJHA.1532[ at ]TK2MSFTNGP03.phx.gbl...
> >
> > "mosquito_hippy" <mosquitohippy[ at ]discussions.microsoft.com> wrote in
> > message news:535913B3-775A-4EF6-8F3F-38D217CEFE94[ at ]microsoft.com...
> >>I wrote this machine script to apply a patch to the computers of a OU in a
> >> Windows 2003 Server Domain.
> >>
> >> if exist C:\patchs\kbxxxxxx.dat goto end
> >> if exist C:\patchs\. goto label1
> >> md c:\patchs
> >> :label1
> >> \\mcse-01\patchs\WindowsXP-KBxxxxxx-x86-enu.exe /norestart
> >> /log:C:\patchs\
> >> echo "patch applyed" > c:\patchs\kbxxxxxx.dat
> >> :end
> >>
> >> I gave to the group "Domain Computers" read and write rights over the
> >> share
> >> where the patch is located.
> >>
> >> I know the script was actually executed because it creates the folder and
> >> the flag file.
> >>
> >> Any idea
> >
> > If run as a logon script, perhaps the user lacks the privs necessary to
> > run the patch executable.
> >
> > /Al
> >
> >
>
> You might want to deploy the patch remotely. I have an example VBScript that
> deploys any executable (if it runs silently with no user interaction) to all
> computers in a domain group linked here:
>
>
http://www.rlmueller.net/Deploy.htm>
> The program uses WMI to connect to each computer in the group and run the
> specified executable (with parameters). The program pings each computer
> first to check if they are available. The program logs everything to a log
> file. The person running the script must be a member of the local
> Administrators group. By default the group "Domain Admins" is added to the
> local Administrators group when the computer is joined to the domain, so if
> you are member of that group you should be fine. No one needs to be logged
> into the remote computers, but they must be connected to the network and
> running.
>
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab -
http://www.rlmueller.net> --
>
>
>