none
An error occurred in initializing DHCPv4. Error Code is 0x5 RRS feed

  • Question

  • Hi,

    We have just started upgrading our DC from 2003 R2 to 2008 R2 and we have had a few bumps on the way and Ive run into another one.

    ever so often we recieve the following error message in the event log.

    Log Name:      System
    Source:        Microsoft-Windows-Dhcp-Client
    Date:          24/02/2010 21:00:52
    Event ID:      50038
    Task Category: Service State Event
    Level:         Error
    Keywords:     
    User:          LOCAL SERVICE
    Computer:      **
    Description:
    An error occurred in initializing DHCPv4. Error Code is 0x5
    Event Xml:
    <Event xmlns="
    http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Dhcp-Client" Guid="{15A7A4F8-0072-4EAB-ABAD-F98A4D666AED}" />
        <EventID>50038</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>4</Task>
        <Opcode>70</Opcode>
        <Keywords>0x2000000000000000</Keywords>
        <TimeCreated SystemTime="2010-02-24T21:00:52.973238100Z" />
        <EventRecordID>9729</EventRecordID>
        <Correlation />
        <Execution ProcessID="888" ThreadID="3736" />
        <Channel>System</Channel>
        <Computer>***</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="StatusCode">5</Data>
      </EventData>
    </Event>

    Log Name:      System
    Source:        Microsoft-Windows-Dhcp-Client
    Date:          24/02/2010 21:00:52
    Event ID:      1004
    Task Category: Service State Event
    Level:         Error
    Keywords:     
    User:          LOCAL SERVICE
    Computer:      **
    Description:
    Error occurred in stopping the Dhcpv4 Client service. Error code is 0x5. ShutDown Flag value is 0
    Event Xml:
    <Event xmlns="
    http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Dhcp-Client" Guid="{15A7A4F8-0072-4EAB-ABAD-F98A4D666AED}" />
        <EventID>1004</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>4</Task>
        <Opcode>78</Opcode>
        <Keywords>0x2000000000000000</Keywords>
        <TimeCreated SystemTime="2010-02-24T21:00:52.973238100Z" />
        <EventRecordID>9730</EventRecordID>
        <Correlation />
        <Execution ProcessID="888" ThreadID="3736" />
        <Channel>System</Channel>
        <Computer>**</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="StatusCode">5</Data>
        <Data Name="DwordVal">0</Data>
      </EventData>
    </Event>


    I have trid change the DHCP Clinet persmissions with no look.

    Been having a look around and not found anything about this message. Anyone got any ideas?
     
    Thursday, February 25, 2010 9:14 AM

Answers

  • Method 1: Use Registry Editor

    To use Registry editor to resolve this problem, follow these steps:
    1. On the upgraded Windows Server 2003-based domain controller, click Start, click Run, type regedit in the Open box, and then click OK.
    2. Locate and then right-click the following registry subkey:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
    3. Click Permissions, click Add, type network service, and then click OK.
    4. Click to select the Full Control check box in the Allow column of the Permissions for NETWORK SERVICE box, and then click OK.
    5. Locate and then right-click the following registry subkey:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip
    6. Click Permissions, click Add, type network service, and then click OK.
    7. Click to select the Full Control check box in the Allow column of the Permissions for NETWORK SERVICE box, and then click OK
    • Marked as answer by OptimAdam Thursday, February 25, 2010 10:06 AM
    Thursday, February 25, 2010 10:05 AM

All replies

  • Method 1: Use Registry Editor

    To use Registry editor to resolve this problem, follow these steps:
    1. On the upgraded Windows Server 2003-based domain controller, click Start, click Run, type regedit in the Open box, and then click OK.
    2. Locate and then right-click the following registry subkey:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
    3. Click Permissions, click Add, type network service, and then click OK.
    4. Click to select the Full Control check box in the Allow column of the Permissions for NETWORK SERVICE box, and then click OK.
    5. Locate and then right-click the following registry subkey:
      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip
    6. Click Permissions, click Add, type network service, and then click OK.
    7. Click to select the Full Control check box in the Allow column of the Permissions for NETWORK SERVICE box, and then click OK
    • Marked as answer by OptimAdam Thursday, February 25, 2010 10:06 AM
    Thursday, February 25, 2010 10:05 AM
  • hello. i have the same issue. the dhcp client service will not start and the log on account is local service. the registry entries are ok and the server rebooted but no luck. also some other services are down like windows firewall, network location awareness,  ike and authip ipsec keying modules, and base filtering agent. 

     

    possible causes, maybe after today's updates...! maybe asfter uninstalling search server 2008 express/

    Wednesday, April 14, 2010 12:00 PM
  • Hello. Are there any progress? I was already stucked on this problem for long long times.We have windows 2003 domain enviroment. Once the windows 7 and windows 2008 join the domain they cannot obtain IP or even start the DHCP service. I'm sure the registry are corretly configured. And i think this should be the problem of domain group policy.
    Tuesday, February 21, 2012 7:00 AM