In the Answer File pane you should now have the LocalAccounts component selected under the oobeSystem pass. <?xml:namespace prefix = o />
Now in the Properties pane, type the user’s name (logon and display names), Administrators for the user’s local group, and an optional de.ion (Figure 3):
现在在应答文件里的oobeSystem配置过程里,你已经有了LocalAccounts组件,在Properties面板里,输入你的用户名和密码、用户加入的本地组等等
Note that we’re .ly creating a local user account here . the computer. If the computer will belong to a domain, you would typically create the domain user account ahead of time in Active Directory. You still have to create a local computer account as a fallback however, and it should belong to the local Administrators group . the machine since the default Administrator account is disabled in Vista.
注意到我们创建了一个本地账户。如果是域计算机,我们通常已经创建好用户了。但你仍要创建一个本地管理员账户,因为默认的用户administrator是禁用的。
In the Answer File, select the Password component beneath LocalAccount. Then in the Properties pane type a password for the user account you’re creating . the computer (Figure 4):
在应答文件里,找到LocalAccount下的Password组件,输入你想要的密码
Specifying a Computer Name and Default Theme
指定计算机名和默认主题
Back in the Windows Image pane, right-click . the Microsoft-Windows-Shell-Setup node and select Add Setting to pass 4 specialize as shown in Figure 5:
把Microsoft-Windows-Shell-Setup节点加入pass 4 specialize
In the Answer File pane you should now have the Microsoft-Windows-Shell-Setup component selected under the specialize pass.
Now in the Properties pane, type a name for the computer in the value box to the right of the ComputerName setting (Figure 6):
如图,输入你想要的计算机名称
Now wait just a minute. Why do we have to add the Microsoft-Windows-Shell-Setup component to our answer file when we did this in the previous section above where we added a local user account for the computer? Because (a) you can add many answer file components to more than .e configuration pass and (b) the computer name can .ly be specified using an answer file in the specialize configuration pass and not during the oobeSystem configuration pass (see Figure 7):
现在让我们停几分钟回顾一下。为什么必须添加Microsoft-Windows-Shell-Setup到应答文件里,而我们之前已经添加过一个了?因为1)你可以把同一节点添加到不同的配置过程里;2)要实现计算机名,你只能添加到Specialize配置过程里。
Now let’s specify the default Aero theme. In the Answer File pane, select Microsoft-Windows-Shell-Setup\Themes. Then in the Properties pane type the path to the default Aero theme as shown in Figure 8:
现在让我们来指定Aero主题。找到Microsoft-Windows-Shell-Setup\Themes,如下图填写路径
Specifying the Protect Your PC and Network Location Settings
指定保护pc方式和网络位置设置
Now let’s configure the Protect Your PC setting, which determines whether Vista will automatically download and install updates or not. In the Windows Image pane, right-click . OOBE under Microsoft-Windows-Shell-Setup and select Add Setting to pass 7 oobeSystem (Figure 9)
把Microsoft-Windows-Shell-Setup下的OOBE添加到pass 7 oobeSystem

In the Answer File pane you should now have the Microsoft-Windows-Shell-Setup\OOBE component selected under the oobeSystem pass.
In the Properties pane, click in the value box to the right of the ProtectYourPC setting and type 1 to specify that Vista should automatically download and install updates when they become available.
在Properties面板里,为ProtectYourPC输入值1,这样Vista会自动下载安装更新。
Then in the Properties pane again, click the value box to the right of the NetworkLocation setting until a drop-down arrow appears. Click the arrow and select Work to indicate that the computer will be used at work (Figure 10):
在NetworkLocation的下拉菜单里选择你的场景。

