[gptalk] Re: When Can Script Processing Occur?

  • From: "Darren Mar-Elia" <darren@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Tue, 6 Mar 2007 12:55:08 -0800


Unfortunately scripts themselves only run during foreground events (i.e.
machine startup or user logon). During a background refresh, all that
happens is that if you add a new script to a GPO, the reference to that
script is stored in the registry for the next foreground event. If you want
to be able to run something in the background, your best bet is something
like Task Scheduler.





From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of Kopenski, Jack
Sent: Tuesday, March 06, 2007 12:35 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] When Can Script Processing Occur?


I see the references to Startup/Shutdown and Logon/Logoff scripts, but is
that the only time a script can kick off?  Or does it periodically refresh
if new or changed?

We are trying to push out the DST patch to our 2k servers and had hoped that
a startup script GPO could do this.  It works fine if the machine re-booted
but I was hoping that if the machine is always left running that the
background refresh interval would kick in and the machine would see a new
GPO it had not executed, and bingo, the script would run.  So far this has
not happened.  It does not seem to run the script without the re-boot.  Are
scripts not part of the refresh processing?


The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.

Other related posts: