Microsoft KB Archive/927269

From BetaArchive Wiki
Knowledge Base


The "Preparing network connections" stage of startup takes longer than two minutes after you install security update 914388 on a Windows 2000-based computer

Article ID: 927269

Article Last Modified on 7/5/2007



APPLIES TO

  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Service Pack 4



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


SYMPTOMS

When you start a Microsoft Windows 2000-based computer, the "Preparing network connections" stage of startup takes longer than two minutes. Additionally, an event that resembles the following is logged in the System log:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7022
Date: Date
Time: Time
User: User Name
Computer: Computer Name
Description: The DHCP Client service hung on starting.

This problem occurs after you install security update 914388 on the computer.

Note Security update 914388 is described in security bulletin MS06-036.

CAUSE

This problem occurs because of a dependency between the DHCP Client service and the Protected Storage service. Security update 914388 introduces this dependency. Therefore, this problem occurs after you install security update 914388.


During the DHCP Client service's startup process, the Protected Storage service may not start. When this happens, the DHCP Client service changes its status to "Starting." The Service Control Manager (SCM) cannot start other services until the DHCP Client service changes its status to "Started" or to "Failed." The DHCP Client service takes several minutes to change its status. Therefore, the "Preparing network connections" stage of startup takes longer than two minutes.

WORKAROUND

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this problem, add the ProtectedStorage dependency to the DHCP Client service. To do this, follow these steps:

  1. Click Start, click Run, type regedt32, and then click OK.
  2. Locate and then click the following registry subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp

  3. In the details pane, double-click DependOnService.
  4. In the Value data box, position the pointer underneath any existing values, type ProtectedStorage, and then click OK.
  5. Exit Registry Editor.
  6. Restart the DHCP Client service.


MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

914388 MS06-036: A vulnerability in the DHCP Client Service could allow remote code execution



Call stack information

The Winlogon.exe process waits for the Netlogon service to start.

f8dafcdc 8042bd6c f8dafd64 0006fe90 0006fe98 nt!KiSwapThread+0xc5
f8dafd04 80526145 00000001 00000000 f8dafd34 nt!KeDelayExecutionThread+0x180
f8dafd54 80465014 00000000 0006fe98 00000000 nt!NtDelayExecution+0x7f
f8dafd54 77f883a3 00000000 0006fe98 00000000 nt!_KiSystemService+0xc4
0006fe80 7c59a28f 00000000 0006fe98 7c59a24f ntdll!NtDelayExecution+0xb
0006fea0 7c59a25a 000001f4 00000000 01006985 KERNEL32!SleepEx+0x32
0006feac 01006985 000001f4 00000000 0001d4c0 KERNEL32!Sleep+0xb
0006feec 01006a9c 0000b329 0001d4c0 5ffa0000 winlogon!WaitForServiceToStart+0x120
0006ff08 01002c2f 00076100 5ffa0000 00076100 winlogon!WaitForServices+0x8e
0006ff20 01007e8c 00076100 00000005 0007352c winlogon!MainLoop+0x26
0006ff58 0100af70 00071fc8 00000000 0007352c winlogon!WinMain+0x37a
0006fff4 00000000 7ffdf000 000000c8 00000100 winlogon!WinMainCRTStartup+0x156

kd> du 0x1006af8
01006af8 "NETLOGON"

The Service Control Manager is waiting for the DHCP Client service to start. Therefore, the Service Control Manager cannot start the Netlogon service. The DHCP Client service cannot start because of a service dependency.

ChildEBP RetAddr Args to Child
f8e7fcdc 8042bd6c f8e7fd64 0083f5f0 0083f5f8 nt!KiSwapThread+0xc5
f8e7fd04 80526145 00000001 00000000 f8e7fd34 nt!KeDelayExecutionThread+0x180
f8e7fd54 80465014 00000000 0083f5f8 00000006 nt!NtDelayExecution+0x7f
f8e7fd54 77f883a3 00000000 0083f5f8 00000006 nt!_KiSystemService+0xc4
0083f5e0 7c59a28f 00000000 0083f5f8 00000001 ntdll!NtDelayExecution+0xb
0083f600 7c59a25a 00001388 00000000 7c7bc03b KERNEL32!SleepEx+0x32
0083f60c 7c7bc03b 00001388 00000000 0083fc60 KERNEL32!Sleep+0xb
0083fb60 7c744ad2 7c7bac39 0083fbb8 0083fbb0 CRYPT32!WaitForCryptService+0x18c
0083fb64 7c7bac39 0083fbb8 0083fbb0 0000000a CRYPT32!BindA+0x5
0083fbec 7ca18615 0083fc60 00000000 0083fc68 CRYPT32!CryptUnprotectData+0x68
0083fc1c 7ca18cb1 0083fc60 00000000 0083fc68 rsaenh!DllUnregisterServer+0xb17d
0083fc70 7ca1a4b5 00000020 00dd029a 000000a8 rsaenh!DllUnregisterServer+0xb819
0083fd64 7ca0aa12 00000001 00000090 00000020 rsaenh!DllUnregisterServer+0xd01d
0083fd8c 7ca0bd6f 000b6190 000b5b00 00000060 rsaenh!CPVerifySignature+0x3d9
0083fdd4 7ca0bfbe 00000000 00000060 0083fe10 rsaenh!CPVerifySignature+0x1736
0083fdfc 7c2df20b 0083fe28 00000000 00000060 rsaenh!CPAcquireContext+0x35
0083febc 7c2df397 0083ff68 00000000 00000000 ADVAPI32!CryptAcquireContextA+0x6ca
0083ff24 7736592a 0083ff68 00000000 00000000 ADVAPI32!CryptAcquireContextW+0xb8
0083ff4c 77365996 0083ff68 77360000 7c590cab dhcpcsvc!DhcpAcquireCryptContext+0x33
0083ff6c 01005cb0 00000001 000a2800 010173a0 dhcpcsvc!ServiceEntry+0x38
0083ff8c 01005cd0 0100671c 00000001 000a2800 services!SvcLoadDllAndStartSvc+0x55
0083ffa4 7c2dcf43 00000001 000a2800 006ef9c4 services!SvcServiceEntry+0x3b
0083ffb4 7c57b388 000a27f8 00000000 006ef9c4 ADVAPI32!ScSvcctrlThreadA+0xe
0083ffec 00000000 7c2dcf33 000a27f8 00000000 KERNEL32!BaseThreadStart+0x52

Keywords: kbexpertiseadvanced kbtshoot kbprb KB927269