I'm trying to set up automated installations of Windows Server 2008 x64.
I have it working using a DVD and autounattend.xml on a USB key, but now I want to make it work over PXE so I don't have to put the DVD in the drive on some overseas servers.
I'm trying this method Walkthrough: Deploy an Image by using PXE, which boots WinPE over PXE, except at the last stage I'm using pxeboot.com rather than wdsnbp.com because I don't have a Windows Deployment Server. That part is working fine.
The problem I'm having is trying to get WinPE to start an installation. Wpeinit Command-Line Options documentation says I can do wpeinit /unattend=\path\to\unattend.xml, but that fails without printing anything to the console, and there's no obvious error messages in the log file either.
- unattend.xml lives on a network share.
- I've tried both wpeinit -unattend:\\server\share\unattend.xml and net use u: \\server\share followed by wpeinit -unattend:u:\unattend.xml, but neither works, neither does copying it to a local drive (e.g. X:) and using that path instead.
- WinPE-XML-Package and WinPE-HTA-Package were both added to the winpe.wim file that's being served over TFTP. I'm not sure if they are required, but one tutorial suggested adding them, so I did.
- The wpeinit logs (below) mention it found HTA but not XML for some reason. Should I expect to see it too?
- Networking is up, but I had to run wpeutil InitializeNetwork to make it work.
- WinPE can see my C:\, which is a previous Server 2008 install.
- I haven't customized winpeshl.ini or startnet.cmd.
- My test system is a Dell Optiplex 755 with Intel Core2 Duo and an Intel 82566DM network card.
- The difference between my working USB key autounattend.xml and my SMB unattend.xml is the added Windows-Setup|ImageInstall|OSImage|InstallFrom=\\server IP\share\install.wim, which I believe is needed if I want it to work without the Server 2008 DVD.
- The SMB server is a Linux Samba that will allow anonymous access without a password. No credentials have been specified in unattend.xml.
Any ideas what I'm doing wrong?
Thanks
wpeinit.log after automatic wpeinit's first pass
Info No unattend file was found; WPEINIT is using default settings to initialize WinPE
Info Spent 6115ms initializing removable media before unattend search
Info ==== Initializing Display Settings ====
Info No display settings specified
Info STATUS: SUCCESS (0x00000001)
Info ==== Initializing Computer Name ====
Info Generating a random computer name
Info STATUS: SUCCESS (0x00000000)
Info ==== Initializing Virtual Memory Paging File ====
Info No WinPE page file setting specified
Info STATUS: SUCCESS (0x00000001)
Info ==== Initializing Optional Components ====
Info WinPE optional component 'Microsoft-WinPE-HTA' is present
Info STATUS: SUCCESS (0x00000000)
Info ==== Initializing Network Access and Applying Configuration ====
Info No EnableNetwork unattend setting was specified; the default action for this context is to enable networking support.
Info Service dhcp stop: 0x00000000
Info Service lmhosts stop: 0x00000000
Info Service bfe stop: 0x00000000
Info Service ikeext stop: 0x00000000
Info Service mpssvc stop: 0x00000000
Info Spent 125ms initializing security templates; status 0x00000000
Info Install MS_MSCLIENT: 0x0004a020
Info Install MS_NETBIOS: 0x0004a020
Info Install MS_SMB: 0x0004a020
Info Install MS_TCPIP6: 0x0004a020
Info Install MS_TCPIP: 0x0004a020
Info Spent 5288ms installing network components
Info iSCSI: iBFT ACPI Table is not available on this system
Info Installing device pci\ven_8086&dev_10bd X:\Windows\INF\nete1e3e.inf succeeded
Info Spent 1295ms installing network drivers
Info QueryAdapterStatus: no adapters operational.
Info Spent 0ms confirming network initialization; status 0x003d0001
Info STATUS: SUCCESS (0x003d0001)
Info ==== Applying Firewall Settings ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Executing Synchronous User-Provided Commands ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Executing Asynchronous User-Provided Commands ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Applying Shutdown Settings ====
Info No shutdown setting was specified
Info STATUS: SUCCESS (0x00000001)
lines added to wpeinit.log after running wpeinit /unattend=u:\unattend.xml
Info WPEINIT is processing the unattend file [u:\unattend.xml]
Info ==== Initializing Display Settings ====
Info No display settings specified
Info STATUS: SUCCESS (0x00000001)
Info ==== Initializing Computer Name ====
Info Generating a random computer name
Info STATUS: SUCCESS (0x00000000)
Info ==== Initializing Virtual Memory Paging File ====
Info No WinPE page file setting specified
Info STATUS: SUCCESS (0x00000001)
Info ==== Initializing Optional Components ====
Info WinPE optional component 'Microsoft-WinPE-HTA' is present
Info STATUS: SUCCESS (0x00000000)
Info ==== Initializing Network Access and Applying Configuration ====
Info No EnableNetwork unattend setting was specified; the default action for this context is to enable networking support.
Info Found an smb connection.
Info Networking is currently in use and will not be restarted.
Info QueryAdapterStatus: found operational adapter with DHCP address assigned.
Info Spent 0ms confirming network initialization; status 0x00000000
Info STATUS: SUCCESS (0x00000000)
Info ==== Applying Firewall Settings ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Executing Synchronous User-Provided Commands ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Executing Asynchronous User-Provided Commands ====
Info STATUS: SUCCESS (0x00000001)
Info ==== Applying Shutdown Settings ====
Info No shutdown setting was specified
Info STATUS: SUCCESS (0x00000001)