Updating the VM Template

Hello All,

We're using SCVMM 2012 R2 with UR5.

If I want to update the Windows of any template VHDX, I have to attach it with a new VM, then I have to manually run Windows Updates. Then detach the VHDX from VM. Then place it in the VMMLibrary. It's very hectic and I've to do it every month.

Is there any method I can use to automatically update the VHDX.

Will Virtual Machine Servicing Tool (VMST) 3.0 help me? I've tried it yet, but I read that it's not supported with SCVMM 2012 R2.

Please help and advice.

Thank you.

Regards,

Hasan Bin Hasib

March 24th, 2015 2:43am

You're right. VMST last supported VMM version is 2012. There is no tool provided today to make offline services and updates to VMM stored templates, however you can create a script that do offline vhd updating.

Look at this blog where John Stavill wrotes such script. If you have orchestrator or SMA deployed in your Env then you also can use a SMA runbook.

Free Windows Admin Tool Kit Click here and download it now
March 24th, 2015 7:15am

Dear Samir,

Sir many thanks for your prompt support.

We're not using Orchestrator or SMA in our environment.

March 24th, 2015 8:41am

So you may use the script provided by John Stavill
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2015 8:47am

Hi Sir,

In addition , please refer to following article regarding offline patch :

http://blogs.technet.com/b/heyscriptingguy/archive/2010/11/14/use-powershell-to-patch-vhd-and-wim-image-files.aspx

Best Regards,

Elton Ji

April 15th, 2015 1:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics