Re: Can active directory be used to push updates to specific files

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Louis Lokuta (anonymous_at_discussions.microsoft.com)
Date: 10/05/04


Date: Mon, 4 Oct 2004 21:56:22 -0700

Thanks Andrei! That's what I was hoping to hear.
Does this have to be a windows vbs script, or can I simply
write a dos batch file and reference that in the GPO?
If it has to be a windows vbs script, can you give me the
syntax of how the script should be? I'm not too familiar
with writing these....

>-----Original Message-----
>Put the script in the "Computer configuration/Windows
>settings/Scripts/Startup scripts" in the GPO ... it will
run under the system
>account ... so it will have the permission to write in
Program Files folder.
>
>Andrei Ungureanu
>www.eventid.net
>Free Windows event logs reports
>http://www.altairtech.ca/evlog/
>
>"Ulf B. Simon-Weidner [MVP]" wrote:
>
>> "SA" <nospam@nospam.nospam> wrote in message
>> news:OSRNDl#pEHA.3524@TK2MSFTNGP15.phx.gbl:
>> > My situation is this: I have the Microsoft Assembler
and Microsoft Visual
>> > Studio.NET 2003 installed on 550 machines. In the
Microsoft Assembler
>> > installation directory, there is a batch file called
make32vs.bat. This
>> > file links the Microsoft Assembler and Microsoft
Visual Studio.Net. That
>> > batch file, as configured on the 550 clients, has a
typo in it which points
>> > to an incorrect installation directory for Microsoft
Assembler. So, all
>> > assembler build operations fail. The fix is simple: I
merely have to get rid
>> > of my typo and change the path in this batch file. The
problem is, that the
>> > standard user does not have permissions to write to
C:\Program Files and
>> > below, so I'd have to login as Administrator on 550
machines and do this
>> > manually. I don't want to do that. Can AD be used
(perhaps via GPO) to take
>> > the updated copy of the batch file (located on a
public share) and overwrite
>> > the one currently on the client in C:\Program Files?
>> > Thanks in Advance,
>> >
>>
>> Hello SA,
>>
>> Some solutions:
>> 1. introduce a software deployment tool, like SMS - you
have 550
>> clients to manage so this will help you a lot in the
future and with
>> the problem 2. use a script to copy the file and apply
it in the
>> startup scripts GPO to the clients
>> 3. just create a simple batch which copies it to all
clients.
>>
>> --
>> Gruesse - Sincerely,
>>
>> Ulf B. Simon-Weidner
>>
>> MVP-Book "Windows XP - Die Expertentipps":
http://tinyurl.com/44zcz
>> Weblog: http://msmvps.org/UlfBSimonWeidner
>> WebSite: http://www.windowsserverfaq.org
>>
>.
>