What Are the common commands that you use when you clone a virtual machine and specify the settings?

Hi again all,

I am new to the virtualization world, and am learning new things everyday.  Today i came across cloning and how to clone virtual Machine and how to create a template and all.

My simple question (out of curiosity)  is for the people with real life experience, what commands do you usually run in a new cloned machine under the run once configuration option ? And suppose am using a windows, when and where are the commands being run?

Thanks in advance!
Saif Ahmed YassenAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It gives you custom options to install other software e.g. anti-virus software, management agents, run scripts etc

the commands will be run, after all other functions, sysprep have been completed.

Not every Organisation will use this option, because they may have other management options to customize workstations.
0
Ben Personick (Previously QCubed)Lead Network EngineerCommented:
I usually run commands based on where the system is being deployed to:

  • Remove existing routes and put in new persistent routes
  • Turn off TimeSync (because we need to be sure and it was easy to add it in here)
  • Properly activate Windows to the correct KMS Server

Basically, anything I can do in simple CMDs that I would change depending on what network the VM was deployed to, so that I can reach it via RDP correctly and quickly, since I don't want to have to use VMWare console if at all avoidable.

This way whether I am joining a Domain or just making a stand-alone, I only have to select the correct customization template to handle those tasks instead of editing a run-once script on the system which requires running the system to handle, or creating a much more complex script that dynamically figured out what those values are based off network and domain membership, and still needs to have the VM turned on, or VMDK side0-mounted on another system in order to edit the values if things change.

  Additionally, if I want to deploy the VM to a new network/domain (or change where things point as above) I don't have to edit a script on the VM (again requiring power on or side-load the VMDK, or editing in an image editor like WinImage) I just copy an existing Customization template, paste it change it's name, and edit it to be appropriate, or I can Export all of the templates and make some mass changes across them using Notepad++ and re-import them if I need to change something across all of them.

 I think that is the main strength of these commands doing something you can't easily rely on a batch file in the domain to do and/or needed for basic operation that saves you from having to log in via the console.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Saif Ahmed YassenAuthor Commented:
Thanks again!
0
Ben Personick (Previously QCubed)Lead Network EngineerCommented:
glad to help :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.