SC VMM 2008R2 deploying VM from template unable to rename VHD during process

Posted on 2012-09-07
Last Modified: 2012-09-10
Hi All

I have just installed SC VMM 2008R2 to manage my 2 node 2008 R2 Hyper-V cluster, I have created a Hardware Profile and a guest OS profile, i have created a template from an existing VM.

When i right click my template - New Virtual Machine it lanuches the wizzard, i then give the VM a name and click next, i am then onto the Configure hardware section, at this point  when i try and edit the VHD details under IDE Devices its all greyed out, it shows the path to the VHD that is part of my template which is called "W2k8R2STD-Template_disk_1.vhd

So when i am deploying VM's from this template even though the folder on the CSV is unique for each VM the actual VHD's are named the same as my template

Im sure this cant be correct, can anyone point out where i may be going wrong.

Question by:ncomper
    LVL 23

    Accepted Solution

    LVL 23

    Expert Comment

    by:Stelian Stan
    What you need to do is to create the initial VHD and configure it as needed. Then you should open a command line and browsed to the 'C:\Windows\System32\sysprep' folder and ran the following command:

    sysprep /oobe /generalize

    Once this command is done running on the VM, it shuts it down and the VHD is now ready for deployment as an Out Of Box Experience (oobe) and Generalized machine with no SID.

    A really good document on this is the two part:
    LVL 5

    Author Closing Comment


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
    For Backups Guest OS files and indexing(and application awareness), Veeam needs Admin rights in Guest OS(Windows and Linux). In Windows a Domain Administrator account, and in Linux root access to perform this type of Backups and also Restore.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now