- 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
-
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
-
Edited by
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
-
Proposed as answer by
- 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
-
Edited by
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
-
Proposed as answer by
При загрузке образа с 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 руб./за проект
Минуточку внимания
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.
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.
- Install the Windows AIK. In this example, I am using and deploying Windows 7, so required the Windows 7 AIK.
- 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.
-
- 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
- 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"
- Mount the image created in step two by running:
- 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.
- 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. - Save changes to the cmd file.
- Remove all unnecessary components from the new WDS image with the following command:
peimg /prep mountwindows
- Unmount the new image and save changes with the following command:
imagex /unmount /commit mount
- 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.
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
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…
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…
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…
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…
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…
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 …
If 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:
Go to your hardware manufacturers website and download the network card driver(s) for the hardware in question
- Open your WDS MMC, expand the server in question and then expand DRIVERS
- Select ADD DRIVER PACKAGE,
- Select SELECT ALL DRIVER PACKAGES FROM A FOLDER and browse to a folder that contains your unpacked drivers
- Unpacked drivers means that your driver files must be extracted from their .EXE or .MSI or .ZIP file.
- 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
- Unpacked drivers means that your driver files must be extracted from their .EXE or .MSI or .ZIP file.
- In the AVAILABLE DRIVER PACKAGES window just click NEXT
- In the DRIVER GROUPS window, make sure you choose, SELECT AN EXISTING DRIVER GROUP.
- If you do not select a group your drivers will be in WDS but will NOT be applied to any of your images
- In the TASK COMPLETE window you can click MODIFY THE FILTERS FOR THIS GROUP NOW but I would not
- 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.
- The default is “…install all packages that match the installed hardware…” which is good with me
- 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.
Now you can add those drivers to the image in question.
How to Add Drivers to An Image on your Windows Deployment Server:
In WDS, click BOOT IMAGES and right click on the image in question
- Select ADD DRIVER PACKAGE, then NEXT, then click the SEARCH FOR PACKAGES button
- The drivers you just added to your WDS server will now appear in the SEARCH RESULTS window
- 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.
I’ve had this error several times over the years, and it always seems to be for a different reason. So below I will collate all the possible sources of the problem I have so far encountered, along with solutions
1. The WDS Server is also the DHCP server and option 67 isn’t set correctly
If one server is running both WDS and DHCP you will need to change a few settings as both services normally listen on the same port. You need to tell WDS to listen on a different port and set DHCP to listen for and pass on PXE requests. There is plenty of documentation on this from Microsoft or via Google.
2. A VMware system is running on the network somewhere and is running a parallel DHCP service
I’ve had this before — having VMware workstation (and probably other products) running on any PC on the network seems to sometimes mess up DHCP by issuing an IP to another client PC when it shouldn’t be doing anything of the sort!
3. The NIC drivers aren’t included in the boot image (not the install image, the boot image)
If the NIC drivers aren’t included in the boot image it will fail after the initial PXE boot. Adding the drivers is reasonabl ystraight-forward, but beware a separate problem where WDS on Windows Server 2012 R2 can’t add drivers to Windows 10 boot images. I have written about how to solve this in a previous post.
4. Client PC has multiple NICs
Some client PCs have multiple NICs — if necessary disable additional NICs prior to the deployment
5. Client and WDS server on different subnets
You will need to do some additional configuration to pass the PXE request through from 1 subnet to the other. There is plenty of documentation on this available from Microsoft and via Google.
6. Assign a static IP to the host PC on your DHCP server
This was this issue I had most recently — the PC was getting 1 IP address at the initial PXE boot and then seemed to get assigned another one after boot which seemed to prevent the server from seeing it. By adding a static mapped IP address to the MAC address of the PC it always gets the same IP address and then the error doesn’t occur. Success.
Found this useful? Please do let us know by dropping a comment below. If you would like to subscribe please use the subscribe link on the menu at the top right. You can also share this with your friends by using the social links below. Cheers.