When I was deploying images, the process would complete successfully but would throw a 5212 error at the end of the process: FAILURE ( 5212 ): Welcome wizard failed or was cancelled. Because it threw an error, it wouldn't skip the completion screen as my customsettings.ini file dictates. That requires me to click "finish" on each PC, and I'd rather they complete the entire process on their own.
It's relatively innocuous, but the fact that I'd have any error at all bothered me. It's difficult to find much information on this, and much of it points to the wrong culprit (an IE setting in your answer file) but I was able to piece together the following:
- It's caused by a leftover MININT folder in your WIM.
- It apparently wasn't an issue prior to MDT 2013.
- It doesn't cause problems with deployment, but did appear as an error at the end of the task sequence 100% of the time in my case.
So, I assume that the Microsoft approved way would be to use DISM to mount the image, remove the folder, commit changes, and unmount. I don't like that process because it takes longer than it needs to, but for the sake of completeness, I'll include it here:
- Close MDT.
- Create an empty folder somewhere to mount the WIM to (I used "C:\MountWIM")
- From an elevated command prompt, run:
Dism /Mount-Image /ImageFile:Capture.wim /index:1 /MountDir:C:\MountWIM
- Go to the mount folder and delete the "MININT" folder from the root. You can do this via command line or Windows Explorer.
- From an elevated command prompt, run:
Dism /Unmount-Image /MountDir:C:\MountWIM /commit
Now, as mentioned that's more work than it needs to be. The easier process is:
- Close MDT.
- Open the WIM file with 7-Zip.
- Delete the "MININT" folder.
- Close 7-Zip.
At some point (time permitting), I may do a complete write-up on how I have MDT setup and how I capture/deploy images. Many of the defaults aren't ideal.
I dont have a MININT folder in there but still get this "error" message...
ReplyDeleteI just got this today and verified I did not have a MiniNT folder in my Reference WIM
Delete