Recommended Posts

Hello folks,

I'm curious as to the reasoning behind a default setting in Hyper-V server. When you initially configure the role, it lists the location of virtual hard disks. The default location it gives you is c:\Users\Public\Documents\Hyper-V\Virtual Hard Disks.

This seems like a slightly weird choice to me. Why did they make that the default location? Does it have to do with shared access to VMs? What benefits does putting them there provide?

TIA

Link to comment
https://www.neowin.net/forum/topic/1072197-hyper-v-question/
Share on other sites

Hello folks,

I'm curious as to the reasoning behind a default setting in Hyper-V server. When you initially configure the role, it lists the location of virtual hard disks. The default location it gives you is c:\Users\Public\Documents\Hyper-V\Virtual Hard Disks.

This seems like a slightly weird choice to me. Why did they make that the default location? Does it have to do with shared access to VMs? What benefits does putting them there provide?

TIA

A *default location* is generally the first place that an operating system (desktop or server) looks for things. It's no different in Hyper-V (or Windows Server 2K12) than in VirtualBox, VMware, Windows 8, or even Windows 7. This can be changed at VM-creation time (example - private VMs that you don't want shared at all); again, like any of the products I outlined above. That particular choice is because the default settings are for shared (public) VMs (hence that default location two levels down in the Public folder).

I've been kicking around Hyper-V in Windows Server 2K12 (formerly Windows 8 Server) because it's not as restrictive as the same feature is in Windows 8 (client) - SLAT is not a requirement, nor is 4 GB of RAM. (While I have 4 GB of RAM on the host, the Q6600 does not support SLAT. Fortunately, i5-2500k *does* support SLAT, so when I finally get the opportunity to finish my build, this issue goes away.)

I have one question regarding client (specifically, Windows XP) support in Hyper-V - how solid is it compared to other virtualization products (especially desktop virtualization)? I create primarily Windows-based VMs for application-level troubleshooting), and right now, I use primarily VirtualBox for this Being able to replace a third-party utility with an included with-the-OS utility sounds mighty attractive!

Thanks for the replies and info. The Public user folder still seems an odd location for any OS to use as its default location to me, but I can accept it i suppose. I'll probably move the location to the root of C instead for now, until I see a benefit in the default.

As for the performance of Hyper-V vs others in running an XP vm. I think it's rock solid. I've installed and used Hyper-V as a role on 2 different servers with very different hardware, and they both perform(ed) very well when accessing them from the local machine and remote machines as well.

I've also used vmware and virtualbox, and am a lot more familiar with them. But Hyper-V seems very configurable and straightforward.

  • 7 months later...

Thanks for the replies and info. The Public user folder still seems an odd location for any OS to use as its default location to me, but I can accept it i suppose. I'll probably move the location to the root of C instead for now, until I see a benefit in the default.

As for the performance of Hyper-V vs others in running an XP vm. I think it's rock solid. I've installed and used Hyper-V as a role on 2 different servers with very different hardware, and they both perform(ed) very well when accessing them from the local machine and remote machines as well.

I've also used vmware and virtualbox, and am a lot more familiar with them. But Hyper-V seems very configurable and straightforward.

That it is.

I've created several different types of VMs in Hyper-V, and used different storage locations, and I have found that the default storage location is hierarchy-dependent (where the root partition of the *server* is in the disk hierarchy) - again, this doesn't differ among virtualization products (not even desktop virtualization products); if you look at how any of the virtualization products treat VMs and virtual drives, they tend to stick to "default" locations by default. Fortunately, like it's counterparts in the desktop-virtualization space, Hyper-V Virtual Machine Manager is amazingly flexible on where it *puts* things if you have a use for it - I can't use the default position due to capacity constraints; my Server 2012 HDD is way too small!. Instead, I use the (much larger) Windows 8 drive/partition for my Hyper-V VHDs (though VM configuration is still stored on the server). What I will be planning on (after some hardware upgrades - mostly drives) is to dedicate two 1TB+ drives to VM/VHD storage - in essence creating a VM/VHD pool.

I use Hyper-V (Server 2008 R2) at home and in several client's locations.

When creating VMs you can specify where the VHDs are stored. It is highly recommended to put them on their own storage drives. At home I have tested them on a 2x1.5TB 7200RPM software RAID0 volume and on a 4x2TB 7200RPM hardware RAID5 volume, the hardware RAID5 mounted VMs had significant IO performance. I managed to copy to/from them fully saturating my gigabit LAN. The same VMs on software RAID0 manage about 50MB/s of network transfer.

Once a VM is turned off you can simply move a VHD to a new location and use HYPER-V Management console to tell the VM new location is.

In regards to using HYPER-V for a client OS, one of my clients had a satellite office that they wished to give access to our network... on a limited budget and internet connection. I created Windows 7 VMs for the remote employees and set up basic machines at the remote location that simple ran a RDP connection over VPN. This ran perfectly for about a year until the satellite location was closed.

