Wdsclient ошибка при получении ip адреса от сервера dhcp

  • Remove From My Forums
  • Вопрос

  • Доброго времени суток.

    Есть проблема связаная с работой WDS на Windows Server 2008 R2. PXE клиент стартует олично происходит получение IP адреса от DHCP сервера, выбираю образ загрузки после чего получаю сообщение
    «WDSClient: ошибка при получении IP-адреса от сервера DHCP. Проверьте наличие рабочего DHCP-сервера в данном сегменте сети».

    До этого сервер писал что он не может найти сетевой драйвер и просил включить его в образ загрузки, что я собственно говоря и сделал. Но теперь вот эта ошибка!Товарищи IT специалисты помогите в решении этой проблемы, потому что вариантов
    для её решения у меня нет.

    Спасибо заранее за помощь

Ответы

  • Не работает на конкретном оборудовании или во всей сети? Судя по всему на конкретном, раз драйвер искали. Очень вероятно, что драйвер кривой. Если образ загрузки у Вас взят от 7 32, то и драйвер сетевой нужен для 7 32. Аналогично для всех остальных систем.
    WDS и DHCP у Вас работают корректно и выдают именно то, что и должны. Сначала DHCP адрес получает адаптер, а потом образ PE подгружает драйвер и получает адрес уже сам. Вот в драйвере и проблема.


    Все, указанное выше, является моим личным мнением. Если Вам помогли предложенные рекомендации, пожалуйста, помечайте их, как ответ. Это поможет другим пользователям быстрее найти решение.

    • Помечено в качестве ответа

      22 августа 2011 г. 8:22

  • Remove From My Forums
  • Question

  • Hi!

    I’m trying to deploy a WDS server for a while, but I get the next error (but then in dutch):
    WdsClient: An error occurred while obtaining an IP address from the DHCP server. Please check to ensure there is an operational DHCP Server on this network segment.The
    server I work with is Server 2012R2.

    What I have tried:

    • Downloaded and implemented all 16 ethernet drivers for the client (HP Probook 430 G2) by the WDS «add drivers» feature.
    • Implemented all drivers from an official W7 «Applications and Driver Recovery DVD» in WDS. (this solved an missing driver error earlier)
    • tried a different boot.wim and install.wim from another Windows 7 pro .iso.
    • Tried 4 different HP computers (3 laptops and 1 desktop). one of these laptops is my own computer, which worked fine by another WDS server from my last traineeship.
    • Installed the server on a different computer.
    • Reinstalled the Server like 4 times totally.
    • Rebuilded everything in VMware Workstation, everything works fine in here untill I connect a physical computer by peer-to-peer cable, than I get the error again (drivers from HP site and CD as told above are added).
    • The different networks I tried: a cisco switch with 4 clients and 1 server attached, nothing more. I read about the portforwarding problem in cisco switches, so I tried peer-to-peer between a physical Server and client and like I said between a virtual
      switch in vmware.
    • First installed the server with the DHCP role, tested the connections, IP addresses are leased and I can ping while clients are in Windows 7.
    • I get the error while running the setup from the boot.wim, so I have a connection with the server, however if I start a command prompt by SHIFT+F10 and put «ipconfig» in, the results are pretty empty: «Windows IP-configuration«.
      Even after a few minutes I have no IP configuration. Results of the command «ipconfig /renew» is: «An error occured while releasing interface Loopback Pseudo-Interface 1: The system cannot find the file specified.«
    • DHCP configuration on active scope: 60 «PXEClient» and 66 for the ip address of my WDS server.
    • DHCP properties in WDS: «Do not listen on DHCP ports» and «Configure DHCp options to indicate that this is also a PXE server» are enabled because my Windows DHCP role is active beside the WDS role on the same phisical server.
    • Configured the windowssystem32startnet.cmd succesfully in a mounted image 3 times from different suggestions, doesn’t help me either.

    I read aslwell that it could be something with HP. I only have 1 DHCP server active to be clear. I’m not using DNS. My teachers at school can’t help me, I hope someone here can! I would be amazing happy if the problem wille be solved.

    Thanks!

Answers

  • Hi Alex,

    >> I get the error while running the setup from the boot.wim, so I have a connection with the server, however if I start a command prompt by SHIFT+F10 and put «ipconfig» in,
    the results are pretty empty: «Windows IP-configuration». Even after a few minutes I have no IP configuration. Results of the command «ipconfig /renew» is: «An error occured while releasing interface Loopback Pseudo-Interface 1: The
    system cannot find the file specified.»

    According your description,it seems to be a driver issue. As far as I know,you should  extract and only add the  corresponding Drivers into the boot image,if you added them all, you will
    getting hardware errors on the PC.

     
    Best Regards,

    Cartman

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you
    have feedback for TechNet Support, contact
    tnmff@microsoft.com.

    • Marked as answer by

      Thursday, March 10, 2016 9:33 AM

jerichoussr

При загрузке образа с WDS появляется ошибка

