Hot answers tagged

45

Register: If you have a virtual machine were you have already put all of the virtual machine files exactly where you want them, and you just need Hyper-V to start using the virtual machine where it is. Restore: If your virtual machine files are stored on a file share / removable drive / etc… and you want Hyper-V to move the files to the appropriate location ...


31

Generally no, this is not a good thing to do. Let your underlying storage do the RAID and don't add software RAID unless you have a compelling edge case, and even then you probably should reconsider your design. It will increase overhead, decrease performance, and not add a whole lot of benefit. Software RAID has its place. That place isn't on top of ...


27

Absolutely, let's post a prim and proper answer for Google. This is a simple 2 command Powershell execution, using the dism module. The dism can be copied to earlier versions of Windows, provided you have the appropriate version of the windows management framework. First, mount the vhd using Mount-WindowsImage -ImagePath C:\VHDs\BigHomies.vhdx -Path C:\...


26

The main reasons you'll want to pursue an enterprise-level virtualization solution are mindshare, support, manageability, and feature-set. Mindshare is important because virtualization is an investment in a technology, an investment that requires platform longevity. Nobody wants to be the one who picked the wrong tech solution. So the major players in the ...


26

In the general case, the advantage of putting a standalone server on a hypervisor is future-proofing. It makes future expansion or upgrades much easier, much faster, and as a result, cheaper. The primary drawback is additional complexity and cost (not necessarily financially, but from a man-hours and time perspective). So, to come to a decision, I ask ...


22

Try to execute this command: exec sp_updatestats It, incredibly, resolved the problem. The code above its the error before the command has been executed. [Win32Exception (0x80004005): The wait operation timed out] [SqlException (0x80131904): Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not ...


21

Like chanting Bloody Mary into a darkly-lit bathroom mirror, let's see if we can get Jake Oshins to show up... Gang scheduling is also referred to as co-scheduling. I think VMware prefers the term co-scheduling to gang scheduling. In ESX versions prior to version 3.x, VMware used "strict" co-scheduling, which had the synchronization drawbacks. In ESX 3.x ...


20

Why on earth are your regular users allowed to log into a Hyper-V host that is running production VMs? What you need to do is not let regular users administer Hyper-V hosts. That's just crazy. They have to either belong to a group like Domain Admins or be a local admin on the host to be able to do this. You should take these privileges away immediately.


20

Virtual machines in every hypervisor that I know of are able to use additional virtual CPUs on which to schedule additional concurrent threads of execution. It's exactly that layer of abstraction between physical machine and virtual machine that makes it not work the way you describe. The VM is not aware of how many cores the physical machine has. The VM ...


20

Windows Server 2012 R2 is all about PowerShell and frankly with the redesign of Server Manager I'm quite glad. PS C:\WINDOWS\system32> Remove-WindowsFeature -Name Hyper-V


18

One rationale for retaining one physical DC per domain is if there is a major incident that affects the host or trashes the frame storage for the virtualized DC's, you would have at least one physical DC with local storage to perform recovery and maintain continuity. Microsoft continues to perform this check and make this recommendation during Active ...


18

Found my specific issue :) I was using an invalid hostname, and the DNS wasn't resolving properly. WRONG: server-1.local RIGHT: server-1-local But on a different note, I also found that the Microsoft doc (Remotely manage Hyper-V hosts with Hyper-V Manager) didn't document all the instructions necessary for me to make things work. It was mostly correct, ...


17

When Hyper-V runs as a role on Windows Server 2008 and Windows Server 2008 R2 it's still and hypervisor. It is type 1 (bare metal) in both cases. The trick here is that when you install Hyper-V as a role on Windows Server 2008 R2 you see the Windows Server like a host OS and it is not. The setup converts the original OS in something like a VM and puts the ...


17

Looks to be an issue with HyperV snapin crashing when running on a second monitor You aren't going to believe this. We figured out what it was finally and it was fairly complicated :) We found a bug with the Hyper-V MMC snap in that is very repeatable. With Win2k8R2, hook up a machine to an external monitor (I was doing this on a laptop). Then, ...


17

If you are running server 2012 then you already have access to hyper-v. The free hyper-v should serve your needs, you can run the GUI from any client or the 2012 server. This would also get you shared nothing migrations if you can't afford a san. http://blogs.technet.com/b/keithmayer/archive/2012/09/07/getting-started-with-hyper-v-server-2012-hyperv-...


16

