Windows 8 RP 无人值守安装
提取Win8RP光盘下的所有文件,放在X盘根目录。启动WinPE,进入命令行,运行“X:\sources\setup.exe /unattend:X:\Autounattend.xml”,等待一分钟,出现选择安装系统到哪个分区的界面,选好分区并格式化,以后自动安装直至进入系统桌面。
Autounattend.xml内容如下,复制到记事本以UTF-8格式保存至X盘。
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>zh-CN</UILanguage>
</SetupUILanguage>
<InputLocale>zh-CN</InputLocale>
<SystemLocale>zh-CN</SystemLocale>
<UILanguage>zh-CN</UILanguage>
<UserLocale>zh-CN</UserLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserData>
<ProductKey>
<Key>TK8TP-9JN6P-7X7WW-RFFTV-B7QPF</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
<component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DriverPaths>
<PathAndCredentials wcm:keyValue="71214f30" wcm:action="add">
<Path>X:\FileRepository</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Home_Page>about:blank</Home_Page>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TimeZone>China Standard Time</TimeZone>
<ComputerName>Lenovo</ComputerName>
<RegisteredOwner>MSUser</RegisteredOwner>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableSR>1</DisableSR>
</component>
<component name="Security-Malware-Windows-Defender" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableAntiSpyware>true</DisableAntiSpyware>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>China Standard Time</TimeZone>
<RegisteredOwner>MSUser</RegisteredOwner>
<UserAccounts>
<AdministratorPassword>
<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
<AutoLogon>
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/sources/install.wim#Windows 8 Release Preview" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
[*]搜索并安装X:\FileRepository目录下的驱动,驱动从已经装好全部驱动的老系统提取[*]IE主页设为空白,初次运行向导禁用[*]系统还原关闭[*]Windows Defender禁用[*]网络共享类型:工作网络[*]系统Update关闭[*]跳过设置界面MachineOOBE,该界面出现在进入桌面前;UserOOBE在Win7下是欢迎使用向导,Win8RP尚未定义此项[*]Administrator密码置空;自动开启内建Administrator账户,以空密码登陆
C:\Windows\System32\DriverStore\FileRepository目录下建立日期较近的文件夹包含我们需要的驱动,查看文件夹下的inf文件筛选确定,把这几个文件夹复制到X:\FileRepository目录。
内建Administrator账户登陆不能运行Metro应用,可以删除前面的oobeSystem\Microsoft-Windows-Shell-Setup <UserAccounts>和<AutoLogon>段,用下面的<UserAccounts>段替换。
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>
<PlainText>false</PlainText>
</Password>
<Name>Admin</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
建立空密码Admin用户,隶属于Administrators组。
更详细的信息参见Windows ADK,其WSIM组件用于建立和修改Unattend.xml,下载ADK:
http://www.microsoft.com/en-us/download/details.aspx?id=29929
完整ADK包含WinPE创建工具等,非常庞大,安装时选择包含WSIM的部分即可。 谢谢分享!!等正式版出来。 一般人用不上,太麻烦了 一般人用不上,太麻烦了 一般人用不上,太麻烦了 一般人用不上,太麻烦了 谢谢分享!! 一般人用不上,太麻烦了 WIN8还是等出正式版再装吧,不带触摸的电脑真心用的不爽。 这个比普通安装还要烦人,硬盘安装也就十几分钟,方便得很,但TP 还没有WIN8 的驱动,有的安装用不了,像APS 就是没办法打开,32 同64 的也没办法打开 太麻烦了 话说人品版安装更快了 现在的东西真是越搞越麻烦! win7以后的安装,已经很自动话了。
页:
[1]