Monday, February 14, 2011

Server 2008 Hangs at "Applying User Settings"

Issue: We had a System running Server 2008 and when it would boot it would hang with "Applying User Settings".  When it would finally load, many of the services were not started.

Diagnosis: http://support.microsoft.com/kb/2004121 - This Microsoft Article explains the issue associated with the SCM database being locked:

sc querylock
The output below would indicate that the SCM database is locked:
QueryServiceLockstatus - Success
IsLocked : True
LockOwner : .\NT Service Control Manager
LockDuration : 1090 (seconds since acquired)


Resolution: You can modify the behavior of HTTP.SYS to depend on another service being started first.  To do this, perform the following steps:
  1. Open Registry Editor
  2. Navigate to HKLM\SYSTEM\CurrentControlSet\Services\HTTP and create the following Multi-string value: DependOnService
  3. Double click the new DependOnService entry
  4. Type CRYPTSVC in the Value Data field and click OK.
  5. Reboot the server

2 comments:

  1. I'm having this problem with windows 7 on ad domain. For some reason one of the images made and deployed to machines is having this issue, logon stucks at Applying user settings and stays there forever, or until I reboot into safe mode and logon as the administrator account and run "sc config http depend= cryptsvc" and reboot. And then it works for a month or so. Even made a new image, still not working..

    ReplyDelete
  2. Thank you! This saved my bacon when I couldn't get a system back up all the way after a network outage. I booted in safe mode, logged in with cached creds, did this registry change, and it came back like a champ.

    ReplyDelete