This topic is now closed to further replies.
  • Posts

    • "Of course the easiest solution is to switch to uBlock Origin Lite if you want to remain on Chrome, as it is MV3-based, but from our experience, uBO Lite does not seem to be as good as the original non-Lite version" In my experience uBlock Origin Lite does the job for normal everday home users. When they kill that we get to watch Firefox and Brave get a boost in user market share.
    • Block by DNS ad blocker! I dare you! I will even layer unlock Origin, on top of my internal DNS, if I need to and I don’t even block ads today (I really should but this type of behavior makes me angry). I suppose I could also just be lazy, and add the flags myself, back to each release (it wouldn’t be that difficult).
    • Wonder what MPs have ties to these privacy/verification/data harvesting companies that are going to step in this time. Last time under the Tories half the cabinet had fingers in the pies, heck even the PM and his wife at the time was working for silicon valley, probably made a fortune.
    • Google Chrome is killing all uBlock Origin bypasses, Microsoft Edge, Opera to follow by Sayan Sen For a while now the transition away from Manifest V2 (MV2) to MV3 has been on-going and it looks like it is entering its final phase of deprecation, at least, in the case of Google Chrome. A recent discussion thread in the w3c WebExtensions Community Group GitHub repo has highlighted how the latest and upcoming versions of the most popular browser are expected to be its final releases with support for MV2 extensions. Chromium contributor Andrey Bershanskiy shared details about recent Chromium changes and according to comments from Google engineer Devlin Cronin, Chrome has now started removing the flags that previously controlled MV2 availability. kExtensionManifestV2Disabled, the Chromium feature flag that allowed controlled disabling of MV2 add-ons, is now completely removed, which means you will likely no longer find uBlock Origin in your browser extensions list. He wrote: "The kExtensionManifestV2Disabled feature has been default-enabled for over a year. Remove the feature and the effectively-dead code. ... Any tests that relied on being in the "warning" phase (i.e., with the kExtensionManifestV2Disabled) for their sole behavior testing are removed, since this stage is no longer reachable." Cronin further explained why MV2 extensions are no longer allowed in supported Chrome versions as maintaining the associated functionality indefinitely is no longer possible. He cited growing technical difficulties and implementation complexities as well as security concerns. He wrote: "MV2 extensions are no longer allowed in any supported version of Chrome, and we are removing support for them and the associated functionality. We won't be able to provide / maintain this functionality indefinitely due to the complexity and tech debt, as well as the security risks it entails (we've actually found a number of bugs that are specific to MV2 lately). Of course, other browsers can continue supporting these if they so desire. Unfortunately, we won't be putting code behind a compilation flag ... We won't be removing all the MV2 code wholesale right away, so many of these things will continue working for awhile (but they will go away eventually, and some may go away sooner than others)." What this essentially means is that the tricks and bypasses that were used to keep MV2 extensions like uBlock Origin and others alive will not work any more on Chrome, or at least not for very long. For example the Windows Registry mod that could extend MV2 availability will cease to function after Chromium version 151. Here is a rundown of the changes coming in the final such releases of Chromium releases: Chromium 150 lost ExtensionManifestV2Disabled option Chromium 151 will loose ExtensionManifestV2Unsupported option Chromium 151 will loose ExtensionManifestV2Availability option Chromium 151 will likely loose AllowLegacyMV2Extensions option Other Chromium-based browsers like Opera and Microsoft Edge could soon follow suit too. Although it is not specified, Edge began disabling uBlock Origin back in February, and Opera could also stop the functioning of MV2 add-ons, even though it had committed to support MV2 for longer in October 2024. uBlock Origin developer Raymond Hill (gorhill) apparently stated the following: "For Opera I did submit 1.70.0 rather late, but this was weeks ago. A while ago I received an email from Opera that they plan to abandon MV2-based extension so maybe they are no longer allocating resources for reviewing such extensions." The email which developers like Gorhill mentions was received from Opera last year. Here is what it seemingly said: Hence for now the only Chromium browser that seems to be on-board fully with MV2 support is Brave, and perhaps Vivaldi as well. Meanwhile if you want to ditch Chromium browsers entirely then Mozilla Firefox is an excellent alternative as MV3 and MV2 are both supported. Of course the easiest solution is to switch to uBlock Origin Lite if you want to remain on Chrome, as it is MV3-based, but from our experience, uBO Lite does not seem to be as good as the original non-Lite version. Source: w3C (GitHub repo) As an online publication, Neowin too relies on ads for operating costs and, if you use an ad blocker, we'd appreciate being whitelisted. In addition, we have an ad-free subscription for $28 a year, which is another way to show support!
    • Write to your MP 😄 Like believing in Santa. Total surveillance IS the goal. Wake up.
  • Recent Achievements

    • One Month Later
      mobmobiles earned a badge
      One Month Later
    • Very Popular
      Captain_Eric earned a badge
      Very Popular
    • One Month Later
      amusc earned a badge
      One Month Later
    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      510
    2. 2
      PsYcHoKiLLa
      219
    3. 3
      ATLien_0
      92
    4. 4
      +Edouard
      90
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!