WdsClient: ошибка получения IP-адреса от сервера DHCP.

Не могу понять, что делать.
я пробовал подкидывать драйвера вручную по инструкции.

https://support.microsoft.com/ru-ru/kb/923834

Пробовал через сам WDS к boot образу докидывать драйвера, но все равно ничего.
Может я что-то не то делаю? Кто-нибудь сталкивался с такой бедой?
Сам wds настроен нормально, потому что такая проблема не на всех компах. Wds+DHCP и порт настроен нормально.
Спасибо


  • Вопрос задан

    более трёх лет назад

  • 2811 просмотров

Пригласить эксперта

WdsClient: ошибка получения IP-адреса от сервера DHCP.

Где вы такое ловите?
Вообще, встречал такие сетевки встроенные, на которых PXE отказывался работать вообще. Ссылаюсь на кривизну чипа сетевой карты.

Проблема скорее всего с драйверами. Если сделать shift+F10, ipconfig /all, то видно что сетевухи нет. Значит драйвера на нее не установились в загрузочном образе.
С аналогичной проблемой сталкиваюсь не первый раз. Обычно легко интегрируются драйвера. Сейчас на intel i219 не получается. Новые матери h410 не поддерживаются из коробки последним релизом W10 (2004).

Возьмите образ boot.wim из Windows Server 2022, на нём всё работает.

WDS стоит на Windows server 2019, разворачиваю Windows 10
Проблема актуальная до сих пор, причем проблема на сетевых картах intel i219 и выше. Дистрибутив свежий, версия сборки 10.0.19041 . Драйвера в образе на сетевые карты есть


  • Показать ещё
    Загружается…

09 июн. 2023, в 01:21

10000 руб./за проект

09 июн. 2023, в 01:06

50000 руб./за проект

09 июн. 2023, в 00:36

1000 руб./за проект

Минуточку внимания

I have a problem with a Dell 7040 desktop pc. I received the following message.

WDSclient: an error occured while trying to obtain an IP address from the DHCP server. Please check to

ensure that there is an operational DHCP server on this network segment»

Error comes after loading pxe boot. it only comes while loading the install image. on command propmpt i

cant see an ip address.2012.
I created boot and install image of windows 10. injected network drivers of the Dell pc in boot.
Windows 7 image is working fine, problem is with windows 10 image. Even i syprep wim image from the same

dell machine. still same error.

plz advise as im totaly stuck.

Thanks.

