Solved

Hyper-V Default Folder Location

Posted on 2016-08-28
3
111 Views
Last Modified: 2016-08-30
Configuration FolderWhen I install Hyper-V on Windows 2012 R2 Server, it creates the following default folders.
Default location for virtual hard disk files: C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks
Default location for virtual machine configuration files: C:\ProgramData\Microsoft\Windows\Hyper-V

It seems to be that it makes more sense to put them in one root folder like the following:
C:\VM\VHD for Default location for virtual hard disk files and C:\VM\Configuration for virtual machine configuration files.

But I noticed that there are other folders under C:\ProgramData\Microsoft\Windows\Hyper-V.
So my question is if it is better to leave the default folder locations as they are or I can create my own folder like C:\VM and won't miss anything for not having all those additional folders (in C:\ProgramData\Microsoft\Windows\Hyper-V) seen on the screenshot.
0
Comment
Question by:sglee
3 Comments
 
LVL 20

Accepted Solution

by:
Russ Suter earned 250 total points
ID: 41774258
You can assign a new default folder without having any adverse effects on existing VMs. However the new default folder will only take effect for new VMs created after the change. You can move existing VMs but that can get a bit messy if you don't do it right.
0
 
LVL 80

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 125 total points
ID: 41774340
I always create a folder on another physical drive i.e. d:\hyper-v and move the contents of C:\ProgramData\Microsoft\Windows\Hyper-V, I actually have the virtual disks on several hard drives (for performance reasons) until I win the lottery and can afford a 12TB PCI-E NVme SSD's)
0
 
LVL 38

Assisted Solution

by:Philip Elder
Philip Elder earned 125 total points
ID: 41775268
In PowerShell we always do the following:
Set-VMHost -VirtualHardDiskPath “X:\Hyper-V\Virtual Hard Disks” -VirtualMachinePath “X:\Hyper-V\Volume1”
To check:
Get-VMHost | fl VirtualHardDiskPath,VirtualMachinePath

We always set up two logical disks on a standalone host's RAID controller.
75GB for the host OS
Balance GB/TB for guest settings and VHDX files. This second one is our X: drive.

We split things up to make it easier for us to recover the host if something goes sideways. A bootable USB flash drive with the host OS files on it is left plugged in to the host for this purpose.

I have an EE article that explains a bit more how we do things: Some Hyper-V Hardware and Software Best Practices.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
User wants to log with Username or Email 4 55
server 2012 and 2008 3 34
Exchange 2013 certificate error 3 33
Windows Server 2012 R2 - connect to computer 13 38
Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
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…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

821 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