How do I get my Hyper-V set up back?

William Thompson 1 Reputation point
2022-06-30T05:05:32.577+00:00

How do I get my Hyper-V set up back?

I set up a couple of vitrual machines using Hyper-V. There seemed to be some memory and resource issues. So I closed down the virtual machines and Hyper-V and
then I ran malwarebytes, ccleaner, and avg to clean up my system. I uninstalled a few programs that I determined I did not need. Then I also disabled some
programs that run on start up.

There must have been something, within the scope of all of this, that something was done to make Hyper-V behave differently. And this is why I am posting this.
The data in which the virtual machines ran on must still exist on my hard drive and I should be able to load it again.

At this time, when I type to launch hyper-v, I am given the opportunity to launch "Hyper-V Manager". The program loads with no virtual machines listen. It's title
bar says "Console1 - [Console Root]" amd "Console Root is listed as a folder. How do I set things back to the way they were? What are your thoughts? Please help.

216404-image.png

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
1,824 questions
No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Dave Patrick 329.9K Reputation points Microsoft MVP
    2022-06-30T12:37:32.793+00:00

    Simplest and quickest solution may be to clean install the operating system.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Prrudram-MSFT 10,451 Reputation points Microsoft Employee
    2022-06-30T13:59:39.767+00:00

    @William Thompson

    Hello William,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    It appears that Hyper-V role has been either removed or partially installed probably been disturbed while cleaning up some of the system (In general it should not be the case). As long as the Virtual Machines VHDs are available on the local disk of your machine, you can reinstall the Hyper-V role on the machine.

    First check from server manager, if the Hyper-V role shows as installed. If not, you can install it. If shows as installed, please remove and reinstall. For guidance on Windows server roles, you can also refer to the following link install-or-uninstall-roles-role-services-or-features

    Here is the reference to Hyper-V document on how to create a VM using an existing disk.
    create-a-virtual-machine-in-hyper-v

    Note: Ensure that the original Guest VMs VHDs are intact, or it is not removed/corrupted.

    Hoping that this solution helps you. Feel free to tag me in your comments and write your queries backup. I will be happy to help.

    --please don't forget to upvote and accept as answer if the reply is helpful--

    No comments

  3. Dave Patrick 329.9K Reputation points Microsoft MVP
    2022-07-01T00:05:35.653+00:00

    I ran malwarebytes, ccleaner, and avg to clean up my system. I uninstalled a few programs that I determined I did not need. Then I also disabled some > programs that run on start up.

    These sound like the likely culprits. You can also start a case here with product support.
    https://support.serviceshub.microsoft.com/supportforbusiness

    though as I mentioned it may be simpler to copy off the VHDs to removable, clean install it, add hyper-v role, import the virtual machines.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  4. Limitless Technology 37,341 Reputation points
    2022-07-03T09:58:12.227+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to Hyper-V Management.

    Please try to Uninstall Hyper-V tools from Server Manager

    On Windows Server, open Server Manager > Manage > Add roles and features. Move to the Features page and expand Remote server administration tools > Role administration tools > Hyper-V management tools.

    On the Windows desktop, click the Start button and begin typing Programs and features.
    In search results, click Programs and Features.
    In the left pane, click Turn Windows features on or off.
    Expand the Hyper-V folder, and click Hyper-V Management Tools.
    To install Hyper-V Manager, click Hyper-V Management Tools. If you want to also install the Hyper-V module, click that option.

    --------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    No comments

  5. Mohammed Altamash Khan 1,316 Reputation points
    2022-07-03T14:04:53.81+00:00

    Hyper V are my most fav part of windows

    As far as i understand you need to bring back your all VM that was showing in Hyper V manager.

    Step 1 : Check your hyper V service are installed or no , If yes check the hyper services . To enable Hyper V use CMD : DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V in PS admin mode.

    Service for Hyper V : https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/media/enable_role_upd.png

    Step 2 : Once your hyper V services are in place . Check where you saved the hyper V disk and data.

    Step 3 : If you success to locate the disk ( which has your OS and data) , create the new VM with using the same disk ( this way you may not loose your data in VM ) . you can allot memory and cpu depend on your physical system . once you created your VM dont turn ON and dont attach any ISO - go setting and adds SCSI Controller and attached your existing disk . and save - start VM .

    Step 4 : repeat the step for same to re - allocate your whole environment.