troubleshooting Question

Getting GPO startup/logon scripts to run and to execute their commands

Avatar of hypercube
hypercubeFlag for United States of America asked on
Active DirectoryScripting Languages
13 Comments1 Solution30 ViewsLast Modified:
I'm developing a number of GPOs.  Some of them have computer startup scripts and some create Task Scheduler tasks.
I found, to my surprise, and then not so surprising...., that the scripts had not run or, if they did, they didn't create the Task Scheduler tasks running "schtasks" buried in the script.
It seems that's because no one had logged on with local admin privileges - ever.
Once that had been done, it seems that the scripts ran and the Task Scheduler tasks appeared as was the original intent.

I hadn't anticipated this and now I'm looking for a solution to the rather obvious:
If a workstation is never logged on with a User having admin privileges (or the equivalent), then how does one get the GPO startup or logon scripts and their contents to run successfully?
Or, is the approach to force an admin logon to complete the process?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros