Mik*_*kel 7 windows-server-2008 installation unattended windows-pe
我正在尝试设置 Windows Server 2008 x64 的自动安装。
我在 USB 密钥上使用 DVD 和 autounattend.xml 让它工作,但现在我想让它通过 PXE 工作,所以我不必将 DVD 放入某些海外服务器的驱动器中。
我正在尝试这种方法演练:使用 PXE 部署映像,它通过 PXE 引导 WinPE,但在最后阶段我使用 pxeboot.com 而不是 wdsnbp.com,因为我没有 Windows 部署服务器。那部分工作正常。
我遇到的问题是试图让 WinPE 开始安装。Wpeinit 命令行选项文档说我可以执行 wpeinit /unattend=\path\to\unattend.xml,但是没有向控制台打印任何内容就失败了,并且日志文件中也没有明显的错误消息。
任何想法我做错了什么?
谢谢
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)
Run Code Online (Sandbox Code Playgroud)
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)
Run Code Online (Sandbox Code Playgroud)
感谢 redblacktree 的建议,但 XML 文件实际上格式良好,并且在 USB 密钥上运行良好。
我发现我可以将 /unattend 与 setup.exe 一起使用,因此我将整个 Windows 安装 DVD 复制到文件服务器,通过 PXE 启动相同的 WinPE 映像,然后运行:
net use w: \\server\share
w:
cd x64
setup.exe /unattend:w:\unattend.xml
Run Code Online (Sandbox Code Playgroud)
而且效果很好!
另一个问题是我必须跑
wpeutil InitializeNetwork
Run Code Online (Sandbox Code Playgroud)
在我看到网络之前。
| 归档时间: |
|
| 查看次数: |
11941 次 |
| 最近记录: |