Меню

Ошибка остановки клиентской службы dhcpv4 код ошибки 0x5 значение флага завершения работы 0

  • Remove From My Forums
  • 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?

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_MACHINESYSTEMCurrentControlSetServicesDhcp

    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_MACHINESYSTEMCurrentControlSetServicesTcpip

    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

      Thursday, February 25, 2010 10:06 AM

  • Remove From My Forums
  • 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?

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_MACHINESYSTEMCurrentControlSetServicesDhcp

    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_MACHINESYSTEMCurrentControlSetServicesTcpip

    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

      Thursday, February 25, 2010 10:06 AM

Протокол динамической конфигурации хоста (DHCP) – это протокол клиент-сервер, который, по сути, позволяет подключаться к Интернету через Ethernet или WiFi. Если вы получили сообщение об ошибке « Windows не удалось запустить клиент DHCP на локальном компьютере », или если служба клиента DHCP выдает сообщение Ошибка 5 Отказано в доступе в Windows 10 , а затем прочитайте это руководство, чтобы решить проблему.

Служба DHCP-клиента выдает ошибку «Отказано в доступе»

DHCP-клиент доступен в качестве службы и передает информацию о конфигурации, такую ​​как IP-адрес, Mac-адрес, имя домена и т. Д., На компьютер. Если эта служба останавливается или ОС не может получить к ней доступ, компьютер не будет получать динамические IP-адреса и обновления DNS.

1] Проверьте разрешения для DHCP

Чтобы получить полное разрешение для раздела реестра, нажмите кнопку «Пуск», затем введите regedit в поле поиска.

Щелкните правой кнопкой мыши файл regedit.exe и выберите команду «Запуск от имени администратора». При появлении запроса введите имя пользователя и пароль и нажмите кнопку «ОК».

Перейдите к следующему ключу:

HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services DHCP Configurations

Нажмите правой кнопкой мыши клавишу Конфигурации и выберите Разрешения.

В разделе Группы или имена пользователей выберите свою учетную запись.

В столбце Разрешить в разделе Разрешения установите флажки Полный доступ и Чтение.

Нажмите Применить, затем нажмите ОК.

Если ваше имя отсутствует, нажмите кнопку «Добавить». Затем введите свое имя пользователя на компьютере и добавьте его. Затем подайте заявку на разрешения.

Далее перейдите к следующей клавише:

HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services Dhcp

Нажмите правой кнопкой мыши на ключе DHCP , выберите «Разрешения» и нажмите «Дополнительно». В столбце «Имя» выберите тот, в котором указано MpsSvc , и нажмите «Изменить».

В столбце «Разрешить» убедитесь, что установлены флажки «Запрос», «Создать значение», «Перечислить подразделы», «Уведомить», «Чтение». Возможно, вам придется нажать «Показать дополнительные разрешения», чтобы открыть полный список разрешений.

Нажмите ОК, чтобы закрыть окно, затем нажмите Применить, затем нажмите ОК.

Если MpsSvc отсутствует в списке, нажмите «Добавить», а затем выполните поиск « NT SERVICE mpssvc ». Добавьте это и примените вышеуказанные разрешения.

2] Перезапустите службу DHCP .

После применения всех разрешений, вот последняя проверка, которую вы должны выполнить. Откройте services.msc, найдите службу DHCP-клиент и проверьте, работает ли она. Нажмите на Стоп, а затем запустите его снова. Также убедитесь, что для его типа запуска установлено значение Автоматически . Многие другие сетевые сервисы зависят от этого, и если это не удастся, то и другие.

Сообщите нам, помогли ли эти советы решить вашу проблему

Связанное чтение . Windows не удалось запустить службу. В доступе отказано.

  • Remove From My Forums
  • 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?

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_MACHINESYSTEMCurrentControlSetServicesDhcp

    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_MACHINESYSTEMCurrentControlSetServicesTcpip

    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

      Thursday, February 25, 2010 10:06 AM

Если вы не можете подключиться к Интернету с помощью Wi-Fi или локальной сети, поскольку служба DHCP-клиента не может запуститься, и в журнале событий появляется сообщение «Ошибка 5: доступ запрещен», прочтите это руководство, чтобы устранить эту проблему.

Проблема «Не удалось запустить службу DHCP-клиента на локальном компьютере. Ошибка 5: доступ запрещен» может возникнуть на любом компьютере под управлением Windows (с ОС Windows 7, 8 или 10) после обновления Windows или после заражения вредоносным ПО, которое скомпрометировало разрешения в службе клиента DCHP или в любой другой службе, которая требуется от системы для доступа к сети и Интернету или для бесперебойной работы.

Когда служба DHCP остановлена ​​(или не может быть запущена), на вашем устройстве возникают следующие симптомы / проблемы:
1. В средстве просмотра событий появляется сообщение об ошибке «Windows не удалось запустить службу DHCP-сервера на локальном компьютере. Ошибка 5: доступ запрещен».
2. Ваше сетевое соединение (WiFi или LAN) не работает.
3. Вы получите красный значок X на значке сети, который указывает, что ваше сетевое соединение не работает.
4. Вы получите желтый восклицательный знак на значке сети, что у вас есть ограниченный доступ в сети.
5. Вы не можете получить доступ к локальной сети или Интернету («Нет доступа к Интернету» или «Ограниченный доступ»).

Как ИСПРАВИТЬ: Не удается запустить службу DHCP: доступ запрещен (Windows 10/8/7)

Шаг 1. Сканирование на наличие вирусов и вредоносных программ.

Вирусы или вредоносные программы могут привести к ненормальной работе вашего ПК. Поэтому, прежде чем продолжить устранение неполадок, воспользуйтесь этим Руководством по сканированию и удалению вредоносных программ, чтобы проверить и удалить вирусы и / или вредоносные программы, которые могут работать на вашем компьютере.

