Server Hanging at Applying Computer Settings Stage of the Logon Process

 

 

Operating system

Windows server 2008,
Windows 7,
Windows Vista

Problem

When we start a computer it stops responding and appears to hang at the "Applying User Settings" or "Applying Computer Settings" stage of the logon process.

 

Solution

As per the Microsoft articles this issue typically occurs after install a server certificate and then configure Secure Sockets Layer (SSL) on the computer. For example, we install a SSL server certificate in Internet Information Services (IIS) 7.0 and then enable HTTPS on your website to use the certificate.

This issue occurs because of a deadlock in the Service Control Manager database. The Service Control Manager tries to start the HTTP.sys service and then puts a lock in place in the Service Control Manager database. Then, HTTP.sys makes a call that requires Cryptographic Services during startup. Then, a request is sent to start Cryptographic Services. However, a lock is already in place in the Service Control Manager database. Therefore, a deadlock occurs.

Method 1

Microsoft released a Hot fix for this issue it is available from the below link http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2379016&kbln=en-us

Method 2

To resolve this issue, create a DependOnService registry key to modify the behavior of HTTP.sys. This makes HTTP.sys depend on crytosvc service to be started first.

Open the registry editor by typing the command regedit.exe with administrative privilges.

Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP

On the Edit menu, point to New, and then click Multi-string Value. Type DependOnService, and then press ENTER. Modify the value by typing the CRYPTSVC, and then click OK. Exit Registry Editor.

Restart the computer.

Method 3

Microsoft Fixit team released the fix Microsoft Fix it 50564 for solving this issue.