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:
- Open Registry Editor
- Navigate to HKLM\SYSTEM\CurrentControlSet\Services\HTTP and create the following Multi-string value: DependOnService
- Double click the new DependOnService entry
- Type CRYPTSVC in the Value Data field and click OK.
- Reboot the server
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..
ReplyDeleteThank 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