1

I am a programmer on my school's internship. At my company, at the end of each month, we have this VMware product which lets you make virtual machines. You can deploy these virtual machines using templates you can make. At the end of each month, someone usually has to "convert each template" into a virtual machine and then upgrade Windows Security inside them and then close the template. This takes quite a bit of time as we have around 10 templates. I am fairly new but I have coding experience so I was wondering if there is a way to automate this process?\

I found this article but due to my lack of experience it doesn't make much sense to me.

http://social.technet.microsoft.com/Forums/systemcenter/en-US/c940b797-0b40-4a2e-87a6-6c6927ba6dd4/automatically-apply-windows-updates-to-a-vm-template

In the above article, my post of interest is:

Please take a look at Offline Virtual Machine Servicing Tool 2.1 - http://technet.microsoft.com/en-us/library/cc501231.aspx

To keep the templates up-to-date, you can have a corresponding stored VM in SCVMM library. Use offline servicing tool to install software updates and then clone it and create new template with the updated image.

I don't know if the above is a faster method because this is my first time working with virtual machines. Can someone point me to the right direction?

2
  • 1
    Do you have the ability to use VMware Update Manager? It can update templates. Commented Jun 27, 2013 at 14:34
  • I do not have VMware update manager. It costs money and the company doesn't already have license for that product. Is there any other option? Commented Jun 27, 2013 at 16:00

1 Answer 1

0

With a combination of powercli and the vmware sdk (you need to native mount the vmdk to a windows server). If I remember correctly the sdk has a windows based vmdk mount tools so via powercli mount the disk then you run DISM against this offline vm, dism allows offline updating.. Not a trivial task but it can be done. I did this many years ago so I don't remember all the details. So I'd google dism offline line update and vmware sdk mount vmdk this should give you enough of what you'll need to cover this.

2
  • I am hoping this doesn't require any additional purchases as I cannot make anymore purchases. @tony roth I am not familiar with all these acronyms you are using...could you please explain the process in a more noob-friendly manner? Commented Jul 2, 2013 at 13:20
  • no additional purchase require if you have window 7+, powercli is a free download from vmware and if you have a windows 2008r2 or windows 7 or better dism is included. The vmware SDK is free too. At that point like I said I start googling things. Commented Jul 2, 2013 at 14:42

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.