Tuesday, March 20, 2012

SCCM OSD - Migrate Network Settings

This is not that straight forward as what I thought earlier and there isn’t much resources that can be found online. What I did earlier is Capture Network Settings before reboot into WinPE, and Apply Network Settings after the Apply Operating System and Apply Windows Settings. Believe me, it is not that simple, the settings will be captured but will not applied until you tweak the OSDAdapterCount variable.

Not much resources in the internet discussing about this issue, but I still managed to found some:-

By default, the OSDAdapterCount variable value is set to 0, and this is the reason why the captured settings is not applied. 0 means no adapter and therefore no settings will be applied. After I tweak the OSDAdapterCount variable value to 1, the captured settings is applied successfully.

image
The Screenshot above showing the Tweak OSDAdapterCount task. After the Apply Windows Settings and before the Apply Network Settings, add a new Set Task Sequence Variable task. Then enter OSDAdapterCount in the Task Sequence Variable box, and the Value is 1.

I didn’t try to enter value bigger than 1, perhaps somebody can share after tried. =)

Friday, March 16, 2012

Capture Win7 SP1 with capture media failed with 0x80070032

This is the first time I encounter this error during the image capturing. I’ve read several forums and articles and most of them saying that you will got this error if your SCCM server is below version SP2. But for my case, my customer SCCM server is currently at Version 4.00.6487.2000, which is SP2 with Build Number 6487 and no R2 Installed.

Then I did further troubleshooting in the SMSTS.log and I found “The volume that contains the OS is not the active partition. Please consult the product documentation for requirements when capturing an operating system image.”  Did a search in the internet and I found these links:

The System Reserved partition created during the installation of Windows 7 reference machine confuses the task sequence. Therefore the resolution is to remove the System Reserved partition first. Then only capture the Windows 7 using capture media.

To remove the System Reserved partition. First I go to Disk Management and set the OS partition to active. Followed by insert the Windows 7 installation DVD, and restart the computer. Then I boot to the CD, and select Install Now. From the Disk Partition Console, I delete the System Reserved partition (Click X to exit). After that, I launch Startup Repair due to bootmgr missing.

That’s all, after removed the System Reserved partition, the Windows 7 reference image captured beautifully. =)