mdt wds部署windows Litetouch deployment failed, Return Code = -2147467259 0x80004005解决
原创
©著作权归作者所有:来自51CTO博客作者isee131的原创作品,请联系作者获取转载授权,否则将追究法律责任
部署到最后居然出错,郁闷
Litetouch deployment failed, Return Code = -2147467259 0x80004005
查了半天终于又点结果 记录下来
方法一
On your Windows 7 reference PC, open the registry editor. Navigate to HKLM\system\setup. Look for a multi-string value called "CloneTag". I'm guessing it's not there.
Add a new multi-string value, name it "CloneTag". The actual value is not important. I'm not sure if case on the name is important, so I mimicked what the error suggested.
Export the HKLM\system\setup key and save to a .reg file.
Edit the .reg file, and remove all other entries except for the CloneTag value.
Run the cscript to launch the Task Sequence selector. Select your Sysprep and Capture Task Sequence. Enter your credentials, and go.
When it gets to the part where it is executing sysprep, run your .reg file to quickly import the CloneTag multi-string value. If you see it proceed to PE, then you should be in the clear.
方法二
- Go to the Scripts folder in your DS box
- Create a backup of the LTISysprep file somewhere on your desktop so you'll have a copy if something goes awry
- Open the LTISysprep file with Notepad
- Remove the oShell.RegDelete "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" line
- Close and save the file
- Update your Deployment Share
- Proceed to capture the p_w_picpath by logging into the reference computer and running the LiteTouch script on your DS machine
方法三:
This failure happened due to the registry key CloneTag under HKLM\SYSTEM\Setup is deleted during the start of the sysprep. There are few ways to counter this failure:
1. Go to your sysprep and capturing task sequence, Execute Sysprep, Options tab, Add, Registry Setting. Enter SYSTEM\Setup in the key box, and enter CloneTag in the value name box and leave the value box blank. This whole step is to add the registry key back to HKLM\SYSTEM\Setup after the sysprep completed
2. (Same as the fix suggested by Jimmy Lam-My) You can also modify the script to prevent the registry key from being deleted. Go to your deploymentshare folder and look for a script named LITSysprep inside the scripts folder. Right click, edit to do modification in the script. You can either remove the oShell.RegDelete "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" or you might want to add .// infront to turn it into a comment.
摘自:尽量参考原文