Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I shutdown or reboot a couple of my Windows 2008 servers they hang for a long time and display the messaging "Shutting down Group Policy Client service ...".

This forum post seems to suggest that this may be related to a buggy shutdown script, but there are no group policies that have shutdown scripts that should be applied to these systems.

Is there any logging that I can enable to identify what is causing the problem Or, what tools can I use to figure out how to fix this.

If I cannot fix this, is there a way to adjust the amount of time windows waits and retries so I can minimize the length time the system waits?


share|improve this question
up vote 4 down vote accepted

You could try turning on verbose Group Policy logging. Create the registry key:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics

Underneath that key, create a REG_DWORD value named RunDiagnosticLoggingGlobal and set the value to 1.

That will enable verbose group policy logging to the Application Event Log.

The only timeout that Group Policy has that I'm aware of is the timeout for script execution. My gut would've said this was a shutdown script problem, but since you indicate there are no shutdown scripts being applied I guess I'd have to write that guess off.

You say "...that should be applied..." in reference to the shutdown scripts. Have you run an RSoP to be sure? Unless you're the only person managing the GPOs I don't know that I'd trust things to be left as you expect them.

How long is the hang, anyway? The default script timeout is 10 minutes. If you're seeing an exactly 10 minute hang then I'd be double and triple-checking that a shutdown script hasn't gotten assigned. To change that timeout, have a look at the "Maximum wait time for Group Policy scripts" setting in the "Scripts" sub-node of the "System" node of "Administrative Templates" in Group Policy.

share|improve this answer
Both the registry tweak and the reminder to check the RSoP where helpful. It turns out there was a shutdown script, and it was broken on 64bit systems. – Zoredache Jul 1 '09 at 7:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.