Whenever your virtualization-solution needs an OS (other then it's own for very basic tasks) to run on, it's "Type 2"-virtualization. It looks like the Windows Server OS will virtualize itself when you install the server roll. The Hypervisor will be started initially on boot which will hand-over the boot process to Windows Server 2008, which is now the ...


16

To summarize, it appears that you are asking whether it makes sense to deploy Windows Hyper-V Server 2008 R2 on each desktop computer in order to simplify the process of deploying clean images to client workstations. Answer: no, it does not make sense to use Hyper-V Server on every desktop, for a multitude of reasons including the following: No one else ...


16

I think the operating system being virtualized is a big factor, along with performance requirements and potential for expansion/growth. Today's servers are often excessively powerful for the applications and operating systems we use. In my experience, most standard Windows systems can't make efficient use of the resources available in a modern dual-socket ...


16

The nuclear option that works with Windows Core is using netcfg to wipe out all your networking settings and re-initialize the network card drivers. #WARNING! DANGER! THIS WILL DELETE ALL YOUR NETWORKING SETTINGS! netcfg -d That seems to work better than nvspbind.exe or various other PowerShell commands when I really screw up my Hyper-V VMSwitch or ...


15

Okay, Ryan, you made my day. I don't read this forum as much as I used to, but I happened to check in. Red888, you should know up front that I'm a software architect who works on Hyper-V at Microsoft. I assume most people reading this are perfectly capable of clicking on my name link below this and discovering that, or even Googling me, but for this ...


15

If you are a 501(c)3 there is no reason to buy VMware. In fact, you should use TechSoup.org to get all the Microsoft and Cisco you can. Ideally you would be keeping track of donation cycles and timelines and planning at least a year ahead on what donation requests you are going to make from Tech Soup next time the cycle comes around. This is especially true ...


15

From a helpful fellow commenting at https://blogs.technet.microsoft.com/virtualization/2017/04/20/making-it-easier-to-revert/: Set-VM -Name MyVM -AutomaticCheckpointsEnabled $false will tell Hyper-V on Windows 10 not to use automatic checkpoints for that virtual machine only. I'm still not aware of a way to tell the Windows 10 Hyper-V host not to set that ...


14

Windows Server 2012 R2 & Windows 8.1 It turns out that Second Generation Hyper-V doesn't include the option to boot from physical CD/DVD. Only Generation one Have the option to boot from it. http://technet.microsoft.com/en-us/library/dn282285.aspx *In previous versions of Hyper-V there was only one type of virtual machine. Hyper-V in Windows Server ...


14

First start "Add Roles and Features Wizard" and then switch to the "Remove Roles and Features Wizard". And there it is possible to remove Hyper-V role.


14

To create true HA you need shared storage, Windows 2016 has S2D feature, but it's available in Datacenter license. In Hyper-V it's easier to create an HA because you no need any additional licenses (vCenter) and it's available right from the box. All S2D features can be used starting from four nodes, if you're using fewer nodes, here is the nice topic ...


14

Windows VMs running on Datacenter are licensed through Automatic Virtual Machine Activation, which lets a VM activate via the Hyper-V service on the host. All you need to do is to provision the VM with the appropriate AVMA product key, which are provided in Microsoft's documentation.


13

Hyper-V internally allocates memory in 2MB chunks. The hypervisor itself will use 2MB page table entries for efficiency, if possible, if your processor supports Second-Level Address Translation (SLAT.) This will be possible for pretty much any VM with Dynamic Memory turned off. Other than that, no it doesn't matter.


13

What Wesley said... Plus a diagram: +----------------------------------+ | +----------+ +---------+ | +----+ +----+ +----+ | | pfSense | | Host OS | | | | | | | | | | | | | | | PC | | PC | | PC | | +----------+ +---------+...


13

Most likely, you are seeing an issue with Virtual Machine Queues. If you are running a Broadcom network adapter, you will need to disable Virtual Machine Queues. We just setup a new server, running Server 2012 Standard with Hyper-V, running two Server 2012 Standard guests, and saw the exact same thing you are describing. This seems to be an issue affecting ...


13

The reason you're frustrated is because you're trying to do something that you shouldn't be doing. You say If anyone is now saying, “wait, what about a SAN or a NAS for the file servers?”, well too bad.` You're right. Too bad for you. What you're trying to do cannot work. A cluster disk must be the same disk shared amongst cluster members. You can't ...


Only top voted, non community-wiki answers of a minimum length are eligible