<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
Specifying the Time Zone
指定时区
We’re almost done. In the Answer File pane, under oobeSystem, select the Microsoft-Windows-Shell-Setup component. Then in the Properties pane, I would type Canada Central Standard Time in the value box to the right of the TimeZone setting, but you would probably type something different—see this page . TechNet for what you can type here. The result is shown in Figure 11:
在oobeSystem下选择Microsoft-Windows-Shell-Setup组件,在Properties面板里,输入时区设置——在这个页面里你能找到属于你的时区设置
Validating and Testing the Answer File
检查和测试应答文件
Now from Windows SIM’s menu, select Tools, then Validate Answer File. You should .ly see a series of Information messages in the Messages pane, and these you can ignore. If you see any Error or Warning messages, double-click . them and correct any errors you find in your answer file until validation succeeds.
在菜单里选择Tools下的Validate Answer File,在Message面板里查看信息是否有问题。
Save your modified answer file using the same file name (autounattend.xml) as before. Then copy it to a USB flash drive and try using it together with your Vista SP1 Enterprise product DVD to perform an Unattended Install From DVD installation of Vista . a bare-metal system. Your installation should proceed in a completely unattended fashion, after which Vista will run is performance check (this can’t be prevented) and then you’ll be presented with a logon screen for Bob Smith. Bob can then type his password, log ., and start working . his computer.
保存你的文件,像之前那样保存到一个U盘的根目录里,这下你就完成了一个真正的无人值守安装的应答文件。

The question we posed at the end of the last article was, is it possible to automate the Windows Welcome phase of Setup so that the user won’t have to perform these final steps? Yes it is, and you do this by configuring settings in your answer file to automate the machineOOBE configuration pass of Setup. Let’s do this now.

Windows欢迎界面也是可以实现完全无人职守设置的。要实现这个目标你只要配置应答文件的machineOOBE配置过程,现在让我们看看如何做。
Opening your Minimal Answer File
打开你之前创建的应答文件
On your technician computer, start Windows SIM, open your Vista SP1 Enterprise install image in the Image Pane, and then in the Answer File pane open the autounattend.xml file you created in article seven previously (see Figure 1):
打开Windows SIM,打开Vista SP1的镜像,打开之前创建的autounattend.xml文件
Specifying a User Name and Password
填写用户名和密码
In the Windows Image pane, expand the Components node to display the Microsoft-Windows-Shell-Setup node beneath it. Then expand Microsoft-Windows-Shell-Setup node to display the UserAccounts, then LocalAccounts, then LocalAccount. Right-click . LocalAccount and select Add Setting to pass 7 oobeSystem as shown in Figure 2:
在Windows Image面板里,展开Components节点,找到Microsoft-Windows-Shell-Setup,把UserAccounts/LocalAccounts/LocalAccount添加到oobeSystem配置过程里
In the Answer File pane you should now have the LocalAccounts component selected under the oobeSystem pass.
Now in the Properties pane, type the user’s name (logon and display names), Administrators for the user’s local group, and an optional de.ion (Figure 3):
现在在应答文件里的oobeSystem配置过程里,你已经有了LocalAccounts组件,在Properties面板里,输入你的用户名和密码、用户加入的本地组等等
Note that we’re .ly creating a local user account here . the computer. If the computer will belong to a domain, you would typically create the domain user account ahead of time in Active Directory. You still have to create a local computer account as a fallback however, and it should belong to the local Administrators group . the machine since the default Administrator account is disabled in Vista.
注意到我们创建了一个本地账户。如果是域计算机,我们通常已经创建好用户了。但你仍要创建一个本地管理员账户,因为默认的用户administrator是禁用的。
In the Answer File, select the Password component beneath LocalAccount. Then in the Properties pane type a password for the user account you’re creating . the computer (Figure 4):
在应答文件里,找到LocalAccount下的Password组件,输入你想要的密码
Specifying a Computer Name and Default Theme
指定计算机名和默认主题
Back in the Windows Image pane, right-click . the Microsoft-Windows-Shell-Setup node and select Add Setting to pass 4 specialize as shown in Figure 5:
把Microsoft-Windows-Shell-Setup节点加入pass 4 specialize
In the Answer File pane you should now have the Microsoft-Windows-Shell-Setup component selected under the specialize pass.
Now in the Properties pane, type a name for the computer in the value box to the right of the ComputerName setting (Figure 6):
如图,输入你想要的计算机名称
Now wait just a minute. Why do we have to add the Microsoft-Windows-Shell-Setup component to our answer file when we did this in the previous section above where we added a local user account for the computer? Because (a) you can add many answer file components to more than .e configuration pass and (b) the computer name can .ly be specified using an answer file in the specialize configuration pass and not during the oobeSystem configuration pass (see Figure 7):
现在让我们停几分钟回顾一下。为什么必须添加Microsoft-Windows-Shell-Setup到应答文件里,而我们之前已经添加过一个了?因为1)你可以把同一节点添加到不同的配置过程里;2)要实现计算机名,你只能添加到Specialize配置过程里。
Now let’s specify the default Aero theme. In the Answer File pane, select Microsoft-Windows-Shell-Setup\Themes. Then in the Properties pane type the path to the default Aero theme as shown in Figure 8:
现在让我们来指定Aero主题。找到Microsoft-Windows-Shell-Setup\Themes,如下图填写路径
Specifying the Protect Your PC and Network Location Settings
指定保护pc方式和网络位置设置
Now let’s configure the Protect Your PC setting, which determines whether Vista will automatically download and install updates or not. In the Windows Image pane, right-click . OOBE under Microsoft-Windows-Shell-Setup and select Add Setting to pass 7 oobeSystem (Figure 9)
把Microsoft-Windows-Shell-Setup下的OOBE添加到pass 7 oobeSystem

