Keep remote Hyper-v hosts in manager on close
I have a windows 8.1 machine that I have installed the Hyper-v role on. We also have a couple of 2012 servers running hyper-v. I am currently managing them from my PC to make life easier.
When I connect to a remote host, I can see all of the VMs. However, when I close the manager, the connection to that host is not remembered, meaning when I next open it, I have to manually re-connect.
Not the end of the world, but was just wondering if there was a way to make the manager keep these connections as persistent so I don't have to go through this process on every start up?
Solution 1:
This happens because the MMC provided by Microsoft you are launching is read-only. Create your own MMC that can save your changes:
- In the Start menu, type MMC and press enter.
- From the File menu, pick Add/Remove Snap-in.
- Add the Hyper-V Manager Span-In.
- Click OK.
- Add all of your Hyper-V servers.
- Close and save your MMC.
Solution 2:
I ran into this issue on my Windows 8.1 machine as well, it may be because I have the Client Hyper-V role installed, but I was able to 'get around' the issue by loading up the Hyper-V Manager, connecting each of the servers I wanted, then right-clicking on each one and selecting 'Remove Server', then when it asks, select 'Connect' (to essentially reconnect the next time it's loaded). Do this for all of the servers you've added, then close and re-open the Hyper-V manager, hopefully that'll work for you.
I've also noticed that the issue can return if I close and reopen the Hyper-V manager to quickly. It's like it hasn't fully closed down when it opens it back up and forgets some stuff.
Solution 3:
Resolution same as JackD above, except on Windows 10 machine. I had to do the add, remove server, tell it to reconnect next time. Otherwise it would not save the list.