See also more Hyper-V pages
See also Windows Core Configuration
http://www.techrepublic.com/blog/10things/10-things-you-should-know-about-hyper-v/431
http://4sysops.com/archives/windows-server-2012-hyper-v/
Note that Microsoft Hyper-V requires hardware virtualization support in the mainboard and CPU. Windows Server 8 will also require SLAT for Hyper-V.
Don't try to run an app directly from the root of C:. Create a folder and run the app from the folder.
Microsoft virtualization comes in two basic flavors:
Hyper-V http://technet.microsoft.com/en-us/library/cc730764
RemoteFX http://www.petri.co.il/configuring-remotefx-hyper-v-r2-sp1.htm
Windows Server 2012 Virtual Labs http://technet.microsoft.com/en-us/windowsserver/hh968267.aspx
See also Hyper-V Remote Management
On a Windows management workstation:
netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes
Add all other Hyper-V Servers the same way (optional)
In the MMC:
Hostname Policy → Computer Configuration → Admin Templates → System → Device Installation
Allow Remote Access to the Plug and Play Interface → Enabled
pnputil -i -a *.inf
List a device driver and service name:
sc query type= driver
Disable a device driver:
sc delete <service_name>
You should configure NIC teaming after installing drivers and before network configuration.
You will have to reconfigure the server networking after configuring NIC teaming.
NIC Teaming is now built into Windows Server 2012 and is vendor independent.
NIC Teaming User Guide: http://www.microsoft.com/en-us/download/details.aspx?id=30160
Get-NetAdapter -Physical New-NetLbfoTeam Team1 "Network 2","Network 3" -LoadBalancingAlgorithm HyperVPort
If you are not using the bare-metal Hyper-V Server, you need to install the Hyper-V role on the host Windows Server OS:
dism /online /enable-feature /featurename:Microsoft-Hyper-V
Reboot after installing the Hyper-V role.
Set Power Config to “Best Performance”.
List the available power schemes:
powercfg -list
powercfg -setactive [GUID]
Use DiskPart to create partitions, volumes and drive letters for the virtual disks.
diskpart DISKPART> list disk DISKPART> select disk [DISKNUM] DISKPART> create partition primary DISKPART> list volume DISKPART> select volume [VOLNUM] DISKPART> format fs=ntfs label="LABEL" quick DISKPART> assign letter=[DRIVELETTER]
See also Windows Core Configuration
* Microsoft Hyper-V Server only has a limited text console (sconfig.cmd) for local management. There is also a command prompt available.
* The free management tools, the Hyper-V Management Console, is an MMI snap-in that only runs on a Windows 7 PC.
* The Microsoft System Center Virtual Machine Manager (SCVMM) has been renamed to Microsoft System Center 2012. These are commercial tools for managing Hyper-V.
Install and restart server on WS2012 with PowerShell:
List available Hyper-V features:
Get-WindowsFeature hyper-v* Install-WindowsFeature hyper-v-tools Install-WindowsFeature hyper-v-powershell
Old info?
Install-WindowsFeature Server-Gui-Mgmt-Infra Restart-Computer
Manage:
virtmgmt.msc
Hyper-V Server 2012: http://smudj.wordpress.com/2012/09/26/quick-and-dirty-managing-hyper-v-server-2012-from-windows-8/
Hyper-V Server 2008 R2: http://technet.microsoft.com/en-us/library/ee815282%28v=ws.10%29.aspx
You must configure remote access to the Hyper-V Server. It is blocked by default.
If you join an Active Directory Domain, remote access is simplified.
You must have DNS name resolution configured in both directions. Obviously, this is already taken care of if using an AD Domain.
If you are not on an AD Domain, download the HVRemote script to both the server and the management workstation and run the commands (on both the server and the management workstation) shown on this page and run commands in the “10 Second Guide”:
You must be a member of the Administrators user group to run the tools
Install the tools:
Start → Control Panel → Programs → Programs and Features → Turn Windows features on or off → Remote Server Administration Tools
Run the Hyper-V Manager:
Start → Administrative Tools → Hyper-V Manager
http://technet.microsoft.com/en-us/library/dd630633%28WS.10%29.aspx
https://www.microsoft.com/en-us/server-cloud/system-center/datacenter-management.aspx
http://technet.microsoft.com/en-us/library/ee340124.aspx
There are two easy methods you can use to create new VMs:
* Use the optical drive on the server * Create a local ISO library for storing your .iso files
At the Hyper-V Server command prompt:
mkdir c:\ISO net share ISO=c:\iso /grant:administrator,FULL /grant:admin,FULL /grant:"Authenticated Users",READ net share
http://www.microsoft.com/en-us/download/details.aspx?id=34603
http://mythoughtsonit.com/2012/05/linux-integration-services-for-hyper-v-enter-the-linux-kernel
http://technet.microsoft.com/en-gb/library/cc794868%28WS.10%29.aspx
http://blogs.technet.com/b/port25
http://technet.microsoft.com/en-us/library/ee407540%28WS.10%29.aspx
http://technet.microsoft.com/en-gb/library/cc794868%28WS.10%29.aspx
http://support.amd.com/us/kbarticles/Pages/WinXPVirtualizationHotfix.aspx
http://community.spiceworks.com/how_to/show/3009
http://www.techrepublic.com/blog/networking/tips-and-tricks-for-usb-support-with-hyper-v/5659
http://technet.microsoft.com/en-us/library/ff793409.aspx
http://technet.microsoft.com/en-us/library/ff817602%28WS.10%29.aspx
http://blogs.nvidia.com/2012/06/for-best-virtual-desktop-nvidia-vgx-windows-remotefx/
http://www.nvidia.com/object/quadro-remotefx.html
http://www.wtslabs.com/blog/?p=176
With RemoteFX you invest in server hardware with GPUs, but this allows you to buy very cheap and disposable thin or zero clients that don't require much computing or GPU power. This is in contrast to some technologies like Citrix HDX that purposefully offload some CPU/GPU processing to the client devices.
http://www.quest.com/partners-profile/microsoft-win7sp1.aspx
http://derek858.blogspot.com/2011/05/vir313-remotefx-gpu-virtualization-deep.html
http://virtualizationreview.com/Blogs/Virtual-Insider/2011/05/Configure-RemoteFX-Hyper-V-R2-SP1.aspx
http://www.petri.co.il/configuring-remotefx-hyper-v-r2-sp1.htm
http://studiohub.wordpress.com/2011/02/24/enable-remotefx-on-hyper-v-server-sp1/
It is important to note that your very first step before configuring or enabling RemoteFX should be to install the drivers for the graphics card; otherwise, Hyper-V will not be able to provide that card as part of the virtual hardware later when you try and add it to a virtual machine.
Once you have successfully installed and configured RemoteFX on the Hyper-V host, you will be able to configure virtual machines with the RemoteFX Adapter.
When configuring your VMs with RemoteFX, be careful how many monitors you choose to support and the maximum resolution for each. These settings directly impact and affect the amount of GPU memory that needs to be reserved on the Hyper-V host. Of course the more monitors with high resolution that you configure per VM, the fewer VMs you can configure with RemoteFX. Be careful and give users exactly what they need, not more than what they need, which is what we tend to do with all virtualization technologies these days. Resources still matter, so use them wisely.
It is important to note that when you are using the RemoteFX 3D virtual adapter, you will not be able to connect to your VM using Virtual Machine Connection. Instead, you should use the Remote Desktop client to connect to that VM. If, for whatever reason you need to use the Virtual Machine Connection, you will need to remove the RemoteFX 3D virtual adapter.
Also, for those looking to investigate RemoteFX running on a physical Hyper-V Server 2012 RTM and looking for which video cards work with it (requires DirectX 11 capability in the video card and SLAT capability in the physical CPUs), VisionTek 2GB HD 5450 video cards at about $40 each new in box on eBay work fine. Each of those video cards provides about 14x 1920×1080 one-screen RemoteFX sessions.
I know that this is an old thread, but I ran into this problem when I installed a new Hyper-V Server 2008 R2 and decided to write up a short guide on how to resolve this for future reference.
As you've all stated yourselves, the driver is fine since it is loaded and working with the other NIC. Something went wrong during the hardware detection and driver installation phase of the OS installation, and did not create a corresponding service associated with the NIC.
To fix this, we need to remove the NIC from device manager and let Windows detect it once again.
The Device Manager GUI is absent in server core, (yes you can still run device manager remotely from another computer, but from R2 this is a read-only type of administration). The corresponding application for use in CLI is a small software called Devcon.exe. This utility is included in the Windows Driver Kit and can be downloaded from here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=11800
Once you have put Devcon.exe on your core server (I just copied it straight into C:\) you can find the NIC you want to remove by typing:
Devcon.exe find =net
This will return a list of devices of the network adapter class, and will look something like this
C:\>devcon find =net ROOT\VMS_MP\0000 : Microsoft Virtual Network Switch Adapter USB\VID_04B3&PID_4010\5&22381B6E&0&2 : IBM USB Remote NDIS Network Device PCI\VEN_8086&DEV_105E&SUBSYS_125E8086&REV_06\4&11E9E35A&0&0038: Intel(R) PRO/1000 PT Dual Port Server Adapter #2 ROOT\*6TO4MP\0000 : Microsoft 6to4 Adapter ROOT\*ISATAP\0000 : Microsoft ISATAP Adapter #17 ROOT\*ISATAP\0001 : Microsoft ISATAP Adapter #18 PCI\VEN_8086&DEV_105E&SUBSYS_125E8086&REV_06\4&11E9E35A&0&0138: Intel(R) PRO/1000 PT Dual Port Server Adapter B06BDRV\L2ND&PCI_163914E4&SUBSYS_03A91014&REV_20\5&15D4A2B4&0&20050B00: Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #2 ROOT\*ISATAP\0002 : Microsoft ISATAP Adapter #19 ROOT\*ISATAP\0003 : Microsoft ISATAP Adapter #20 B06BDRV\L2ND&PCI_163914E4&SUBSYS_03A91014&REV_20\5&2E6DCA5E&0&20050B00: Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #52 11 matching device(s) found.
Broadcom BCM5709C NetXtreme II GigE (NDIS VBD Client) #2 is the device that I want to remove, and I do this by copy/paste the hardwareID into typing:
Devcon.exe remove B06BDRV\L2ND&PCI_163914E4&SUBSYS_03A91014&REV_20\5&15D4A2B4&0&20050B00
Since the parent registry object is the same for both NIC's on the dual port adapter, this will unfortunately remove both broadcom adapters, so if any static IP or other settings were configured on the working adapter, this must be redone. Also if you perform this via remote RDP, you will lose connection to the server.
To have the server detect the NIC's again you will have to type:
Devcon.exe rescan
And the adapters will now be reinstalled.