Wdsclient ошибка связи с сервером служб развертывания windows

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

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

    Проблема такова, что на клиенте не может развернуться Windows 7.

    Я загрузил образ загрузки и инсталляционный на сервер, клиент без проблем находит WDS сервер, коннектится к нему. И как бы начинается установка — появляется стандартный синий экран установки, написано «Начало установки…» и минуты
    через 3 появляется сообщение: «WdsClient: Ошибка связи с сервером служб развертывания Windows. Убедитесь, что сервер работоспособен, а на брандмауэре сервера открыты необходимые порты. Имя сервера [YYY], IP-адрес сервера [XXX.XXX.XXX.XXX]

    На сервере я вырубил полностью брандмауэр, добавил в разрешение все порты TCP и UDP, как входящие так и исходящие, всё находится в одной подсети, никаких промежуточных файрволов нет, антивирус на сервере не стоит.

    Может кто сталкивался с такой проблемой и поможет куда копать?

Ответы

  • Проблема решилась настройкой DHCP сервера, т.е. добавлением 60 тэга. DHCP сервер располагается на другом сервере.

    • Предложено в качестве ответа

      1 октября 2013 г. 6:09

    • Помечено в качестве ответа
      Petko KrushevMicrosoft contingent staff, Moderator
      1 октября 2013 г. 6:09

  • Remove From My Forums
  • Question

  • I assume and hope this is the appropriate forum for this, even though it’s for using WDS to deploy Windows XP SP2.  I installed WDS on one of our W2K3 R2 SP1 servers via the Windows Components window of Add / Remove Programs (I didn’t use the downloaded Windows AIK package).  For the most part it seems I got everything setup and working fine.  I used the boot.wim image from the Windows Vista DVD to make my Capture boot image as well as Windows PE PXE boot environment image.  I successfully made my own custom install image and was even able to re-deploy it to the laptop which I made it from.

    Now enters my problem.  I have another laptop that’s a similar model, but not the exact same.  When I go to image it I get this error after it gets into Windows PE:


    WdsClient: An error occurred while communicating with the Windows Deployment Services server. Please check to ensure that the server is operational and that the necessary ports are open on the server’s firewall.  Server name [wdsserver.domain.com], Server IP address [192.168.1.2].


    I fired up the command prompt with shift+F10 and can ping the server just fine.  Also, ipconfig /all shows everything is functioning as it should, so http://support.microsoft.com/kb/923834/en-us doesn’t seem relevant to my problem.  I couldn’t find any other articles on this issue.  I also have the WDS server setup to accept any client… no client restrictions.

    I’m stumped as to what to do next.  I thought I had this thing all ironed out and working, but this laptop threw me a curveball.

Answers

  • I had the same problem and it has since been resolved, see this post for full details:

    http://social.technet.microsoft.com/Forums/en/itprovistadeployment/thread/7f04fcb1-a9d8-49a0-92eb-96ad64a53122

    PROBLEM RESOLVED::

    This was caused by the following group policy setting (Default domain policy) Computer Configuration | Administrative Templates | System | Remote Procedure Call | Restrictions for Unauthenticated RPC Clients. We had this setting enabled and set to ‘authenticate’.
    I had to set this policy setting to ‘not configured’ or disabled to resolve the error message when WDS client was failing to connect to the WDS server.

    This is because the WDS client will attempt to make an un-authenticated RPC connection to the WDS server, probably to query a list of WDS images, and then fails since we were telling the WDS server via group policy to reject un-authenticated RPC connections.

    I hope this is helpful to others out there that have had my same problem. Ive spent enough time on this problem for all of us…

    • Proposed as answer by

      Friday, December 16, 2011 3:27 PM

    • Marked as answer by
      Carey FrischMVP, Moderator
      Saturday, January 7, 2017 4:20 AM

check
Best Answer

  • Author Austin Hunt

    Well, it looks like I’ve got it working now. It appears the issue was with permissions. I had to add ‘everyone’ to the REMINST share. In my searching I didn’t see anyone else have to add ‘everyone.’ I thought the default ‘Authenticated Users’ was enough.

    Thanks for the responses! 


    Was this post helpful?
    thumb_up
    thumb_down

  • View Best Answer in replies below

    15 Replies

    • Author Ed Wachtel

      Have you updated your DHCP Scope to provide the Server Options for WDS?

      The settings should look similar to this:

      Image: post content


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Arnold Palmer

      Have you updated your DHCP Scope to provide the Server Options for WDS?

      The settings should look similar to this:

      This is exactly what I was going to state. Check this on your DHCP server. BTW you’ll be so thankful when this does finally work for you. The amount of time you’ll save… 


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      Yes, I added the Boot server host name and the Bootfile name to the DHCP server. 


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Kevin Hughes

      did you add the network card drivers to the share, and update it before you pushed it to WDS?


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      kevinhughes2 wrote:

      did you add the network card drivers to the share, and update it before you pushed it to WDS?

      I’m not sure what you mean. I injected the drivers to the boot image before I made the capture image. The laptop I captured the install image from had fully installed and updated drivers. 


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Ed Wachtel

      Have you exported your Lite Touch PE boot image to the deployment share?


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      1GuyITDept wrote:

      Have you exported your Lite Touch PE boot image to the deployment share?

      Yes, the boot images are saved to the REMINST share. 

      We have a Cisco firewall, that shouldn’t be blocking this internal traffic…right?


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Ed Wachtel

      Is everything on the same subnet?


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      1GuyITDept wrote:

      Is everything on the same subnet?

      Yes.


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Ed Wachtel

      Ok. Check your WDS Server Properties (right click on server object) to make sure it will respond to all client requests.

      Image: post content


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      1GuyITDept wrote:

      Ok. Check your WDS Server Properties (right click on server object) to make sure it will respond to all client requests.

      Yes, that is what I have it set to. 


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Ed Wachtel

      Is the WDS Server DHCP properties set correctly? The options should be left blank

      Image: post content


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      1GuyITDept wrote:

      Is the WDS Server DHCP properties set correctly? The options should be left blank

      I had it like that before but I moved WDS to a DC with DHCP so I’m supposed to have those both checked to work. I get the same error either way. 


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      When I get the error and I bring up cmd prompt I can ping the server but if I try and ‘net view \server» I get «System error 5 has occurred. Access is denied.» Does that mean anything?


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Austin Hunt

      Well, it looks like I’ve got it working now. It appears the issue was with permissions. I had to add ‘everyone’ to the REMINST share. In my searching I didn’t see anyone else have to add ‘everyone.’ I thought the default ‘Authenticated Users’ was enough.

      Thanks for the responses! 


      Was this post helpful?
      thumb_up
      thumb_down

    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 руб./за проект

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

    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 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 ошибка при получении ip адреса от сервера dhcp
  • Wds client ошибка получения ip адреса от сервера dhcp
  • Wdfilter sys windows 10 ошибка
  • Wdf violation ошибка как исправить
  • Wdf violation windows 10 как исправить ошибку

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

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