Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

In the above article, my post of interest is:

Please take a look at Offline Virtual Machine Servicing Tool 2.1 -

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?

share|improve this question
Do you have the ability to use VMware Update Manager? It can update templates. – TheCleaner Jun 27 '13 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? – Resfap Serag Jun 27 '13 at 16:00
up vote 0 down vote accepted

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.

share|improve this answer
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? – Resfap Serag Jul 2 '13 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. – tony roth Jul 2 '13 at 14:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.