Delete Hyper-V server

Posted on 2011-10-31
Last Modified: 2012-05-12
I created a Hyper-V virtual server on my Server 2008 R2 Enterprise server just for testing and as a learning experience.  Now I want to delete the Virtual Server and remove all traces of it so I can start again.  So, how do I delete my test Hyper-V server and reclaim all of my disk space so I can start again?  Thanks.
Question by:tech218
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    Delete the Servers and Remote the Hyper-V role.
    LVL 116

    Expert Comment

    by:Andrew Hancock (VMware vExpert / EE MVE)
    That should be Remove the Hyper-V role.
    LVL 6

    Accepted Solution

    1. Go to Hyper-V manager.  With the correct host selected in the left column, click "Hyper-V Settings" in the right column.  Make note of locations used by "Virtual Hard Disks" and "Virtual Machines".
    2. Stop all your VMs.
    3. Remove the role according to:
    4. Reclaim any space that was not released by deleting any files/folders that you no longer want from the locations ID'ed in Step 1.
    LVL 20

    Assisted Solution

    by:Svet Paperov
    ... and manually delete the VHD files. Removing the Hyper-V role will not delete the virtual disks.
    LVL 6

    Expert Comment

    ...hence the step 1 and step 4.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Suggested Solutions

    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
    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…

    755 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

    24 Experts available now in Live!

    Get 1:1 Help Now