[gptalk] Re: RES: Re: Open exe file with GPO

  • From: "Alan & Margaret" <syspro@xxxxxxxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Tue, 18 Nov 2008 08:08:57 +1100



I am not sure whether you want the exe file to launch:-

1.       The moment you change the GPO,

2.       The next time you run GPUPDATE after the change

3.       Every time you run gpupdate 

4.       When the user next logs on.


the User Configuration - System - Logon - Run these program at logon
solution will achieve 4.

The new Group Policy Preferences has an option to "Schedule an immediate
task". This option should achieve 3

The new Group Policy Preferences has an option to "Schedule an immediate
task" and you can set "apply once and do not reapply". This should achieve 2

option 1 requires you to set up the preferences and then trigger a gpupdate
on every machine. I think this can only be achieved by writing a program (or
buy one) that you launch from the central machine that will list all of the
machines currently online and trigger a gpupdate on each. 

Note: I am working from the Help screen for preferences. I have never
actually tried it. The preferences allow you to set up a scheduled task with
an option to run at a particular time. I suspect that this will not run if
the gpupdate occurs after that time. It also allows you to define a task to
"run immediate" but this is only available for XP machines. Not sure what
you can do for Vista.


Alan Cuthbertson



 Policy Management Software (Now with ADMX and Preference support):-



ADM Template Editor(Now with ADMX support):-



Policy Log Reporter - including Preference logging(Free)







From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Maurit Pereira Fagundes
Sent: Tuesday, 18 November 2008 12:26 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] RES: Re: Open exe file with GPO




I think it will not work. I update da GPO after logon. I need to find a way
through GPO that when i update it, it opens an exe file.


Any ideas?


Thanks in advance!



De: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] Em nome
de dharmendra kumar
Enviada em: domingo, 16 de novembro de 2008 10:59
Para: gptalk@xxxxxxxxxxxxx; gptalk@xxxxxxxxxxxxx
Assunto: [gptalk] Re: Open exe file with GPO


 Hi - 

You can create a batch script on user logon Or use User Configuration -
System - Logon - Run these program at logon



-----Original Message-----
From: maurit.fagundes@xxxxxx
Sent: Fri, 14 Nov 2008 17:23:49 -0200
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Open exe file with GPO

Hello everybody!


I am developing a software that has a customized GPO and it creates a local
windows XP user too. So, everytime a user logs on using the account created
by my program, it copies the customized GPO to
C:\WINDOWS\system32\GroupPolicy and makes a backup of the original GPO. Then
i run the gpupdate command...


When i logon with another user, i copy the original GPO back to original


my problem is: i need to open an exe file right after the gpupdate command
is applied. Can someone recommend the right GPO to open a exe file?


thanks in advance!!


 <http://www.inbox.com/notifier>  <http://www.inbox.com/notifier> Email
Notifier Preview <http://www.inbox.com/notifier>
Receive Notifications of Incoming Messages
Easily monitor multiple email accounts & access them with a click. Visit
www.inbox.com/notifier and check it out!

*********************** You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
logging into the freelists.org Web interface. Archives for the list are
available at http://www.freelists.org/archives/gptalk/

Other related posts: