我正在尝试设置Windows 2008 x64的自动安装。
我让它在USB键上使用DVD和autounattend.xml来工作,但现在我想让它在PXE上工作,这样我就不必将DVD放到一些海外服务器上。
我正在尝试这个方法演练:使用PXE部署映像演练:使用PXE部署映像,它通过PXE引导WinPE,除了在最后阶段我使用的是pxeboot.com而不是wdsnbp.com,因为我没有。那部分很好用。
我遇到的问题是如何让WinPE启动安装。Wpeinit命令行选项文档说,我可以执行wpeinit /unattend=\path\to\unattend.xml,但是如果不将任何内容打印到控制台,就会失败,日志文件中也没有明显的错误消息。
知道我做错什么了吗?
谢谢
自动wpeinit第一遍
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)
后添加到wpeinit.log中
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)
发布于 2009-09-03 08:20:11
感谢您的建议,redblacktree,但是XML文件实际上是格式良好的,并且它在USB键上工作得很好。
我发现我可以在/unattend中使用setup.exe,所以我将整个复制到一个文件服务器,通过PXE引导相同的WinPE映像,然后运行:
net use w: \\server\share
w:
cd x64
setup.exe /unattend:w:\unattend.xml
而且效果很好!
另一个问题是我得跑
wpeutil InitializeNetwork
在我看到网络之前。
发布于 2009-08-19 13:40:21
再次检查您的xml,以确保您没有遗漏一个关闭标记或其他什么。在中打开它就足够看到这一点了。
你能让这个和一个简单的unattend.xml一起工作吗?(即)http://unattended-gui.svn.sourceforge.net/viewvc/unattended-gui/z/etc/unattend.xml.example)
发布于 2009-10-23 07:35:25
我会在我的电脑上设置一个MDT2010共享。它将为您动态生成所有WinPE映像、unattend.xml脚本和批次。如果您需要,您可以自定义脚本之后。根据我的经验,这是获得Windows的稳定部署解决方案的最简单的方法,它可以快速、免费地运行。
https://serverfault.com/questions/55887
复制相似问题