Can a GPO Startup Script starts a background process and exit immediately?

Posted by pepoluan on Server Fault See other posts from Server Fault or by pepoluan
Published on 2012-06-20T04:59:50Z Indexed on 2012/06/20 9:18 UTC
Read the original article Hit count: 205

I have Googled, and not yet found an answer.

Scenario: One of my GPOs have a Startup Script that takes a long time to finish. For some reasons, we have to run the scripts synchronously. Naturally, this causes slow startup time (sometimes as long as 15 minutes!) before the Logon screen appears.

After profiling and analyzing the perpetrator script, I conclusively determined that the step where it's taking a long time to finish will not affect the result of the succesive GPOs. In other words, that particular step (and all steps afterwards) can run in the background.

My Question: Is it possible for the Startup Script to just 'trigger' another script/program that will run to completion even when the Startup Script exits? That is, the "child processes" of the Startup Script continues to live even when the Startup Script's process ends?

Additional Info: The Domain Controllers are 2008 and 2008 R2's. The workstations are Windows XP.

© Server Fault or respective owner

Related posts about active-directory

Related posts about group-policy