I wish to reduce the time taken by our computer group policy. How can I find out which scripts of which group policy are run when I boot a computer, and how much time they take each? And how do I find out how much time software installation takes for each individual policy?
We have about 40 group policies of which more than 10 are using computer startup scripts.
I already turned up the verbosity and when I boot a computer I see the message "Applying Software Installation policy", but with no further details on which software or policy is being processed.
The Windows Event viewer logs for group policy shows two events corresponding exactly to the time the above message was shown:
Event 4018 Starting Startup script for HM\DEVELOP$.
Event 5018 Completed Startup script for HM\DEVELOP$ in 21 seconds.
There aren't any group policy events in between.
All software is up to date. This makes me think it is not actually an issue with software installation, but with the computer startup scripts. Am I right?
Some of our computers are connected through a VPN with a fast internet connection. On these computers the same events are logged, but it takes 64 seconds. We feel this a bit too long.
I assume the event logs mean that each and every computer startup script is run during this time. This is not detailed enough to find the scripts that take the largest amount of time.
I already ran each of the scripts individually, but none of them takes a noticeable amount of time (command window shows and is quickly gone).