Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
howto:winpe [2017/05/10 15:48]
mcb30
howto:winpe [2021/02/09 20:39]
mcb30
Line 1: Line 1:
 ====== Network-booting Windows PE ====== ====== Network-booting Windows PE ======
  
-[[http://​en.wikipedia.org/​wiki/​Windows_Preinstallation_Environment|Windows PE (WinPE)]] is the Windows Preinstallation Environment,​ used for installation and repair of Windows computers.+[[https://​en.wikipedia.org/​wiki/​Windows_Preinstallation_Environment|Windows PE (WinPE)]] is the Windows Preinstallation Environment,​ used for installation and repair of Windows computers.
  
 Using iPXE and ''​[[:​wimboot]]'',​ you can boot into Windows PE via HTTP.  You can then connect to a standard Windows file server to install a full version of Windows to the local hard disk (or to an iSCSI target). Using iPXE and ''​[[:​wimboot]]'',​ you can boot into Windows PE via HTTP.  You can then connect to a standard Windows file server to install a full version of Windows to the local hard disk (or to an iSCSI target).
Line 17: Line 17:
 {{ :​clipart:​books.png?​180x180|Some books}} {{ :​clipart:​books.png?​180x180|Some books}}
  
-The [[http://​www.microsoft.com/​download/​details.aspx?​id=30652|Windows Assessment and Deployment Toolkit (ADK)]] is compatible with Windows Server 2012, Windows 8, Windows 7, Windows Server 2008, and Vista.+The [[https://​www.microsoft.com/​download/​details.aspx?​id=30652|Windows Assessment and Deployment Toolkit (ADK)]] is compatible with Windows Server 2012, Windows 8, Windows 7, Windows Server 2008, and Vista.
  
-[[http://​www.microsoft.com/​download/​details.aspx?​id=30652|Download]] and install the ADK onto a working Windows system (the "​technician computer"​).+[[https://​www.microsoft.com/​download/​details.aspx?​id=30652|Download]] and install the ADK onto a working Windows system (the "​technician computer"​).
  
 From the **Start** menu, choose **All Programs** -> **Windows Kits** -> **Windows ADK** -> **Deployment and Imaging Tools Environment**. ​ This should open a command prompt window. ​ Create 32-bit and 64-bit versions of Windows PE: From the **Start** menu, choose **All Programs** -> **Windows Kits** -> **Windows ADK** -> **Deployment and Imaging Tools Environment**. ​ This should open a command prompt window. ​ Create 32-bit and 64-bit versions of Windows PE:
Line 29: Line 29:
 Copy the contents of ''​C:​\temp\winpe''​ to a directory on your web server (e.g. ''/​var/​www/​winpe''​ for Apache, or ''​C:​\inetpub\wwwroot\winpe''​ for IIS). Copy the contents of ''​C:​\temp\winpe''​ to a directory on your web server (e.g. ''/​var/​www/​winpe''​ for Apache, or ''​C:​\inetpub\wwwroot\winpe''​ for IIS).
  
-Download the [[http://git.ipxe.org/releases/wimboot/wimboot-latest.zip|latest version of wimboot]] and extract the file ''​wimboot'' ​to the same directory on your web server.+Download the [[https://github.com/ipxe/wimboot/releases/latest/​download/​wimboot|latest version of wimboot]] and save it to the same directory on your web server.
  
 Create a text file ''​boot.ipxe''​ in the same directory on your web server, containing: Create a text file ''​boot.ipxe''​ in the same directory on your web server, containing:
Line 46: Line 46:
 {{ :​clipart:​books2.png?​180x180|Some older books}} {{ :​clipart:​books2.png?​180x180|Some older books}}
  
-The [[http://​www.microsoft.com/​download/​details.aspx?​id=5753|Windows Automated Installation Kit (AIK)]] is compatible with Windows 7, Windows Server 2008, Vista, and Windows Server 2003.+The [[https://​www.microsoft.com/​download/​details.aspx?​id=5753|Windows Automated Installation Kit (AIK)]] is compatible with Windows 7, Windows Server 2008, Vista, and Windows Server 2003.
  
-[[http://​www.microsoft.com/​download/​details.aspx?​id=5753|Download]] and install the AIK onto a working Windows system (the "​technician computer"​).+[[https://​www.microsoft.com/​download/​details.aspx?​id=5753|Download]] and install the AIK onto a working Windows system (the "​technician computer"​).
  
 From the **Start** menu, choose **All Programs** -> **Microsoft Windows AIK** -> **Deployment Tools Command Prompt**. ​ This should open a command prompt window. ​ Create 32-bit and 64-bit versions of Windows PE: From the **Start** menu, choose **All Programs** -> **Microsoft Windows AIK** -> **Deployment Tools Command Prompt**. ​ This should open a command prompt window. ​ Create 32-bit and 64-bit versions of Windows PE:
Line 58: Line 58:
 Copy the contents of ''​C:​\temp\winpe''​ to a directory on your web server (e.g. ''/​var/​www/​winpe''​ for Apache, or ''​C:​\inetpub\wwwroot\winpe''​ for IIS). Copy the contents of ''​C:​\temp\winpe''​ to a directory on your web server (e.g. ''/​var/​www/​winpe''​ for Apache, or ''​C:​\inetpub\wwwroot\winpe''​ for IIS).
  
-Download the [[http://git.ipxe.org/releases/wimboot/wimboot-latest.zip|latest version of wimboot]] and extract the file ''​wimboot'' ​to the same directory on your web server.+Download the [[https://github.com/ipxe/wimboot/releases/latest/​download/​wimboot|latest version of wimboot]] and save it to the same directory on your web server.
  
 Create a text file ''​boot.ipxe''​ in the same directory on your web server, containing: Create a text file ''​boot.ipxe''​ in the same directory on your web server, containing:
Line 81: Line 81:
 ===== Installing Windows ===== ===== Installing Windows =====
  
-You can now connect to a Windows (or [[http://​www.samba.org|Samba]]) file server to run the Windows installer. ​ For example, if you have copied the contents of your Windows installation DVD-ROM to ''​%%\\myserver\installers\win8%%'',​ then you can start the installer using:+You can now connect to a Windows (or [[https://​www.samba.org|Samba]]) file server to run the Windows installer. ​ For example, if you have copied the contents of your Windows installation DVD-ROM to ''​%%\\myserver\installers\win8%%'',​ then you can start the installer using:
  
     net use \\myserver\installers     net use \\myserver\installers
Line 113: Line 113:
     cpuid --ext 29 && set arch amd64 || set arch x86     cpuid --ext 29 && set arch amd64 || set arch x86
     kernel wimboot     kernel wimboot
-    initrd install.bat ​                  ​install.bat +    initrd install.bat ​                               install.bat 
-    initrd winpeshl.ini ​                 winpeshl.ini+    initrd winpeshl.ini ​                              ​winpeshl.ini
     initrd ${arch}/​media/​Boot/​BCD ​                    BCD     initrd ${arch}/​media/​Boot/​BCD ​                    BCD
     initrd ${arch}/​media/​Boot/​boot.sdi ​               boot.sdi     initrd ${arch}/​media/​Boot/​boot.sdi ​               boot.sdi
Line 126: Line 126:
 ==== Adding a network card driver ==== ==== Adding a network card driver ====
  
-You can customise your Windows PE image to include drivers for your network card, if your card is not already supported by Windows PE.  You will need the ''​ImageX''​ and ''​DISM''​ tools, which are part of the [[#​windows_assessment_and_deployment_toolkit_adk|Windows ADK]] (or [[#​windows_automated_installation_kit_aik|AIK]]). ​ A Linux version of ''​imagex''​ is also available as part of the ''​[[http://sourceforge.net/​projects/​wimlib/​|wimlib]]''​ package.+You can customise your Windows PE image to include drivers for your network card, if your card is not already supported by Windows PE.  You will need the ''​ImageX''​ and ''​DISM''​ tools, which are part of the [[#​windows_assessment_and_deployment_toolkit_adk|Windows ADK]] (or [[#​windows_automated_installation_kit_aik|AIK]]). ​ A Linux version of ''​imagex''​ is also available as part of the ''​[[https://wimlib.net/​|wimlib]]''​ package.
  
 Download the drivers for your network card, and extract the driver to ''​C:​\temp\winpe\drivers''​. ​ If you are using the ADK then you will need to download a driver compatible with Windows 8; if you are using the AIK then you will need a driver compatible with Windows 7. Download the drivers for your network card, and extract the driver to ''​C:​\temp\winpe\drivers''​. ​ If you are using the ADK then you will need to download a driver compatible with Windows 8; if you are using the AIK then you will need a driver compatible with Windows 7.
howto/winpe.txt · Last modified: 2022/08/23 21:27 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.