Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

Unable to open network and sharing center on virtual machine hosted on 2012 r2

$
0
0

Hi guys.

Panic mode...

Two Hyperv 2012 R2 servers.

We did live migrations between those servers and experienced duplicated MAC's.
Now we wanted to solved it by removing nic on every virtual machine, re-adding it and putting static ips on those nic.

We got stucked with the last server where exchange 2013 is hosted.
we have removed the nic, and readded, but now server (virtual machine with exchange2013) does not allows to open network and sharing center.

even if we run this server without NIC attached as a hardware, after the system starts, network and sharing center is not opening.


bostjanc


Hyper-V vlanid not working in a lbfo

$
0
0

Hello,

I'm working with on a Hyper-V server that has 2x 10 gig nics. I'm trying to set a VMNetworkadapter across a LBFO team. Normally I use VMM to do this and have never had issues. This setupDoes work when I only use a single NIC not teamed.

Here is what I did:

1) Create LBFO called Team. Added NIC1 and NIC2 (Interface Set to Default - No tagging)

2) Created a new vswitch in the Hyper-V console called "vswitch" > External > Mapped to MS multiplexor Driver > Do not allow MGMT to share adapter

3) create adapter in PS: Add-VMNetworkAdapter - name "Management" -ManasgementOS -Switchname vswitch

Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName "Management" -Access -VlanID 80

4) Add Ip and GW to adapter

-Does Not pass traffic. This setting does work in a single NIC not Teamed Config so I has to be something with the Team?

Any thoughts

Creating V-Switch kills Network Connection

$
0
0
Dear all,

I hope someone here can help me with this one.

I have an HP c7000 enclosure with BL680c G5 servers onboard.
The BL680c G5 have 4 embedded NICs and an addition NC326m dual port NIC (6 x 1GB in total)
The Enclosure Switches are HP 1/10gb VC-Enet Modules
Opperating system is 2012R2 Hyper-V edition
For the purpose of testing, I’ve disabled the firewall.

When I configure the network part of my serverI use the following script (Which works as expected):

----------------------------------------------
$ipaddr="10.1.9.11"
$SMBNetwork="10.1.100.11"
$gateway="10.1.9.1"
$dns1="10.1.9.5"
$dns2="195.186.1.111"
$teamName1="ManagementTeam"
$teamName2="StorageTeam"
$quadnic=$false
#### team1 ####
$nic1="Ethernet 1"
$nic2="Ethernet 2"
#---- only if quad nic ----
$nic5="Ethernet 5"
$nic6="Ethernet 6"

#### team2 ####
$nic3="Ethernet 3"
$nic4="Ethernet 4"

##### DO NOT CHANGE ANYTHING FROM HERE #####
Import-module nettcpip

IF ($quadnic) {New-NetLbfoTeam –Name $teamName1 –TeamMembers $nic1,$nic2,$nic5,$nic6 -TeamingMode SwitchIndependent -confirm:$false}
else {New-NetLbfoTeam –Name $teamName1 –TeamMembers $nic1,$nic2 -TeamingMode SwitchIndependent -confirm:$false}
New-NetLbfoTeam –Name $teamName2 –TeamMembers $nic3,$nic4 -TeamingMode SwitchIndependent -LoadBalancingAlgorithm HyperVPort -confirm:$false

$netadapter = get-netadapter -Name $teamName1
$netadapter | Set-NetIPInterface -DHCP Disabled
$netadapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress $ipaddr -PrefixLength 24 -Type Unicast -DefaultGateway $gateway
Set-DnsClientServerAddress -InterfaceAlias $teamName1 -ServerAddresses ($dns1,$dns2)

$netadapter = get-netadapter -Name $teamName2
$netadapter | Set-NetIPInterface -DHCP Disabled
$netadapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress $SMBNetwork -PrefixLength 24 -Type Unicast
Set-DnsClientServerAddress -InterfaceAlias $teamName2 -ResetServerAddress

get-vmnetworkadapter –managementos
----------------------------------------------

After having used this script I have exactly the expected result:

2 teams… 1 composed of 4 NICs and one composed of 2 NICS.
First team has IP 10.1.9.11 while second team has IP 10.1.100.11
Both IPs respond to ping without problem and all administration tasks work well.

