积分 55 最后登录 2014-9-21 精华 0 阅读权限 0 主题 5 UID 261512 帖子 137 PB币 2033 威望 0 贡献 0 技术 0 活跃 6
UID 261512 帖子 137 PB币 2033 贡献 0 技术 0 活跃 6
6 F
发表于 2007-6-6 17:15:42
IP属地四川
这个行,试下吧!
全自动无人置安装Vista默认管理员Administrator登陆的方法
功能介绍:
无人置守安装;
默认安装简体中文;
跳过安装序列号(默认为6F2D7-2PCG6-YQQTB-FWK9V-932CC),
选择安装分区位置;
默认管理员Administrator登陆;
跳过创建用户;
管理员密码为“空”
网络环境为 公共场合
个人计算机保护为 推荐
方法如下:
首先在D盘创建sources文件夹,在d:\sources目录下新建文件PID.TXT; product.ini; Autounattend.xml
PID.TXT内容为:
=====================================
[PID]
Value=6F2D7-2PCG6-YQQTB-FWK9V-932CC
=====================================
Product.ini 内容为:
=====================================
[sku]
skuid=PRODUCT_STARTER,PRODUCT_HOME_BASIC,PRODUCT_HOME_PREMIUM,PRODUCT_BUSINESS,PRODUCT_ENTERPRISE,PRODUCT_ULTIMATE,PRODUCT_HOME_BASIC_N,PRODUCT_BUSINESS_N
[cmi]
namespace=urn:schemas-microsoft-com:unattend
UseVistaRtmKeys=true
ClientServerSplit=true
AnswerFileFormat=1
DashBuild=3
[BuildInfo]
staged=ULTIMATE 注:这里可修改为你安装的实际版本!
=====================================
Autounattend.xml内容如下:
==================================================
<?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" versi 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>
<UserLocale>zh-CN</UserLocale>
<UILanguage>zh-CN</UILanguage>
<SystemLocale>zh-CN</SystemLocale>
</component>
<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versi xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserData>
<ProductKey>
<Key>6F2D7-2PCG6-YQQTB-FWK9V-932CC</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<Organization>Lenovo IT</Organization>
<FullName>Lenovo</FullName>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versi xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>
</Value>
</Password>
<Enabled>true</Enabled>
<LogonCount>1</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi</TimeZone>
<UserAccounts>
<AdministratorPassword>
<Value />
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versi xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:D:/Lenovo/sources/install.wim#windows Vista (vLite) ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
=====================================================
1、 用UltraISO打开你的Vista安装盘文件,运行windows PE 命令工具提示或Imagex软件.
第一步:在windows PE 命令工具提示提示符后输入:
Imagex /export X:\sources\boot.wim 2 d:\sources\boot.wim “Microsoft Windows Longhorn Setup”
第二步:在windows PE 命令工具提示提示符后输入:
Mkdir d:\mount
Imagex /mountrw d:\sources\boot.wim 1 d:\mount
2、 打开d:\mount\windows\system32\ 目录,创建winpeshl.ini 文件
winpeshl.ini内容为:
********************************************************************************
[LaunchApp]
AppPath=%SYSTEMDRIVE%\sources\setup.exe/unattend:%SYSTEMDRIVE%\sources\autounattend.xml
**************************************************************************
3、在windows PE 命令工具提示提示符后输入:
Imagex /unmount /commit d:\mount
4、在windows PE 命令工具提示提示符后输入:
Imagex /delete X:\sources\boot.wim 2
Imagex /export d:\sources\boot.wim 1 X:\sources\boot.wim “Microsoft Windows Longhorn Setup”
5、将UltraISO工具sources目录下PID.TXT; product.ini文件删除,将d:\sources目录下的PID.TXT; product.ini;autounattend.xml 添进去!
6、保存刻盘!
绝对能行!
展开阅读全文​