Шаг 2. Измените разрешения реестра DHCP и TCPIP.

Первый способ решения проблемы «DHCP Cannot Start — Access Denied» — предоставить права полного доступа для объектов «NETWORKSERVICE» и «NT SERVICE DHCP» по следующим ключам: DHCP TCP / IP /. Для этого:

1. Одновременно нажмите Windows образ + р ключи, чтобы открыть окно запуска команды.
2. Тип смерзаться и нажмите Войти.

смерзаться

3. На левой панели перейдите к этой клавише:

  • HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services Dhcp

4. Щелкните правой кнопкой мыши на DHCP ключ и выберите права доступа.

исправить не удается запустить службу DHCP

5. щелчок Добавлять, тип сетевой сервис и нажмите ХОРОШО.

DHCP не может начать доступ запрещен

6. щелчок Добавлять снова введите нт сервис dhcp и нажмите ХОРОШО.

DHCP-доступ запрещен

7. Выберите «СЕТЬ СЕРВИС» и проверьте Полный контроль установите флажок для предоставления полного доступа к сетевому сервису для ключа DHCP и нажмите хорошо.

Ошибка DHCP-доступа запрещена 5

8. Выберите «Dhcp» и проверьте Полный контроль поле, чтобы предоставить «Dchp» полный контроль доступа к ключу DHCP и нажмите хорошо.

Ошибка доступа клиента DHCP 5

9. Затем перейдите к следующей клавише:

  • HKEY_LOCAL_MACHINE SYSTEM CurrentControlSet Services Tcpip

10. Выполните те же шаги (4-8) и дайте полные разрешения для «NETWORKSERVICE» и «NT SERVICE DHCP» на TCPIP ключ.

11. Когда закончите, закройте редактор реестра и перезапуск ваш компьютер.
12. После перезапуска проверьте, устранена ли ошибка «Клиент DHCP не запускается». Если нет, то переходите к следующему шагу.

Шаг 3. Исправление «DHCP-клиент: доступ запрещен» из командной строки.

1. Откройте командную строку с повышенными привилегиями {Командная строка (Admin)}. Для этого:

а. В поле поиска введите: CMD или командная строка
б. Щелкните правой кнопкой мыши на командная строка (результат) и выберите Запустить от имени администратора.

администратор командной строки

2. В командной строке введите следующую команду, чтобы добавить «NT Authority Local Service» в группу «Администраторы» и нажмите Войти:

  • NET LOCALGROUP администраторы «NT Authority Local Service» / добавить

3. Когда закончите, дайте эту команду, чтобы сбросить каталог Winsock в чистое состояние и нажмите Войти:

  • netsh каталог сброса winsock

сбросить каталог winsock

4. Перезагрузка ваш компьютер, в соответствии с инструкциями, а затем проверьте подключение к Интернету.

Это! Дайте мне знать, если это руководство помогло вам, оставив свой комментарий о вашем опыте. Пожалуйста, любите и делитесь этим руководством, чтобы помочь другим.

Hi,

Quick overview of our clients setup. 2 servers, SBS2003 and server 2008R2. The SBS2003 server was the domain controller and the server 2008 R2 was used for storage etc. The SBS2003 server was showing its age and running low on space so we decided to buy
new drives and copy the data from SBS2003 server to 2008R2 server.

No problem copying the data. We then did research online about promoting server 2008R2 to become the domain controller.

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_23869071.html

We ran adprep /forestprerp and adprep /domainprep on the SBS2003 server.

We then promoted server 2008 r2 using dcpromo

We installed AD and DNS etc

At this point it was necessary to restart the server. It took a long time for the server to come back up (sat at applying computer settings). When we logged back in multiple services failed to start:

DHCP

Windows Firewall

Network Location Awareness

Network Link

AD and DNS were working fine and it migrated all the users etc in AD but because the services failed to start nothing was working on the client side. We researched online and found various articles stating that the errors we were seeing in event viewer were
permission based errors as were getting access denied error 5. We edited various registry keys and managed to get DHCP and the Firewall services to start automatically. However we have not been able to get the network location awareness service or the network
list service started and the connection icon in the system tray has a red x through it and in connectiopn properties it says IPv4 not connected, IPv6 not connected but we were able to browse the network.

The Network Location Awareness service terminated with service-specific error %%-1073741288.

Error occurred in stopping the Dhcpv6 client service. ErrorCode is 0x5.ShutDown Flag value is 0.

The Network List Service service depends on the Network Location Awareness service which failed to start because of the following error:

The service has not been started.

We then transfered the FSMO roles accorss to the 2008r2 server without any problems, however this did not rectify the above or below issues.

All client machines at this poing were not able to RDP into the server (they run various real estate programs via RDP sessions to the 2008 r2 server) In order to get RDP access to the server working we had to disable the windows firewall, disbale network
awareness and network link. The clients were then able to RDP into the server. However because the firewall is disabled printing no longer works via RDP or directly from the printer. There are no files in the print queue and restarting the print spooler service
does not help at all.

My questions now follow…

1. Did we miss a step or do the procedure incorrectly. we followed the experts exchange guide word for word

2. How can we get the network location awareness, network list and firewall services to start automatically as they were doing before we promoted the server to domain controller.

3. How did promoting a server 2008 r2 server in an existing SBS2003 domain cause so many failures to occur.

Any and all help would be greatly appreciated as we need to get these issues fixed, especialy the printing as they rely heavily on printing.

Thanks

SmileIT

  • Moved by

    Monday, November 29, 2010 9:36 AM
    sbs (From:Migration)

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка оперативной памяти синий экран
  • Ошибка оперативной памяти при запуске windows