{"id":2940,"date":"2011-07-07T11:00:00","date_gmt":"2011-07-07T09:00:00","guid":{"rendered":"https:\/\/ingmarverheij.com\/?p=2940"},"modified":"2011-07-07T13:20:34","modified_gmt":"2011-07-07T11:20:34","slug":"winpe-restarting-dhcp-client-service","status":"publish","type":"post","link":"https:\/\/ingmarverheij.com\/en\/winpe-restarting-dhcp-client-service\/","title":{"rendered":"WinPE: Restarting DHCP client service"},"content":{"rendered":"<p>A bare-metal deployment is build using Altiris Deployment Solutions (HP Rapid Deployment Pack, to be precise). When a client boots Windows PE 2.1 to execute a job (installation of operating system) it doesn\u2019t seem to get an IP address from the DHCP server (Restarting DHCP client service: retry <em>x<\/em>).<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Restarting-DHCP-client-service-retry.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"WinPE : Restarting DHCP client service: retry\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Restarting-DHCP-client-service-retry_thumb.jpg\" border=\"0\" alt=\"WinPE : Restarting DHCP client service: retry\" width=\"576\" height=\"279\" align=\"left\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>This is strange since the WinPE 2.1 image is downloaded via a PXE boot which acquired a IP address from the DHCP server without problems, the DHCP mechanism is working.<\/p>\n<p>This caused me some serious headache a few months ago (at another customer). I investigated the problem and found the cause of the problem.<\/p>\n<p><!--more--><\/p>\n<h4>Wrong driver<\/h4>\n<p>The problem is caused by a missing \/ wrong driver for the network interface card. Since no message is displayed that a driver is missing, I assume a wrong driver is loaded. Because the wrong driver is loaded the TCP\/IP stack isn\u2019t working properly which results in the message seen above.<\/p>\n<p>By adding the correct driver to the WinPE driver repository the problem is probably solved.<\/p>\n<h4><\/h4>\n<h4>Determine NIC installed<\/h4>\n<p>Since the machine is provisioned with a Windows 7 installation out-of-the-box it is easy to determine the NIC installed. In this case a <em>&#8216;Realtek RTL8168D\/8111D-Family PCE-E Gigabit Ethernet NIC\u2019. <\/em><\/p>\n<p>To determine if the driver is already present in the driver repository of the WinPE image I need the Vendor and Device ID.These are visible in the \u2018Details\u2019 tab of the properties of the NIC by selecting\u00a0 \u2018Hardware-ID\u2019s\u2019 in the combo box. In this case the vendor ID is 10EC (<a href=\"https:\/\/www.pcidatabase.com\/vendor_details.php?id=1697\" target=\"_blank\">Realtek<\/a>) and the Device ID is 8168. The device contains the \u2018RTL8167\u2019chipset according to the <a href=\"https:\/\/www.pcidatabase.com\/vendor_details.php?id=1697\" target=\"_blank\">PCI database<\/a>.<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Realtek-RTL8168D-8111D-Family-PCE-E-Gigabit-Ethernet-NIC.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Realtek RTL8168D\/8111D-Family PCE-E Gigabit Ethernet NIC\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Realtek-RTL8168D-8111D-Family-PCE-E-Gigabit-Ethernet-NIC_thumb.png\" border=\"0\" alt=\"Realtek RTL8168D\/8111D-Family PCE-E Gigabit Ethernet NIC\" width=\"229\" height=\"166\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Realtek-RTL8168D-8111D-Family-PCE-E-Gigabit-Ethernet-NIC-Hardware-ID.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Realtek RTL8168D\/8111D-Family PCE-E Gigabit Ethernet NIC - Hardware ID\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Realtek-RTL8168D-8111D-Family-PCE-E-Gigabit-Ethernet-NIC-Hardware-ID_thumb.png\" border=\"0\" alt=\"Realtek RTL8168D\/8111D-Family PCE-E Gigabit Ethernet NIC - Hardware ID\" width=\"229\" height=\"264\" align=\"left\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4>Finding the correct driver<\/h4>\n<p>Now we know the NIC (and chipset) we can find a driver for WinPE 2.1. Since <a href=\"https:\/\/en.wikipedia.org\/wiki\/Windows_Preinstallation_Environment\" target=\"_blank\">WinPE 2.1<\/a> is used we\u2019re looking for a Windows Server 2008 \/ Windows Vista SP1 driver. A quick Google search (for Vista drivers) led me to a driver on the <a href=\"https:\/\/www.realtek.cz\/realtek-download.php?realtek=RTL8168D_8111D&amp;system=3\" target=\"_blank\">Realtek<\/a> site.<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Realtek-RTL8168-D8111D-driver-on-Realtek-site1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;\" title=\"Realtek RTL8168-D8111D driver on Realtek site\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Realtek-RTL8168-D8111D-driver-on-Realtek-site_thumb.png\" border=\"0\" alt=\"Realtek RTL8168-D8111D driver on Realtek site\" width=\"229\" height=\"127\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h4>Adding driver to WinPE driver repository<\/h4>\n<p>The boot image for Windows PE can be altered from the Altiris Deployment Solutions console via \u2018Tools \u2013&gt; PXE Configuration\u2019. This will open the \u2018PXE Configuration Utility\u2019 showing all boot options.<\/p>\n<ol>\n<li>Select the WinPE2.1 boot image and click \u2018Edit\u2019. This will open the \u2018Edit Shared Configuration\u2019 dialog.<\/li>\n<li>This will open the \u2018Boot Disk Creator\u2019 dialog.<\/li>\n<li>Select the root node and open the context menu (right mouse click) and select \u2018Edit Configuration\u2026\u2019<\/li>\n<li>Click Next until you reach &#8216;Step 2 of 12 : Windows PE Hardware Device Drivers\u2019<\/li>\n<li>Deselect \u2018Auto-detect all device drivers\u2019 (if selected)<\/li>\n<li><em>Check if a driver for the device (Vendor ID \/ Device ID) is already present. In my case it was and I decided to replace it with a new driver.<\/em><\/li>\n<li>Click \u2018Have Disk\u2019<\/li>\n<li>Add the driver you downloaded before (both x86 and x64 if required)<\/li>\n<li>Select \u2018Auto-detect all device drivers\u2019 (if it was selected in step 4)<\/li>\n<li>Click Next until you reach \u2018Step 11 of 12: Edit configuration\u2019<\/li>\n<li>During step 11 the WinPE boot image will be re-created by extracting the WIM images, injecting drivers and scripts, and rebuilding (and optionally compressing) the WIM image. This is done for all selected architectures (X86 \/ X64 \/ IA64).<\/li>\n<li>Wait until \u2018Step 12 of 12: Boot Disk Creation Complete\u2019 is shown and click \u2018Finish\u2019<\/li>\n<li>Close the \u2018Edit Shared Configuration\u2019 dialog<\/li>\n<li>Click \u2018Save\u2019 in the \u2018PXE Configuration Utility\u2019<\/li>\n<li>Select the tab \u2018Status\u2019 and wait until the status of all PXE servers change from \u2018Updating\u2019 to \u2018Ready\u2019.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Alitris-menu-PXE-Configuration.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Alitris menu - PXE Configuration\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Alitris-menu-PXE-Configuration_thumb.png\" border=\"0\" alt=\"Alitris menu - PXE Configuration\" width=\"154\" height=\"94\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Configuration-Utility-Before.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"PXE Configuration Utility - Before\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Configuration-Utility-Before_thumb.png\" border=\"0\" alt=\"PXE Configuration Utility - Before\" width=\"154\" height=\"110\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Edit-Shared-Menu-Option.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Edit Shared Menu Option\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Edit-Shared-Menu-Option_thumb.png\" border=\"0\" alt=\"Edit Shared Menu Option\" width=\"154\" height=\"162\" align=\"left\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Edit-Configuration.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Boot Disk Creator - Edit Configuration\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Edit-Configuration_thumb.png\" border=\"0\" alt=\"Boot Disk Creator - Edit Configuration\" width=\"154\" height=\"124\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-2a.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Boot Disk Creator - Step 2a\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-2a_thumb.png\" border=\"0\" alt=\"Boot Disk Creator - Step 2a\" width=\"154\" height=\"124\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-2b.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Boot Disk Creator - Step 2b\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-2b_thumb.png\" border=\"0\" alt=\"Boot Disk Creator - Step 2b\" width=\"154\" height=\"124\" align=\"left\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-11.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Boot Disk Creator - Step 11\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-11_thumb.png\" border=\"0\" alt=\"Boot Disk Creator - Step 11\" width=\"154\" height=\"124\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-12.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"Boot Disk Creator - Step 12\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/Boot-Disk-Creator-Step-12_thumb.png\" border=\"0\" alt=\"Boot Disk Creator - Step 12\" width=\"154\" height=\"124\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Configuration-Utility-Post.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"PXE Configuration Utility - Post\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Configuration-Utility-Post_thumb.png\" border=\"0\" alt=\"PXE Configuration Utility - Post\" width=\"154\" height=\"112\" align=\"left\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Servers-Status-Updating-.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"PXE Servers Status - Updating \" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Servers-Status-Updating-_thumb.png\" border=\"0\" alt=\"PXE Servers Status - Updating \" width=\"154\" height=\"110\" align=\"left\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Servers-Status-Ready.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; margin: 0px 5px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; padding-top: 0px; border: 0px;\" title=\"PXE Servers Status - Ready\" src=\"https:\/\/ingmarverheij.com\/wp-content\/uploads\/2011\/07\/PXE-Servers-Status-Ready_thumb.png\" border=\"0\" alt=\"PXE Servers Status - Ready\" width=\"154\" height=\"110\" align=\"left\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4><\/h4>\n<p>And you\u2019re done! Replacing the driver solved the problem, the client got an IP address and continued to perform the task it was given.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Ingmar Verheij<\/p>","protected":false},"excerpt":{"rendered":"<p>A bare-metal deployment is build using Altiris Deployment Solutions (HP Rapid Deployment Pack, to be precise). When a client boots Windows PE 2.1 to execute a job (installation of operating system) it doesn\u2019t seem to get an IP address from the DHCP server (Restarting DHCP client service: retry x). &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[289],"tags":[219,355,356,354],"class_list":["post-2940","post","type-post","status-publish","format-standard","hentry","category-deployment-others","tag-altiris","tag-dhcp","tag-driver","tag-winpe"],"_links":{"self":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/2940","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/comments?post=2940"}],"version-history":[{"count":4,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/2940\/revisions"}],"predecessor-version":[{"id":2946,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/posts\/2940\/revisions\/2946"}],"wp:attachment":[{"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/media?parent=2940"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/categories?post=2940"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ingmarverheij.com\/en\/wp-json\/wp\/v2\/tags?post=2940"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}