In the Answer File pane you should now have the Microsoft-Windows-Shell-Setup\OOBE component selected under the oobeSystem pass.
In the Properties pane, click in the value box to the right of the ProtectYourPC setting and type 1 to specify that Vista should automatically download and install updates when they become available.
在Properties面板里,为ProtectYourPC输入值1,这样Vista会自动下载安装更新。
Then in the Properties pane again, click the value box to the right of the NetworkLocation setting until a drop-down arrow appears. Click the arrow and select Work to indicate that the computer will be used at work (Figure 10):
在NetworkLocation的下拉菜单里选择你的场景。
Specifying the Time Zone
指定时区
We’re almost done. In the Answer File pane, under oobeSystem, select the Microsoft-Windows-Shell-Setup component. Then in the Properties pane, I would type Canada Central Standard Time in the value box to the right of the TimeZone setting, but you would probably type something different—see this page . TechNet for what you can type here. The result is shown in Figure 11:
在oobeSystem下选择Microsoft-Windows-Shell-Setup组件,在Properties面板里,输入时区设置——在这个页面里你能找到属于你的时区设置
Validating and Testing the Answer File
检查和测试应答文件
Now from Windows SIM’s menu, select Tools, then Validate Answer File. You should .ly see a series of Information messages in the Messages pane, and these you can ignore. If you see any Error or Warning messages, double-click . them and correct any errors you find in your answer file until validation succeeds.
在菜单里选择Tools下的Validate Answer File,在Message面板里查看信息是否有问题。
Save your modified answer file using the same file name (autounattend.xml) as before. Then copy it to a USB flash drive and try using it together with your Vista SP1 Enterprise product DVD to perform an Unattended Install From DVD installation of Vista . a bare-metal system. Your installation should proceed in a completely unattended fashion, after which Vista will run is performance check (this can’t be prevented) and then you’ll be presented with a logon screen for Bob Smith. Bob can then type his password, log ., and start working . his computer.
保存你的文件,像之前那样保存到一个U盘的根目录里,这下你就完成了一个真正的无人值守安装的应答文件。

转载于:https://blog.51cto.com/xmuxsp/128255

