Vijava 学习笔记之 CustomizationSysprep、CustomizationGuiRunOnce、CustomizationGuiUnattended解析

哈哈 阅读:222 2021-03-31 22:30:43 评论:0

CustomizationSysprep 类介绍

一个Windows Sysprep.inf应答文件对象表示。Sysprep将所有个人密钥在Sysprep.inf文件中列出。

Properties

NAME TYPE DESCRIPTION
guiRunOnce* CustomizationGuiRunOnce

An object representation of the sysprep GuiRunOnce key. (代表GuiRunOnce key
guiUnattended CustomizationGuiUnattended

An object representation of the sysprep GuiUnattended key. (代表GuiUnattended key)
identification CustomizationIdentification

An object representation of the sysprep Identification key. (代表 Identification key)
licenseFilePrintData* CustomizationLicenseFilePrintData

An object representation of the sysprep LicenseFilePrintData key. Required only for Windows 2000 Server and Windows Server 2003. (代表 LicenseFilePrintData key,只能运用于Windows 2000 Server and Windows Server 2003
userData CustomizationUserData

An object representation of the sysprep UserData key. (代表UserData key

CustomizationGuiRunOnce类介绍

CustomizationGuiRunOnce数据对象列 出的命令被执行,但系统完成自定义规则,用户第一次登入时。自由登入可以通过AutoLogon 对象设置。

Properties

NAME TYPE DESCRIPTION
commandList xsd:string[]

A list of commands to run at first user logon, after guest customization. (一列指令被执行,在系统完成自定义规范和用户第一次登入时)

CustomizationGuiUnattended类介绍

GuiUnattended类型对应 Sysprep.inf应答文件中GuiUnattended key。这些值是可以插入的。
NAME TYPE DESCRIPTION
autoLogon xsd:boolean

Flag to determine whether or not the machine automatically logs on as Administrator. See also the password property. (administrator 用户是否自动登入,查询密码属性)
autoLogonCount xsd:int

If the AutoLogon flag is set, then the AutoLogonCount property specifies the number of times the machine should automatically log on as Administrator. Generally it should be 1, but if your setup requires a number of reboots, you may want to increase it. This number may be determined by the list of commands executed by the GuiRunOnce command. (如果AutoLogon设置,AutoLogonCount 属性会自动统计一段时间内Administrator登入的次数。一般次数为一,如果重复启动的次数比较多,需要增加这个属性值.这个数字可能由guirunonce命令执行的命令列表中确定
password* CustomizationPassword

The new administrator password for the machine. To specify that the password should be set to blank (that is, no password), set the password value to NULL. Because of encryption, "" is NOT a valid value.

If the XML file is generated by the VirtualCenter Customization Wizard, then the password is encrypted. Otherwise, the client should set the plainText attribute to true, so that the customization process does not attempt to decrypt the string. (为administrator 添加一个新的密码,指定的密码应该设置为空白(即,没有密码),设置密码的值为null。因为加密,“”不是一个有效的值。如果XML文件由VirtualCenter定制向导生成的密码是加密的,然后。否则,客户端应该设置明文属性为true,这样的定制过程并不试图解密字符串。)

timeZone xsd:int

The time zone for the new virtual machine. Numbers correspond to time zones listed in sysprep documentation at <a href="http://www.microsoft.com/technet/prodtechnol/windows2000pro/deploy/unattend/sp1ch01.mspx" unattend.txt="" file="" parameters<="" a="" style="color: rgb(0, 51, 102);">in Microsoft Technet. (为新的虚拟机的时区)

声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

发表评论
搜索
排行榜
KIKK导航

KIKK导航

关注我们