check
Best Answer

  • Author Tufail Shah

    Hi George,

    Today i fixed the issue.

    Before i created boot image on wds
    from windows 10 DVD containing 1507 build which has issues.

    I got an idea to create the boot
    image from win 10 build 1607 wich i dowloaded from microsoft.

    I created the boot image again with
    new build and hurray…!! that creepy error gone and installation was successful.

     Everyone plz create your win10 boot
    image from windows 10 latest build. Like 1607 or 1703. I did through 1607.

    Much appreciated for your detailed reply.

     best..


    1 found this helpful
    thumb_up
    thumb_down

  • View Best Answer in replies below

    Read these next…

    • Curated Remote Desktop/SSH Management

      Remote Desktop/SSH Management

      Software

      Hello All:I’m building a mini PC to be a video encoder using Ubuntu 22.04 or whatever the latest version to do live streaming to Youtube for my car racing event. The PC will be installed inside the race car running off a 12v to 19v converter and I will ha…

    • Curated good image drawing program

      good image drawing program

      Windows

      hi all,i just want to know a good imaging tool for windows, so i can draw my network topology, needs to be free like paint.net, gimp etcthanks,rob

    • Curated Snap! -- Alien Signals, UFO Technology, Robot Dog Opens Doors, 50TB Hard Drives

      Snap! — Alien Signals, UFO Technology, Robot Dog Opens Doors, 50TB Hard Drives

      Spiceworks Originals

      Your daily dose of tech news, in brief.

      Welcome to the Snap!

      Flashback: June 8, 1978: Intel introduces the 16-bit 8086 processor (Read more HERE.)

      Bonus Flashback: June 8, 1965: Luna 6 is launched, eventually missing the Moon by 99,000 mi…

    • Curated Stop ex-users from auto-forwarding personal emails to work emails [EXCHANGE]

      Stop ex-users from auto-forwarding personal emails to work emails [EXCHANGE]

      Collaboration

      Most seem to have the opposite problem; I’ve already stopped people from auto-forwarding from their work email to their personal mailbox.Somehow, a previous employee has set up their personal e-mail to auto-forward to their old work e-mail. The email was …

    • Curated Best Method for Testing HDMI Cables?

      Best Method for Testing HDMI Cables?

      Hardware

      I work at a school. We have interactive projectors in each classroom. The projectors are connected to the desktop computer via a long  (15′ or better) HDMI cable. I’ve had several cables ‘go bad.’ After much reseating, restarting, and all the usual troubl…

    WdsClient – An error occurred while obtaining an IP address from the DHCP server. Please check to ensure that there is an operation DHCP server on this network segment.

    This is the error I got recently when trying to image some new machines for one of the schools I support.

    WdsClient - An error occurred while obtaining an IP address

    The correct drivers were installed on the WDS server and I’d previously imaged some desktops of the same model with no problems. I tried a new cable and network point, restarted WDS and DHCP on the server all to no avail. All settings on WDS were fine and as they should be.

    Do try the above steps first, as 90% of the time it’s resolved by one of them. This problem is also common if you have a faulty or very long network cable.

    It turned out that the PC was taking too long to get an IP address, meaning it couldn’t reach the WDS server at the time it tried to. By the time it has been assigned an IP it had already timed out and thrown me this error.

    DHCP seemed to be functioning correctly, as other devices were working with no problems – it just seemed to be DHCP and WDS that weren’t working together properly. I needed a way around this, and after a lot of research I found a way to modify my WIM file so it wouldn’t launch the PE until it could ping the server. Obviously if it can ping it has an IP address, so therefore can continue as it should.

    Here’s how to do it:

    I advise doing this on a client PC, and not the server.

    1. Install the Windows AIK. In this example, I am using and deploying Windows 7, so required the Windows 7 AIK.
    2. Open “Windows PE Tools Command Prompt” and type the command below that corresponds to the CPU architecture that your current WDS boot image is on:
      • 32bit - copype x86 C:newbootimage
      • 64bit – copype x64 C:newbootimage

        These commands will create a new Windows PE wim image in C:newbootimage. The file path can be altered if you so wish.

    3. Go into the WDS console on your server, and export the current image that you’re having trouble booting to. (Right click > Export Image) and copy that to C:oldbootimage on the client PC you created other wim with in the previous step. For the rest of the tutorial, I will assume this file is called wds.wim
    4. Mount both images:
      • Mount the image created in step two by running:
         imagex /mountrw “C:newbootimageWinPE.wim” 1 "C:newbootimagemount"
      • Mount the image exported in step three by running:
         imagex /mountrw “C:oldbootimagewds.wim” 2 "C:oldbootimagemount"
    5. Now, copy the sources folder from the old boot image (C:oldbootimagemountsources) to the new boot image (C:newbootimagemountsources). This adds the necessary WDS client setup files to the new image.
    6. Open the startnet.cmd file (C:newbootimagemountwindowssystem32starnet.cmd) in Notepad.
      The current files will most likely contain very little text. You need to replace the contents with the following:

      @echo off
       wpeinit
       
       @echo Waiting for the WDS server…
       :testagain
       ping –n 1 wds > NUL
       if %errorlevel% == 0 goto pingok
       
       REM wait 3 sec. and try it again
       ping –n 3 127.0.0.1 >nul
       goto testagain
       
       :pingok
       x:sourcessetup.exe /wds /wdsserver:WDS
       

      This small script will keep trying to ping the server called WDS until it receives at reply. At which point it will continue to boot into WDS setup mode.
      You may change the server name from WDS in the script if you wish, however I advise keeping the script as is and adding a DNS entry for the WDS to point to your server’s IP. This way, the wim file is usable across any server / network by just adding a DNS entry.

    7. Save changes to the cmd file.
    8. Remove all unnecessary components from the new WDS image with the following command:
       peimg /prep mountwindows
    9. Unmount the new image and save changes with the following command:
       imagex /unmount /commit mount
    10. At this point the new wim image will probably be around 200mb. It’s advised you export the image to a new wim file to reduce it in size with the following command:
       imagex /export “C:newbootimageWinPE.wim” 1 “C:newbootimagenewwds.wim” “Custom WDS Windows PE”

    The image at this point is now complete, and will be around 120mb. You can then add this to the boot images section of your WDS server as you normally would with boot.wim from a Windows DVD or ISO.

    For your convenience, I have created a Windows 7 32 and 64 bit version of wim which you can download from the following links:

    • W732PE.wim
    • W764PE.wim

    Thanks to svengru at TechNet for sharing his solution. The above is merely a modified version of his solution, clearing up some sections that don’t need to be done post Vista such as importing drivers to the wim.

    Перейти к контенту

    • Remove From My Forums
    • Question

    • Trying to create and deploy a Windows 7 pro image for Dell optiplex 390s. Getting the dreaded error above when trying to connect to the DHCP. After a couple days of research I’ve tried injecting drivers, different version of drivers, injecting drivers into
      a different boot image, changing the name and/or deleting the setup.exe file from the image, verified that spanning-tree portfast was enabled on the switch, and edited windowssystem32startnet.cmd. Everything i’ve tried results in the error still showing. 

      When running ipconfig it looks like the NIC is not even initializing which leads me to believe it’s a driver issue still. I’m out of ideas on this one. Anyone else have any?

    Answers

    • Yes, I agree that this seems to be a driver issue.

      Please follow the steps below to find the correct NIC driver for the problematic clients and create a new boot image, then add the NIC drivers to the new boot image for a test.

      Error message when you start a PXE client to connect to a WDS server on a Windows Server 2003 SP1-based computer or on a Windows Server 2008-based computer: «WdsClient: An error occurred while starting networking»

      http://support.microsoft.com/kb/923834


      Thanks
      Zero

      Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

      • Proposed as answer by

        Tuesday, October 9, 2012 1:26 AM

      • Marked as answer by
        LudoTheGreat
        Tuesday, October 9, 2012 1:27 AM
    • Remove From My Forums
    • Question

    • My WDS has been working for a month now. A few days ago, My WDS service just stop working. I tried everything to get back up an running. Nothing worked. I removed the role and re-add it. It worked for a few more days and then the service just stop working
      again. Tried everything again to try to fix it, But nothing worked. Removed the role again and re-add it. Now when I boot up into PXE and select my Boot option, I am getting an error «WDSclient an Error occurred while obtaining an ip address from the
      dhcp». Plug my laptop into the port and was able to get an IP address. Some of the forums say it’s a driver issue. The driver where working just fine before. I did make a new driver package to see if that would work. Nothing. I did try this http://www.broexperts.com/2014/12/solution-dhcp-error-in-wds-server-2008-r2/,
      Didn’t work.

      I am on Server 2012 R2 and SCCM is on the same server (I don’t know if that has anything to do with it. The PXE has been disabled on it)

      • Edited by

        Thursday, April 9, 2015 2:32 PM

    Answers

    • Hi matkat1,

      Some folk meet your similar case when then use NIC driver from DELL, you can try to update the BISO then monitor this issue again, if it not work please removed the Switch and
      monitor whether it able to deploy the image.

      ON the DHCP server, please check to ensure that there is an operational DHCP server network segment and if your DHCP server on your WDS server please reauthorized with the DHCP.

      Please also check whether the event 4101 occurred and indicate the TFTP download failed.

      More information:

      WDS Client DHCP issues… Here is one solution

      http://blogs.technet.com/b/svengruenitz/archive/2008/06/30/wds-client-dhcp-issues-here-is-one-solution.aspx

      WdsClient: An error occurred while obtaining an IP address from the DHCP server

      https://social.technet.microsoft.com/Forums/windows/zh-CN/a5bb3e6d-7602-40e0-b45b-b89578ef64f1/wdsclient-an-error-occurred-while-obtaining-an-ip-address-from-the-dhcp-server?forum=w7itproinstall

      I’m glad to be of help to you!


      Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com

      • Proposed as answer by
        Alex Lv
        Wednesday, April 22, 2015 7:55 AM
      • Marked as answer by
        Alex Lv
        Wednesday, April 29, 2015 2:58 AM
    • Remove From My Forums
    • Question

    • My WDS has been working for a month now. A few days ago, My WDS service just stop working. I tried everything to get back up an running. Nothing worked. I removed the role and re-add it. It worked for a few more days and then the service just stop working
      again. Tried everything again to try to fix it, But nothing worked. Removed the role again and re-add it. Now when I boot up into PXE and select my Boot option, I am getting an error «WDSclient an Error occurred while obtaining an ip address from the
      dhcp». Plug my laptop into the port and was able to get an IP address. Some of the forums say it’s a driver issue. The driver where working just fine before. I did make a new driver package to see if that would work. Nothing. I did try this http://www.broexperts.com/2014/12/solution-dhcp-error-in-wds-server-2008-r2/,
      Didn’t work.

      I am on Server 2012 R2 and SCCM is on the same server (I don’t know if that has anything to do with it. The PXE has been disabled on it)

      • Edited by

        Thursday, April 9, 2015 2:32 PM

    Answers

    • Hi matkat1,

      Some folk meet your similar case when then use NIC driver from DELL, you can try to update the BISO then monitor this issue again, if it not work please removed the Switch and
      monitor whether it able to deploy the image.

      ON the DHCP server, please check to ensure that there is an operational DHCP server network segment and if your DHCP server on your WDS server please reauthorized with the DHCP.

      Please also check whether the event 4101 occurred and indicate the TFTP download failed.

      More information:

      WDS Client DHCP issues… Here is one solution

      http://blogs.technet.com/b/svengruenitz/archive/2008/06/30/wds-client-dhcp-issues-here-is-one-solution.aspx

      WdsClient: An error occurred while obtaining an IP address from the DHCP server

      https://social.technet.microsoft.com/Forums/windows/zh-CN/a5bb3e6d-7602-40e0-b45b-b89578ef64f1/wdsclient-an-error-occurred-while-obtaining-an-ip-address-from-the-dhcp-server?forum=w7itproinstall

      I’m glad to be of help to you!


      Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com

      • Proposed as answer by
        Alex Lv
        Wednesday, April 22, 2015 7:55 AM
      • Marked as answer by
        Alex Lv
        Wednesday, April 29, 2015 2:58 AM

    jerichoussr

    При загрузке образа с WDS появляется ошибка

    WdsClient: ошибка получения IP-адреса от сервера DHCP.

    Не могу понять, что делать.
    я пробовал подкидывать драйвера вручную по инструкции.

    https://support.microsoft.com/ru-ru/kb/923834

    Пробовал через сам WDS к boot образу докидывать драйвера, но все равно ничего.
    Может я что-то не то делаю? Кто-нибудь сталкивался с такой бедой?
    Сам wds настроен нормально, потому что такая проблема не на всех компах. Wds+DHCP и порт настроен нормально.
    Спасибо


    • Вопрос задан

      более трёх лет назад

    • 2549 просмотров

    Пригласить эксперта

    WdsClient: ошибка получения IP-адреса от сервера DHCP.

    Где вы такое ловите?
    Вообще, встречал такие сетевки встроенные, на которых PXE отказывался работать вообще. Ссылаюсь на кривизну чипа сетевой карты.

    Проблема скорее всего с драйверами. Если сделать shift+F10, ipconfig /all, то видно что сетевухи нет. Значит драйвера на нее не установились в загрузочном образе.
    С аналогичной проблемой сталкиваюсь не первый раз. Обычно легко интегрируются драйвера. Сейчас на intel i219 не получается. Новые матери h410 не поддерживаются из коробки последним релизом W10 (2004).

    Возьмите образ boot.wim из Windows Server 2022, на нём всё работает.

    WDS стоит на Windows server 2019, разворачиваю Windows 10
    Проблема актуальная до сих пор, причем проблема на сетевых картах intel i219 и выше. Дистрибутив свежий, версия сборки 10.0.19041 . Драйвера в образе на сетевые карты есть


    • Показать ещё
      Загружается…

    10 февр. 2023, в 08:22

    2000 руб./за проект

    10 февр. 2023, в 04:49

    50000 руб./за проект

    10 февр. 2023, в 02:20

    3000 руб./за проект

    Минуточку внимания

    I have a problem with a Dell 7040 desktop pc. I received the following message.

    WDSclient: an error occured while trying to obtain an IP address from the DHCP server. Please check to

    ensure that there is an operational DHCP server on this network segment»

    Error comes after loading pxe boot. it only comes while loading the install image. on command propmpt i

    cant see an ip address.2012.
    I created boot and install image of windows 10. injected network drivers of the Dell pc in boot.
    Windows 7 image is working fine, problem is with windows 10 image. Even i syprep wim image from the same

    dell machine. still same error.

    plz advise as im totaly stuck.

    Thanks.

    check
    Best Answer

  • Author Tufail Shah

    Hi George,

    Today i fixed the issue.

    Before i created boot image on wds
    from windows 10 DVD containing 1507 build which has issues.

    I got an idea to create the boot
    image from win 10 build 1607 wich i dowloaded from microsoft.

    I created the boot image again with
    new build and hurray…!! that creepy error gone and installation was successful.

     Everyone plz create your win10 boot
    image from windows 10 latest build. Like 1607 or 1703. I did through 1607.

    Much appreciated for your detailed reply.

     best..


    1 found this helpful
    thumb_up
    thumb_down

  • View Best Answer in replies below

    Read these next…

    • Curated Can't communicate with scanner

      Can’t communicate with scanner

      Hardware

      Hello everyone,I have a client that uses Kodak ScanMate i940 scanners at their desks. They recently got a new computer that we prepped and put on their domain. This new computer is recognizing the scanner but it is unusable with the error «can’t communica…

    • Curated Different MAC address, same computer name - multiple DHCP leases

      Different MAC address, same computer name — multiple DHCP leases

      Windows

      I’m noticing a lot more now that our Wifi DHCP scopes are filled by the same computer name, but with different mac addresses. I know there’s a feature in Windows 10 called Random hardware addresses, but that setting is off. Is there anything else that cou…

    • Curated Snap! -- No-Password Logins, Solar Powered Water Filter, Glitch in the Matrix?

      Snap! — No-Password Logins, Solar Powered Water Filter, Glitch in the Matrix?

      Spiceworks Originals

      Your daily dose of tech news, in brief.

      Welcome to the Snap!

      Flashback: February 9, 1996: Introduction of the Bandai Pippin (Read more HERE.)

      Bonus Flashback: February 9, 1990: Galileo Probe does a Venus Flyby (Read more HERE.)

      You nee…

    • Curated Roku TV being used as Wallboard Issues

      Roku TV being used as Wallboard Issues

      Hardware

      Helping someone out at their shop. They have 4 large Roku screens and 2 laptops with dual HDMI ports for video. They are viewing static website business dashboards and PowerPoint. At first all 4 screens connected to wireless, worked for a while but with a…

    • Curated Charging for SSO

      Charging for SSO

      Security

      We have SSO set up with around 5 or 6 solution providers via our M365. Not one of them charges for this, they just sent us the documentation.I identified another online service in use by one of our departments which would benefit from using SSO for staff …

    WdsClient – An error occurred while obtaining an IP address from the DHCP server. Please check to ensure that there is an operation DHCP server on this network segment.

    This is the error I got recently when trying to image some new machines for one of the schools I support.

    WdsClient - An error occurred while obtaining an IP address

    The correct drivers were installed on the WDS server and I’d previously imaged some desktops of the same model with no problems. I tried a new cable and network point, restarted WDS and DHCP on the server all to no avail. All settings on WDS were fine and as they should be.

    Do try the above steps first, as 90% of the time it’s resolved by one of them. This problem is also common if you have a faulty or very long network cable.

    It turned out that the PC was taking too long to get an IP address, meaning it couldn’t reach the WDS server at the time it tried to. By the time it has been assigned an IP it had already timed out and thrown me this error.

    DHCP seemed to be functioning correctly, as other devices were working with no problems – it just seemed to be DHCP and WDS that weren’t working together properly. I needed a way around this, and after a lot of research I found a way to modify my WIM file so it wouldn’t launch the PE until it could ping the server. Obviously if it can ping it has an IP address, so therefore can continue as it should.

    Here’s how to do it:

    I advise doing this on a client PC, and not the server.

    1. Install the Windows AIK. In this example, I am using and deploying Windows 7, so required the Windows 7 AIK.
    2. Open “Windows PE Tools Command Prompt” and type the command below that corresponds to the CPU architecture that your current WDS boot image is on:
      • 32bit - copype x86 C:newbootimage
      • 64bit – copype x64 C:newbootimage

        These commands will create a new Windows PE wim image in C:newbootimage. The file path can be altered if you so wish.

    3. Go into the WDS console on your server, and export the current image that you’re having trouble booting to. (Right click > Export Image) and copy that to C:oldbootimage on the client PC you created other wim with in the previous step. For the rest of the tutorial, I will assume this file is called wds.wim
    4. Mount both images:
      • Mount the image created in step two by running:
         imagex /mountrw “C:newbootimageWinPE.wim” 1 "C:newbootimagemount"
      • Mount the image exported in step three by running:
         imagex /mountrw “C:oldbootimagewds.wim” 2 "C:oldbootimagemount"
    5. Now, copy the sources folder from the old boot image (C:oldbootimagemountsources) to the new boot image (C:newbootimagemountsources). This adds the necessary WDS client setup files to the new image.
    6. Open the startnet.cmd file (C:newbootimagemountwindowssystem32starnet.cmd) in Notepad.
      The current files will most likely contain very little text. You need to replace the contents with the following:

      @echo off
       wpeinit
       
       @echo Waiting for the WDS server…
       :testagain
       ping –n 1 wds > NUL
       if %errorlevel% == 0 goto pingok
       
       REM wait 3 sec. and try it again
       ping –n 3 127.0.0.1 >nul
       goto testagain
       
       :pingok
       x:sourcessetup.exe /wds /wdsserver:WDS
       

      This small script will keep trying to ping the server called WDS until it receives at reply. At which point it will continue to boot into WDS setup mode.
      You may change the server name from WDS in the script if you wish, however I advise keeping the script as is and adding a DNS entry for the WDS to point to your server’s IP. This way, the wim file is usable across any server / network by just adding a DNS entry.

    7. Save changes to the cmd file.
    8. Remove all unnecessary components from the new WDS image with the following command:
       peimg /prep mountwindows
    9. Unmount the new image and save changes with the following command:
       imagex /unmount /commit mount
    10. At this point the new wim image will probably be around 200mb. It’s advised you export the image to a new wim file to reduce it in size with the following command:
       imagex /export “C:newbootimageWinPE.wim” 1 “C:newbootimagenewwds.wim” “Custom WDS Windows PE”

    The image at this point is now complete, and will be around 120mb. You can then add this to the boot images section of your WDS server as you normally would with boot.wim from a Windows DVD or ISO.

    For your convenience, I have created a Windows 7 32 and 64 bit version of wim which you can download from the following links:

    • W732PE.wim
    • W764PE.wim

    Thanks to svengru at TechNet for sharing his solution. The above is merely a modified version of his solution, clearing up some sections that don’t need to be done post Vista such as importing drivers to the wim.

    WdsClient-an-error-occured-while-obtaining-an-IP-address-from-the-DHCP-serverIf you are using new (or different) hardware from what you built your Windows image on, you may see:  WdsClient: An Error Occured While Obtaining IP Address From the DHCP Server.  Fortunately, you can ignore most of the other solutions floating around the internet telling you to manually inject the drivers into your image.  Windows Deployment Service (WDS) has a simple mechanism to inject drivers into your image using the WDS GUI.

    How to Add Drivers to Windows Deployment Server:

    1. add-drivers-to-wds-server-Go to your hardware manufacturers website and download the network card driver(s) for the hardware in question
    2. Open your WDS MMC, expand the server in question and then expand DRIVERS
    3. Select ADD DRIVER PACKAGE,
    4. Select SELECT ALL DRIVER PACKAGES FROM A FOLDER and browse to a folder that contains your unpacked drivers
      1. Unpacked drivers means that your driver files must be extracted from their .EXE or .MSI or .ZIP file.
        1. If you do not already know how to do this, download, 7-ZIP and start 7ZIP, select your driver package and click the EXTRACT button
    5. In the AVAILABLE DRIVER PACKAGES window just click NEXT
    6. In the DRIVER GROUPS window, make sure you choose, SELECT AN EXISTING DRIVER GROUP.
      1. If you do not select a group your drivers will be in WDS but will NOT be applied to any of your images
    7. In the TASK COMPLETE window you can click MODIFY THE FILTERS FOR THIS GROUP NOW but I would not
      1. If you add a filter, the drivers will only be applied to devices that meet that filter… I want Windows to figure out if it is needed or not.
        1. The default is “…install all packages that match the installed hardware…” which is good with me

    Now you can add those drivers to the image in question.

    How to Add Drivers to An Image on your Windows Deployment Server:

    1. add-drivers-to-wds-server-imagesIn WDS, click BOOT IMAGES and right click on the image in question
    2. Select ADD DRIVER PACKAGE, then NEXT, then click the SEARCH FOR PACKAGES button
    3. The drivers you just added to your WDS server will now appear in the SEARCH RESULTS window
    4. Click NEXT, NEXT, NEXT

    WDS will then open the image, inject the drivers and close the image.  This is much easier than going through the manual process.

    You should not have to restart your WDS service, but if you have troubles, restart it.

    Also remember that you will likely want to add these drivers to images other than the BOOT image.  Specifically, you will likely want to repeat the process for the image you are trying to apply and to any CAPTURE image you may have.

    WdsClient-an-error-occured-while-obtaining-an-IP-address-from-the-DHCP-serverIf you are using new (or different) hardware from what you built your Windows image on, you may see:  WdsClient: An Error Occured While Obtaining IP Address From the DHCP Server.  Fortunately, you can ignore most of the other solutions floating around the internet telling you to manually inject the drivers into your image.  Windows Deployment Service (WDS) has a simple mechanism to inject drivers into your image using the WDS GUI.

    How to Add Drivers to Windows Deployment Server:

    1. add-drivers-to-wds-server-Go to your hardware manufacturers website and download the network card driver(s) for the hardware in question
    2. Open your WDS MMC, expand the server in question and then expand DRIVERS
    3. Select ADD DRIVER PACKAGE,
    4. Select SELECT ALL DRIVER PACKAGES FROM A FOLDER and browse to a folder that contains your unpacked drivers
      1. Unpacked drivers means that your driver files must be extracted from their .EXE or .MSI or .ZIP file.
        1. If you do not already know how to do this, download, 7-ZIP and start 7ZIP, select your driver package and click the EXTRACT button
    5. In the AVAILABLE DRIVER PACKAGES window just click NEXT
    6. In the DRIVER GROUPS window, make sure you choose, SELECT AN EXISTING DRIVER GROUP.
      1. If you do not select a group your drivers will be in WDS but will NOT be applied to any of your images
    7. In the TASK COMPLETE window you can click MODIFY THE FILTERS FOR THIS GROUP NOW but I would not
      1. If you add a filter, the drivers will only be applied to devices that meet that filter… I want Windows to figure out if it is needed or not.
        1. The default is “…install all packages that match the installed hardware…” which is good with me

    Now you can add those drivers to the image in question.

    How to Add Drivers to An Image on your Windows Deployment Server:

    1. add-drivers-to-wds-server-imagesIn WDS, click BOOT IMAGES and right click on the image in question
    2. Select ADD DRIVER PACKAGE, then NEXT, then click the SEARCH FOR PACKAGES button
    3. The drivers you just added to your WDS server will now appear in the SEARCH RESULTS window
    4. Click NEXT, NEXT, NEXT

    WDS will then open the image, inject the drivers and close the image.  This is much easier than going through the manual process.

    You should not have to restart your WDS service, but if you have troubles, restart it.

    Also remember that you will likely want to add these drivers to images other than the BOOT image.  Specifically, you will likely want to repeat the process for the image you are trying to apply and to any CAPTURE image you may have.

    I have done the follwoing configurations: Avaiable at: http://technet.microsoft.com/en-us/library/cc770637(WS.10).aspx#BKMK_2

    To configure Windows Deployment Services to run on the same computer as Microsoft DHCP

    Using the MMC Using WDSUTIL

    1.Right-click the server, and then click Properties.

    2.On the DHCP tab, select Do not listen on port 67 and Configure DHCP Option 60 to PXEClient (for Windows Server 2008 R2, this option is labeled Configure DHCP option 60 to indicate that this server is also a PXE server).

    1.Click Start, right-click Command Prompt, and click Run as administrator.

    2.Run WDSUTIL /Set-Server /UseDHCPPorts:No /DHCPOption60:Yes.

    To configure Windows Deployment Services to run on the same computer as non-Microsoft DHCP

    Using the MMC Using WDSUTIL

    1.Right-click the server, and then click Properties.

    2.On the DHCP tab, select Do not listen on port 67.

    3.Use your DHCP server tools to set the option 60 tag to PXEClient.

    1.Click Start, right-click Command Prompt, and click Run as administrator.

    2.Run WDSUTIL /Set-Server /UseDHCPPorts:No.

    3.Use your DHCP server tools to set the option 60 tag to PXEClient.

    To turn on the DHCP authorization requirement

    Using the MMC Using WDSUTIL

    N/A

    1.Click Start, right-click Command Prompt, and click Run as administrator.

    2.Run WDSUTIL /Set-Server /RogueDetection:Yes.

    To authorize the server in DHCP

    Using the MMC Using WDSUTIL

    1.Ensure that you are a domain administrator in the root domain of the forest or an enterprise administrator.

    2.Right-click the server, and then click Properties.

    3.On the Advanced tab, select Authorize the Windows Deployment Server in DHCP.

    1.Ensure that you are a domain administrator in the root domain of the forest or an enterprise administrator.

    2.Click Start, right-click Command Prompt, and click Run as administrator.

    3.Run WDSUTIL /Set-Server /Authorize:Yes.

    Client Requests

    To configure the server to answer clients

    Using the MMC Using WDSUTIL

    1.Right-click the server, and then click Properties.

    2.On the PXE Response Settings tab, select the appropriate option.

    1.Click Start, right-click Command Prompt, and click Run as administrator.

    2.Do one of the following:

    To respond to all network boot requests, run WDSUTIL /Set-Server /AnswerClients:All.

    To respond only to requests from prestaged computers, run WDSUTIL /Set-Server /AnswerClients:Known.

    To not answer any requests, run WDSUTIL /Set-Server /AnswerClients:None.

    To set a delay in the servers answers to network requests

    Using the MMC Using WDSUTIL

    1.Right-click the server, and then click Properties.

    2.On the PXE Response Settings tab, set the specified time to wait.

    1.Click Start, right-click Command Prompt, and click Run as administrator.

    2.Run WDSUTIL /Set-Server /ResponseDelay:X, where X is the amount of time (in seconds) you want the server to wait before responding to clients.

    _____________________________________________________________________________________Also your post as well states the same:

    Quote

    Configuring DHCP option 60

    The default configuration of Windows Deployment Services assumes that the Microsoft DHCP server and Windows Deployment Services server are on separate physical computers. When DHCP and Windows Deployment Services exist on the same computer, DHCP must inform the client computer that there is a PXE server listening on the network by including DHCP option tag 60 in the DHCP Offer packet.

    To configure DHCP option 60 using the Windows Deployment Services snap-in

    On the Start menu, click Administrative Tools, and click Windows Deployment Services.

    Click to expand the Servers list.

    Right-click the server and click Properties.

    On the Server Properties page, click the DHCP tab.

    On the DHCP Options page, click Configure DHCP Option 60 to ‘PXEClient’.

    Additional considerations and references

    To perform this procedure, you must be a member of the Account Operators group, Domain Admins group, or you must have been delegated the appropriate authority.

    Manage Server Properties

    To Configure DHCP option 60 using WDSUTIL

    At a command prompt, type: WDSUTIL /set-server /DHCPoption60:yes

    Additional considerations and references

    WDSUTIL, the Windows Deployment Services command-line management tool, requires elevated privileges to run.

    Manage Server Properties

    Configuring port 67

    Because DHCP listens on port 67 by default, when Windows Deployment Services and DHCP exist on the same computer, the Windows Deployment Services PXE server is not able to listen on port 67 for incoming PXE boot requests.

    To configure port 67 using the Windows Deployment Services snap-in

    On the Start menu, select Administrative Tools, and click Windows Deployment Services.

    Click to expand the Servers list.

    Right-click the server and click Properties.

    On the Server Properties page, click the DHCP tab.

    On the DHCP Options page, click Do not listen on port 67.

    Additional considerations and references

    To perform this procedure, you must be a member of the Account Operators group, Domain Admins group, or you must have been delegated the appropriate authority.

    Manage Server Properties

    To configure port 67 using WDSUTIL at a command prompt

    At a command prompt, type: WDSUTIL /set-server /usedhcpports:no.

    Additional considerations and references

    WDSUTIL, the Windows Deployment Services command-line management tool, requires elevated privileges to run.

    Manage Server Properties

    Important

    Both the Configure DHCP Option Tag #60 to PXEClient and Do not listen on port 67 options must be selected if Microsoft DHCP and Windows Deployment Services are running on the same computer»»

    …..so i am still in problem :( i have 2 interfaces of NIC , i try to diable one that i was using for the internet , bit same result, currently i have enabled both interfaces, one is configured with static IP accordingly and on other i am using Internet, this interface DO NOT has static IP.

    Возможно, вам также будет интересно:

  • Wdc marvel ошибка чтения паспорта
  • Wd sync удаленный сервер возвратил ошибку 401 несанкционированный
  • Wd my passport ошибка инициализации
  • Wd my passport ошибка ввода вывода
  • Wd my passport ultra ошибка проверки состояния smart

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

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