[gptalk] Re: Run Once GPO

  • From: "Alan & Margaret" <syspro@xxxxxxxxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Fri, 19 Sep 2008 07:28:02 +1000

Hi Ben,


Preferences to the rescue!


The new preferences support the ability to Apply Once. You could either
create a "runonce" registry preference entry with the Apply Once option
enabled on the preference, or you could create an immediate task (it's a sub
option of a scheduled task preference), also with the RunOnce option to run


There are a couple of things that you would need to consider:-

1.       I suspect the RunOnce registry key won't be honored until you logon

2.       It will run asynchronously to the logon process (which I think is
what you are doing anyway)

3.       You need to make sure that the preference is only created after the
software is installed, so you may need to filter the preference based on the
exe file being present



1. The Preference CSE's must be installed on all machines and is supported
on XP SP2 and Vista

2. Preferences can be managed on a 2008 server. You can also install RSAT on
a Vista SP/1 machine to manage Preferences    


Alan Cuthbertson



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



ADM Template Editor(Now with ADMX support):-



Policy Log Reporter(Free)






From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Sent: Friday, 19 September 2008 1:24 AM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Run Once GPO


Is it possible to create a group policy that sets a program to run once and
then not run again?


We have deployed the Microsoft EFS Assistant application to company laptops,
however it needs to run at least once to do its initial encryption run.
However it seems to hit machines hard for about 10 to 15 minutes on average
after a logon when set to run at every login.  I would prefer to have it run
once and then not run again unless manually invoked by the user.


Is this possible?



Best way to annoy your <http://abcnews.go.com/print?id=5351908>  co-workers?


Other related posts: