Group Policy to call a batch file



Hi,

I am trying to call a batch file which will install a software from a
particular drive which is shared by the entire organization.

I would like to execute this batch file when any user logs onto the
computer. How will I go about doing this.

Note: Let me give an example.

I have an OU called TEST
--- Computer
--- User

I tried linking the policy to the TEST OU and it did not execute. The batch
file is linked to the User Configuration\Logon. I then tried linking it to
the COMPUTER OU and it did not execute on that computer no matter who the
user is. I linked it to the User OU and it executed only for that user who
was in the user OU.

There has been lots of problems with the AD in this organization and I am
new to it. I have to get a file pushed by Monday night, I would appreciate
if experts could let me know what would be the right way for me to get this
pushed. It is not an MSI file. It is a batch file and it is calling an EXE
file which is from a shared drive for all users.

Appreciate your help guys/gals!

thanks in advance!


.



Relevant Pages

  • Re: SEPKILL /im SMC.EXE /f
    ... ::Save the following as a batch file and execute it. ... can't reproduce on my test systems or requires administrator privileges ...
    (Bugtraq)
  • Re: SEPKILL /im SMC.EXE /f
    ... Subject: SEPKILL /im SMC.EXE /f ... ::Save the following as a batch file and execute it. ...
    (Bugtraq)
  • Re: Batch file and MFC
    ... ShellExecute will look up the .bat file name and launch a process that will execute the ... Overall, I find the batch file approach to be rather primitive, a real throwback ... able to cause a restart of the system. ... nearly all the historical reasons for requiring a restart have gone away. ...
    (microsoft.public.vc.mfc)
  • My VBS script requires I pass the SMS package dir to it during execution. How can I accomplish this?
    ... I have a VBS script that I am attempting to execute ... from a batch file in SMS 2003. ... but my install routine fails when it tries to find the MSI location. ... My goal here is to execute this install without leaving ...
    (microsoft.public.sms.swdist)
  • Re: xp_cmdshell default path (system32) problem
    ... building a batch file in code and then ... it will NOT actually execute the delete if the patch I supply is not valid. ... I'm use xp_cmdShell to execute "erase" command like ...
    (microsoft.public.sqlserver.programming)