hyper-v

VMs unable to join domain controller on Hyper-V host

Hello. I've setup a Hyper-V machine running Server 2008 R2. it's configured as a DC for contoso.com (for example). I'm trying to get a virtual machine to join the Domain, but it says it cannot find a domain controller for that domain. The virtual can ping the host (servername.contoso.com) ok. Any thoughs? thanks. ...

Hyper-V File Shares over Wide Ethernet Dramatically Slower

We recently moved a file share machine that runs on 2008 hyper-v to our data center from our local network and now it is periodically extremely slow. The networks are connected via wide ethernet. Pinging the server returns in less than 1ms and tracert shows only 1 hop again at less than 1ms. Other services provided from that locatio...

Common API for ESX, Hyper-V, Virtual Server?

Hi, ESX, Hyper-V, and Virtual Server all have their own, non-interoperable APIs. Do you know of any library that unifies these? Thanks, J. ...

Hyper-V snapshot backup strategy appropriate for production SQL server?

So SQL Server 2008 in Hyper-V is a supported configuration, and should perform well as long as you use fixed or pass-through disks and increase your processor/memory settings appropriately. My question is can I use snapshots as a reliable backup mechanism, or should I use the tried and trusted maintenance plan to do my backups? ...

How to set up a SharePoint 2010 developer machine?

As the release date for the public beta of SharePoint 2010 is coming closer and closer, I'm wondering how to set up a developer machine for it. I've heard that for developing on SharePoint a 64 bit system is needed and that Microsoft advises to use Windows 7 64 bit and install SharePoint 2010 on it. I think that won't be an option for m...

Manipulate Hyper-V from .NET

Are there any means for a .NET application to create, delete, start, and stop Hyper-V virtual machines? I would like to create an automated means of starting and stopping (the create & delete are bonus) virtual machines from a C# application. I figured that (atleast) there would be a means of doing this via P/Invoke, but I cannot find a...

Hyper-V Integration Services

Hi I have Win2k8 Enterprise SP2 x86, which I was using in a Virtual Pc Machine. I used the vmc-hyper v tool to bring it into Hyper V. But now every time I try and install the intergration services, it says theres a previous version install, and I need to upgrade\repair, even though there is nothing in add remove programs about this exis...

Auto startup and shutdown of VMs in Hyper-V

I want to be able to automate startup and shutdown of a Windows XP VM running under Hyper-V on Windows 2008. The VM should only be available during office hours. Its a standard Windows XP (SP3) installation. So the VM should startup at 8am and shutdown at 6pm (regardless of any running applications) according to a schedule that I can e...

Programmatically attaching a VHD to a remote Hyper-V VM

Using Hyper-V Manager, I can connect to a remote VM host, go to the settings of a VM, and add an existing .VHD file as a new hard disk. If the VM host is running Server 2008 R2, and the disk is being attached to a SCSI controller, I can even do this while the VM is running (see What's new in Hyper-V R2). Doing this manually, everything ...

How do I enumerate network adapters on a Hyper-V guest using WMI?

I've got a Hyper-V host, with several guests, each with one or more network adapters. How do I enumerate the network adapters on those guests? Specifically, I'm looking for a particular guest, given a MAC address. I'm using C# and System.Management. ...

Hyper-V, VMware ESX and custom power management

In a research project involving virtualization and power management I am testing various resource allocation scenarios and custom power management algorithms. I am interested in isolating a virtual machine to use only a certain CPU core. I was thinking about using Windows 2008R2 and Hyper-V, but Hyper-V does not allow setting CPU affin...

Identify CPU P-State and current frequency inside Hyper-V guest

On my Hyper-V host I change the CPU P-state through power management policies and I see a frequency change. In the guest, the maximum frequency is always reported. How can I get the real CPU frequency inside the virtual machine? ...

Hyper-V monitor virtual machine disk activity

How can I get the number of bytes read from/written into the physical disk of the host system by Hyper-V virtual machines? ...

Ideas on how to save space with Windows 2008 R2 server on Hyper-V?

I've got this question awhile ago, but it still bothers me. I work with a few virtual machines running Windows 2008 server, mostly demo VMs and test machines. Since most devs use them, I prefer to not have individual setups here and there and maintain a catalog of exported VMs and hard drive images instead. Thanks to side-by-side asse...

Mercurial on IIS7 error when trying to clone repository

I have set Mercurial 1.51 up on a Hyper-V server running Windows 2008R2 and am trying to use IIS7 to serve the repositories. I followed these instructions which I had previously used when evaluating mercurial with success. All was going well I could see the repositories from with a browser but when I tried to clone the repository from ...

Can't set Network Adapter for Hyper-V machine

I have a windows 2008 Server with hyper-v enabled. I can't seem to load any network adapter into the virtual machine, it always says "Load Failed". Im really not sure what I'm doing wrong, or where to start. ...

Enabling multiple monitor support on guest operating system using Windows Server 2008 with Hyper-V

Having installled Windows Server 2008 R2 and enabled Hyper-V with two monitors working successfully on the WS2008 host, I would like to enable multi monitor support on a Windows 7 guest operating system. Can I do it? If so, how? ...

Installing 64-Bit VM on a hyper-v installed on 32 bit machine

Is it possible to install 64-Bit VM on a hyper-v installed on 32 bit machine ? If not is there any trick(like emulator) for doing this ? ...

Monitoring Bandwidth using Performance Counters with Hyper-V

After spending a good few days breaking my head open against my desk, I figured I'd throw this up here on StackOverflow since I've yet to see the question properly answered. This is a multi-part question. Once I know the concepts behind it, I should have no problem throwing it together. 1A) How do you get the InstanceNames associated w...

Step by step guide how to setup a 'group' of vm's (3-4) that have their own AD, etc, using Hyper-V

I'm trying to setup a training environment for sharepoint 2010, and I need to have a minimum of 3 VM's (AD controller, sql server, and sharepoint machine [other software ie visio, would be installed on one of these 3]). I've got Hyper-V, but its not as obvious how to do this, as it would be in say VM workstation. Anybody know of any li...