イメージのキャプチャに失敗する(テンプレート:Sysprep and Capture)

■問題点

customsettings.iniで、SkipProductKey=YESを設定すると、LiteToush.vbsを実行時に、キャプチャページが表示されない。
 →SkipProductKey=NOを設定すると、キャプチャページは表示されるが、タスクの実行に失敗する。(Invalid DeploymentType value "" specified. The deployment will not proceed.)

 

■解決方法

・対象:\Scripts\ZTIUtility.vbs

・変更前:
If (oTS.SelectSingleNode("//step[@type='BDD_InstallOS']") is nothing) and (oTS.SelectSingleNode("//step[@type='BDD_UpgradeOS']") is nothing) then


・変更後:

If (oTS.SelectSingleNode("//step[@type='BDD_InstallOS' and @disable='false']") is nothing) and (oTS.SelectSingleNode("//step[@type='BDD_UpgradeOS' and @disable='false']") is nothing) then

 

■参考URL

MDT2013 Update 2 - Invalid DeploymentType=""