部署Vista(9)——配置OOBE实现完全自动化相关推荐

  1. 部署Vista(1):认识Windows AIK

    前言: 在去年的时候就一直打算把这系列的文章翻译,但由于众所周知的人类固有缺陷的原因,迟迟没有下笔.进入新的一年,眼看Win7都要发布了,Vista的东西再不快点发布出去就快烂箱底 - -# 过年7天 ...

  2. 部署Vista – 第1部分:理解Windows AIK

    原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://iwantfly.blog.51cto.com/1048259/234142 最近 ...

  3. 一波三折用OSD部署Vista中文企业版(下):SMS2003系列之九

    版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.http://yuelei.blog.51cto.com/202879/80363 用 ...

  4. 利用Hyper-v部署Vista SP1 OS

    在前面的win7 xp mode中我提到过叫做裸金属架构,它的管理层叫系统管理程序(Hypervisor)呵呵,大家都知道虚拟机常用的架构一般是有两种一种就是裸金属,另一种就是宿主架构,它的管理层是运 ...

  5. centos7+ docker1.12 实践部署docker及配置direct_lvm

    2019独角兽企业重金招聘Python工程师标准>>> centos7+ docker1.12 实践部署docker及配置direct_lvm 博客分类: docker 前言 Doc ...

  6. 在Vista下配置VS2003

    可能你有许多原因要在vista下配置VS2003(Visual Studio 2003)以及.Net 1.1.4322,但是,VISTA这张脸可不认-- Vista安装后,直接安装了.Net 2.0, ...

  7. JavaWeb项目部署服务器并配置ssl证书教程

    JavaWeb项目部署服务器并配置ssl证书教程 相信大家学了1.2年的编程后可能已经学会了自己写web项目,但是也只能在自己本地玩耍,十分的打击学习热情(主要是没办法跟朋友装杯).本文是一篇较为详细 ...

  8. pve6.3安装部署与虚拟机配置+网络部署

    PVE6.3 安装配置部署与虚拟机配置 参考资料 https://blog.csdn.net/allway2/article/details/102946660?ops_request_misc=%2 ...

  9. win10iis服务器如何配置虚拟目录,win10系统iis6部署网站时配置虚拟目录的操作方法...

    win10系统iis6部署网站时配置虚拟目录的操作方法? 很多win10用户在使用电脑的时候,会发现win10系统iis6部署网站时配置虚拟目录的的现象,根据小编的调查并不是所有的朋友都知道win10 ...

最新文章

  1. 反射__获取delegate的信息
  2. Python-OpenCV 杂项(二): 鼠标事件
  3. 听说你,对薪酬待遇不太满意。。。
  4. 基于React开发范式的思考:写在Lesx发布之际
  5. 数据结构----归并排序
  6. 去掉前后空格_mysql批量去掉某个字段字符中的空格
  7. inline用法详解
  8. LeetCode 1063. 有效子数组的数目(单调栈)
  9. 智能门锁电路图_科技生活|网传“小黑盒”刷开智能锁,人脸识别系统“翻脸不认人”?...
  10. 做完c语言通讯录系统后的小结,c语言通讯录管理系统的总结
  11. Linux安装 deb包命令
  12. 系统没有wmi服务器,系统没有WMI服务怎么办.WMI错误修复方法
  13. origin柱状图同时有两组数和两组数差值_SQL和Pandas同时掉到河里,你先救谁?
  14. arduino八段数码管使用
  15. aspose html转换pdf,aspose html转pdf java
  16. 推荐一个强大的开源的录制、直播软件(obs-studio)
  17. 埃尔米特多项式 (Hermite Polynomials)简介(1)
  18. 如何在Excel中调用Python脚本,实现数据自动化处理!
  19. 图片播放器的实现1——利用Image2LCD提取图片数据并显示
  20. html行内块元素对齐,如何通过显示行内块将元素对齐到右侧?

热门文章

  1. 微信小程序开发入门教程(七)
  2. 使用Filemail免费发送大文件
  3. 数字IC手撕代码-乐鑫科技笔试真题(4倍频)
  4. 合肥超导量子计算机,美国研发超导量子计算机所用的变光转换器
  5. 以图搜图引擎 With Saprk
  6. 养QQ宠物不花Q币?完全可以!(转)
  7. 1. webpack 和 webpack-cli
  8. 最酷的linux命令,【分享】十条最酷的Linux命令
  9. UE4+科大讯飞语音听写
  10. 小程序短信验证码登录,1分钟实现小程序发短信功能,借助云开发10行代码实现短信验证码登录小程序