BUT… When I try to configure a V-Switch it kills the connection.
Nothing works anymore. No outgoing or incomming pings anymore

The command used to create the V-Switch is:

----------------------------------------------
New-VMSwitch "VMSW01" -MinimumBandwidthMode weight -NetAdapterName "ManagementTeam" –AllowManagement 1
----------------------------------------------

I just can’t figure out what’s wrong here… Any help would be appreciated. I’m already fighting with this for 2 weeks now :(

Visual Studio Emulators for Android doesn't work on Windows 10

$
0
0

Hi,

When I try to start emulator the start task fails, with message like below.

10.08.2015 14:06:01: [Critical] Unable to add user to the Hyper-V Administrators group. Exit code 2220.

I was using it on Windows 8.1 where it worked well on the same PC. This proves that my PC meets all requirements and it is properly configured. After clean install of Windows 10 emulator doesn't work. 

Hyper-V on my PC is running well. I can create and run 32 and 64 bit vm's. There is problem with creating android vm's by vs emulator. There is no group "Hyper-V Administrators" and it can't be created.

Tried these solutions:
http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/09/28/creating-a-hyper-v-administrators-local-group-through-powershell.aspx

http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/01/17/allowing-non-administrators-to-control-hyper-v.aspx

also i tried to recreate InitialStore.xml for Hyper-V with needed group and operations but without success. It seems that hyper-v bundled with windows 10 doesn't require any special group to run, create, manage and remove vm's, switches, etc. Emulator thinks different and it can't assign me to group which does not exists. 

Installing 8.1 with only a activation key

$
0
0
I have an activation key for windows 8.1 pro I'm being told that you have to have a disk to install it. I have downloaded 8.1 to a pin drive. Can I download this off a pin drive or do I need a cd

RemoteFX issues

$
0
0

When starting VM with RemoteFX activated the process eventually fails with event ID 12010 from source Hyper-V-Worker, the error message received is

 

'Bagpipes' Microsoft Synthetic 3D Display Controller (Instance ID {113560EA-48CD-4BD1-8828-FCEC44E2B5D5}): Failed to Power on with Error 'Insufficient system resources exist to complete the requested service.' (0x800705AA). (Virtual machine ID 882BA67F-C297-4B59-BE37-C6F44F099427)

 

An additional error thrown off is from the RemoteDesktopServices-RemoteFX-SessionManager eventID 8, error message:

 

The RemoteFX Session Manager service could not start the RemoteFX Manager process to enable RemoteFX. This server cannot run as a RemoteFX host. Status Code: 19.

 

We are certain that the video card installed is compatible with remoteFX, and our processor has SLAT installed, and we have the most current version of the drivers and directX installed. In addition one potential cause for this error is the following group policy being enabled

 

Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options/Interactive Logon: <var>Message text for users who are trying to log on</var>

<var> </var>

<var>Source:http://support.microsoft.com/kb/2506391</var>

<var> </var>

<var>This is not an issue here.</var>


How to calculate how many VM's i can run in my Desktop stably ?

$
0
0

Hi All,

I have a desktop with the below configuration:

Inter Core I5 3300 3.00 GHZ Processor (1 Processor 4 Cores )
4GB DDR3 RAM
1TB HDD

Below is the task manager screenshot:

I have installed Windows server 2012 R2 180 Days Eval on this desktop.

I Installed 5 VM's using Hyper V. When I run 2 together with 1GB RAM Each and 1 Virtual processor it almost is very slow.

When i run only 1 VM it is stable.

Is there any tool which can tell me how many VM's i can run stability with my desktop configuration ?

I am currently using the physical machine as a Domain controller as well.

Please suggest.


Gautam.75801

Hyper-VM Interval internet cutdown

$
0
0

Hello,
I´ve been facing a problem with the internet connection, which is connected to one of the Virtual machines in Hyper-V environment.
########################
I will Explain first the topology:

The VM has 2 Network adapters which are both connected to External Virtuel switches. One of them is used only for this Server which is connected to the Internet directly through a "Modem". The 2nd Adapter is used for our Local Network with a Static IP and without default gateway.
This VM is acting as a Router by using RRAS in order to do the NATing and it is configured as our Default Gateway for the whole Network.
The IP of this VM has been configured in the DHCP Route and DNS Forwarder.
########################
The problem:

There is an interval internet cut down every almost 30 second. Whenever I try to Test the internet speed, the internet speed goes up and start to fall down for a while and then it goes up again.
I have tried everything and I have been trying from more than 2 weeks but nothing has worked so far.  I tested it but with a physical server and it worked perfectly.

I would really really appreciate if someone has already faced and solved this problem or have a clue about it.


Hyper-V installation issue with Windows 2012 R2

$
0
0
Hi,
I'm getting an error when installing hyper-v on one of my servers.
I never got this issue before, as I already have two physicals servers hosting each one a vm, and one more is hosting two others vm servers. they working fine and I did not get hyper-v installation error before. I use windows 2012 R2 on all my servers.

I get the message whether I use GUI or powershell command:

The assembly reference were not found. Error 0x80073701

Please, have someone met this issue before and know how to get rid of it?

Enable USB port at Ubuntu under Hyper-V (windows10)

$
0
0

Dear Tech Mates,

I cannot use a USB ports in Ubuntu 14.04 OS that I installed at windows 10 - with Hyper-V.

The purpose is to use Kinect (v1) device in the Ubuntu under Hyper-V (using libfreenect).

I followed several tutorials without luck, can someone pls throw some helps / tips ?

Best;

Itay


Enabling Hyper-V on Surface Pro 3 breaks audio over HDMI

$
0
0

After enabling Hyper-V from the "Turn windows features on or off" audio over HDMI stops working, and videos will only play in half speed(and no audio). Setting the playback device to speakers will play audio and video correctly again. This has happened on all builds of windows 10 since the summer I believe, but I haven't been able to narrow down the cause until now. This has been confirmed by doing a complete refresh where no files where kept, all windows 10 updates were installed, but no other software was. Then enabling Hyper-V produces the issue. By disabling Hyper-V the audio and video over HDMI works correctly again. Issue occurs both when using the Surface Docking(newest model) and a mini-displayport -> HDMI adapter.

My system is an Surface Pro 3 purchased in nov 2014, i5, 8GB RAM, 256GB SSD.

I'm using it together with an ASUS 27' monitor. (but it doesn't work with any other TV, or projector either.)

Again: Issue only occurs when Hyper-V is enabled. I have not been able to find anything else that produces the same error with my set-up.

I need Hyper-V enabled in order to use the android and W10M emulators, so this is a really annoying problem. If this is posted in the wrong forum/category, I apologize, please help me move it to the correct one in that case.


Hyper-V 2012 R2 Host and only one logical processor is being used

$
0
0

HI,

I have Hyper-V 2012 Host and in my monitoring system is showing that only one logical processor is being used while others are idle or at 0%, how i can setup them to share load.

Same issues with VMs on this host. If VM has 4 vCPU then it shows that only one vCPU is being used while others at 0%

Regards

USman


Usman Ghani - MCITP Exchange 2010

Reclaiming VHDX size

$
0
0

Hi,

Hi i have Server 2012 based virtualization Host wit few VMs.

One of the VHDX grew quite large ~ 220 GB. So i went to VM and deleted some logs and windows update files. The disk size inside VM is now 160 GB but VHDX did not reclaimed free space and remained the same ~ 220 GB.

I tried to solve this using these commands using Powershell in VM

Optimize-Volume -DriveLetter C -ReTrim -Verbose

 After this i saw that the additional space was trimmed. I restarted VM but VHDX size did not change.

Afther this i turned off VM and tried command in powershell of virtualization host.

Optimize-VHD –Path C:\Temp\MyVHD.VHDX –Mode Full

The process lasted for about 15 minutes, but after this VHDX size did not change. I also tried to use Compact disk option from the Hyper-V console but this also does not help.

Any ideas how to reclaim free space ?


Hyper-V: what is it and what do I need it for?

$
0
0

Greetings community,

Recently I bought new home computer. It’s a machine with Intel i7-5820K processor, X-99 chipset, and 32GB RAM. It came with Windows 10 Pro retail disk, but it wasn’t installed. So when they delivered it, I started installing Windows without troubling myself what really was enabled or disabled in BIOS. Actually, not having any experience with overclocking nor with hardware in general, I asked them to set the machine so it would not be overclocked and everything to be set as normal. As a result, my machine did not have hardware virtualization enabled, and at the moment of starting installation of Windows 10, I was not aware of that.

So I installed Windows 10 Pro x64 in order to see all that RAM. During the process, out of my sight Hyper-V was also installed.

Then I installed SQL server express, and VS2012 pro in order to be able to take my project from work and bring them home to work on them. No problem with that, everything was fine.

After that I installed VS 2015 Community in order to try and see how to make those multiplatform apps that would work on Windows 10 on desktop and phone at the same time. Unfortunately, something went wrong, and when I clicked file/new project and chose universal template, it reported package installation error for Microsoft SDKs\NETCoreSDK, specifically Microsoft.NETCore.UniversalWindowsPlatform.5.0.0. I tried several times to reinstall SDK as well as whole Visual Studio, but nothing helped.

SO MY FIRST QUESTION: Is possible that VS2015 didn’t install properly because I had installed Windows 10 on the machine with hardware virtualization disabled?

MY SECOND QUESTION: Is enabling hardware virtualization capabilities in BIOS actual prerequisite for Windows 10 (which by default includes Hyper-V) to be properly installed? Is Hyper-V properly installed on the machine with no hardware virtualization enabled?

Well, I gave up VS2015 until some free time comes up, to solve this and came back to VS2012 and projects that I have to accomplish for my employer. Requirement is to make some apps that would work on client machine that talk to server machine. Having enough memory and processor power I thought that I could install one virtual machine to play the role of client machine and talk to the host that would play the role of server machine.

First I tried Microsoft’s Virtual PC, but unfortunately you cannot make network between host OS and guest OS that is hosted with MS Virtual PC. Last time when it was possible was with Windows XP as host, when you were capable of configuring something called loopback adapter.

Then I downloaded Oracle VM Virtual Box. I installed Windows 7 Pro x32, because it didn’t wat to accept x64. Well, I tried it and it worked, but very slowly, because I was not able to give it more than one core of processor.

I browsed through Oracle’s forums and find out that in order to install 64 bits OS with more than one proc core, I have to enable hardware virtualization on my machine. They even suggested to download simple app called securable.exe which reports three things for your machine: bit length (32-64), Hardware DEP, and Hardware Virtualization. When I started securable.exe, it reported that my machine doesn’t have Hardware Virtualization. Of course I restarted to BIOS, and enabled everything related to HV. Still, after restart, securable.exe still reported the same thing: I don’t have HV.

So I browsed Oracle’s forums for some more info, and found out that I have to disable Hyper-V in order to get HV. Then I opened “Turn Windows features on or off” and disabled Hyper-V. After that, securable.exe reported that I have HV, and Oracle VM Virtual Box let me to have more than one proc core, which resulted with better performance of that virtual machine.

Now, even though I have operational construct for making required apps targeted to work on Windows 7 Pro machines mostly present at my employer’s environment (we only have one new Windows 10 machine), at some moment we should upgrade to Windows 10, so why not having prepared possibility for it. I would like to install newer Visual Studio, but it would obviously not lie down without Hyper-V, at least because it is needed for emulating windows phone, and I can foresee that I’ll be asked to make a few simple apps for WP also. But, if I’m about to use newer VS, I’ll not be able to use Oracle’s VM and vice versa.

MY THIRD QUESTION: Is there Microsoft’s solution for virtual machine with these properties:

  • It’s free for developers
  • It allows me to have host and guest OS connected through local network, and allows guest OS to have internet access to update itself
  • It works on Windows 10 pro x64
  • If it uses Hyper-V, it does it that way, so it won’t stop Visual Studio from working properly
  • It allows me to install Windows 64 bits OS as guest, particularly Windows 7 pro x64
  • It allows me to allocate at least 4GB of RAM for it
  • It allows me to reserve at least 2 proc core for virtual machine

Thanks for any help.

FCM Live Migration slow one way

$
0
0

Two node 2012 R2 cluster, running on two identical Dell PE R720.

Live migration from Server B --> Server A happens in a flash 3% --> 52% --> 60% --> done

Live migration from Server A --> Server B takes rather long 3% --> 52% --> than it trickles down by 1% for minutes

Any idea what to try to do with it, so the direction of the Live Migration behaves in same quick way (as it can obviously)

Seb


How to configure minimum bandwidth mode?

$
0
0

Hello,

as per recommendation of Microsoft (Link) the minimum Bandwidth Mode on Hyper-V Hosts should be configured by Weight (%) instead of Absolute (Bps).

In Technet is a description on how to configure that during the creation of a virtual Switch, but not how to do it on an existing virtual Switch.

Does anyone know how to set it (without disrupting VM traffice)?

Thanks,
Jens



jensit.wordpress.com

Hyper-V Hardening: Which services can be disabled?

$
0
0

Hello!

I'm currently working on the hardening of our Hyper-V Hosts and Clusters.
Does someone know which services (except print spooler) are definitely not needed and can be disabled?

Thanks,
Jens


jensit.wordpress.com

Server 2012 Virtual Machine BSOD after hardware crash - 4 times

$
0
0

I have now had 4 Server 2012 VMs fail to boot after a hardware failure in the cluster, requiring the servers to be rebuilt. This has happened in a span of 2 months since we started deploying this configuration and using Server 2012.

This has happened at 3 different locations, meaning it is NOT tied to a specific SAN, switch, or server.
-The first and second failures was when the Hyper-v servers both BSOD at the same time, causing the guests to die. BSOD was due to a network driver issue, and both systems receiving the same bad packet.
-The third failure was in our lab as we were building the cluster prior to production deployment. We had a power outage that killed the SAN, but left the storage and switch running.
-The fourth failure was when we had the switch doing iSCSI reboot on us. None of the Server 2008 machines were effected, but 1 of our 2012 Domain Controllers BSOD and needed to be rebuilt from scratch.

Here's the hardware setup for each location. I have this setup in 15+ locations, the problem has happened in different locations, so it is not specific to one location's hardware.

-2 Cisco UCS servers running Server 2012 Datacenter with Hyper-V in a cluster.
-Nimble storage array for iSCSI volumes.
-HP switch for iSCSI backbone.
-All hardware and drivers are being updated at the time of the build.

The dead systems all share these things:
-Running Server 2012 standard
-Domain controller
-created from the same template VHDX file

At this point I have no faith that any VM will survive any sort of hardware crash or power outage. I can see it occasionally causing a VM to not boot after a crash, but we've had 5 system crashes, and of those 5, 4 of them have caused me to rebuild a Server 2012 guest VM. That's an 80% failure rate.

Anyone else experiencing this level of failure?

I've been doing iSCSI VMs on VMware for 6+ years, seen countless crashes, and never had to rebuild a VM because of it. This is my first go at hyper-v. I'm not trying to bash it and say VMware is better, I'm just amazed at what I'm seeing, as it's not expected.

I've followed all the guidelines of MS and the storage vendor for iSCSI configuration. The problem doesn't appear to be storage related though. The VM will boot, so the VHDx file is not corrupt,it just seems that Server 2012 as a VM is not very crash resilient.

I have some systems in the lab now getting ready to ship, I am going to see if I can BSOD a Server 2012 guest running on local storage.

Hyper V Windows Update

$
0
0

Hello,

I am having an issue with my Hyper V workstations. No matter what I do, whenever I try to update them using Windows Update it goes through the entire process and in the end says it couldn't apply the updates so it has to undo the changes. It then goes on like that forever, never allowing me back into the virtual workstation. Has anyone else experienced anything like this? I can't update my virtual workstations, because of fear that the update won't go through and then I won't be able to get back into it.

Configure server isolation with hyper-v

$
0
0

I have 3 hyper-v servers running on a 2012 R2 host.  Lets call the servers A, B, and C.

I would like A and C to be able to talk to one another and B and C able to talk to one another; but I do not want A and B to be able to talk to one another.

All three virtual servers will only have access to one physical NIC on the host.

What is the best way to achieve this?

Viewing all 19461 articles
Browse latest View live




Latest Images