CustomizationWinOptions 类介绍:
Windows的定制过程支持的可选操作类。
方法概要:
NAME | TYPE | DESCRIPTION |
---|---|---|
changeSID | xsd:boolean | The customization process should modify the machine's security identifier (SID). For Vista OS, SID will always be modified. (是否允许修改安全标示符(SID),比如 Vista 操作系统会修改SID) |
deleteAccounts | xsd:boolean | Deprecated(过时). As of VI API 2.5, this value is ignored. Removing user accounts during customization is no longer supported. To change the administrator password, set the administrator password to blank in the master vm. Sysprep will then be able to change the password to the one specified by the password. If deleteAccounts is true, then all user accounts are removed from the system as part of the customization. Mini-setup creates a new Administrator account with a blank password. |
reboot* | CustomizationSysprepRebootOption | A value of type SysprepRebootOption specifying the action that should be taken after running sysprep. Defaults to "reboot".(VM执行完 sysprep 后,虚拟机应该执行怎样的操作,默认是重启)。 Since VI API 2.5 |
CustomizationSysprepRebootOption 枚举简介:
一个枚举变量,指定VM运行完Sysprep后,应该执行怎样的操作
Enum Constants