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

Network interfaces on Hyper-V

$
0
0

Hello everybodies,

i want to setup the following vms on hyper-v (on Win10):

- Virtual Domain controller named "DC" (with DHCP,DNS,Fileserver roles etc...)

- Virtual SCCM named "CFG" (with SQL server)

- Some virtual clients for study purposes

So i have created two NIC's on Hyper-v, one Private and one External (binded to the NIC physic host running hyper-v).

I want to be able to make internet accessible to CFG and all the vms clients through theDC.

This is my configuration:

CFG with WS2012R2

- NIC private with ipv4: 172.16.0.2 subnet 255.255.0.0

DC with WS2012R2

- NIC private with ipv4: 172.16.0.1 subnet 255.255.0.0
- NIC external with ipv4: 192.168.0.4

PC HOST with Windows 10 : 192.168.0.2

ROUTER: 192.168.0.1

Done by now

On PC HOST:

route add -p 172.16.0.0 mask 255.255.0.0 192.168.0.4 metric 10

On DC:

- NAT with routing and remote access roles on the external NIC
- DNS interfaces on private NIC pointing to 172.16.0.1
- DNS forwarders on private NIC pointing to 192.168.0.1
- DHCP router scope options on ip 172.16.0.1

My problem is that CFG and vms clients using private NIC aren't able to reach internet, but they can retrieve an ip from the DHCP server.

When i try to pathping or tracert a website neither a hop is done and the result is NIC general failure.

What am i missing ?

Thanks in advance


Cannot start more than one Hyper-V machine - the process cannot access the file because it is being used by another process

$
0
0

I cannot start or restore more than one Hyper-V machine and it is not because of memory. The error message is about Microsoft emulated IDE controler and the file being used by another process.

Is it a bug or some configuration that I am missing?

-Stan

Windows Media Streaming from a Windows 10 Virtual Machine (Hyper-V)

$
0
0
Hi Everyone,

I have a Windows 10 computer which is setup for Media Streaming. Windows Media Player has relevant Library folders added, and streaming enabled. Using my Samsung Series 7 TV I have been able to view content (over an Ethernet connection) from the Windows 10 computer (regardless of whether or not WMP is on / off)...until recently!

Recently I installed Windows Server 2012 R2 Standard onto my PC, and then using Hyper-V I added the 'Windows 10' computers as a Virtual Machine. When I power up the VM I am able to see other network shares in the Workgroup, and my Samsung TV can see the 'Windows 10' computer. However once I select the Windows 10 computer on the TV and then navigate to the 'Videos' folder I do not see any content...whereas before virtualization I did see content.

I would once more like to play videos on my Samsung TV from my 'Windows 10' computer, but am uncertain of what to alter. Clearly virtualization appears to be the culprit...but how to overcome this new challenge?

Any help would be greatly appreciated.

Kind Regards,

Davo

P.S.: I installed Windows Server 2012 R2 Standard due to studying for the MCSE so I have no intention of swapping back over again.

Integration Services update required 2012R2 host and VM

$
0
0

Hi.

I have a pair of 2012R2 Datacenter Hyper-V hosts which I fully patched as of Thursday 23/06/16 running 2012R2 VMs also fully patched. After installing all the updates all VMs are reporting the integration services require an update.

However using get-vm it reports the services are 6.3.9600.16384 which I believe is the latest version.

Also under the Hyper-V integration service logs on the host it reports it has connected to the VMs and is running the latest version.

If I try and run the integration services installer it gets to installing guest services and then gives error 14101.

Have also updated another pair of servers running 2012R2 Datercenter as a Hyper-V failover cluster and they are showing the same behavior.

Anyone else seeing this?

Regards

James

VHD Size reporting with VM

$
0
0

Hello all,

 

I was hopingo to get some insight on what I am seeing here.  I have a Hyper-V host running on a Windows 2008 R2 server core deployment.  My Guest VM is Windows 2008 R2.  Data partition of the VM resides on 1TB fixed VHD.  The VM reports a disk capacity of 999GB.  The amount of data on the drive that I can account for is 409GB.  However the VM is reporting that 770GB is used and that only 229GB is free.  I am rigged to see hidden files.    I am concerned that it appears that 360+ GB of drive space is unaccounted for.  I am fairly new to hyper-v so I fully understand if this is a stupid question.

 

Would be grateful for any assistance.

 

Stoney Heflin



How to convert Gen 2 VM to Gen 1?

$
0
0

Dear Hyper V Expert,

may I know is it possible to do conversion from Gen 2VM to Gen 1, so I can attach the VHD into my Gen 1 Hypervisor?

thanks.

usb key to Hyper-V VM

$
0
0

Hi,

just did a quick search on web and cannot find anything definitive...

I need to provide a USB key access to VM running on Windows 10 Hyper-V.

Any straight forward solution?

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

Guest OS activation in Hyper V 2012 R2 Datacenter Edition

$
0
0

Hi,

AVMA activates Windows Server 2012 R2 guest VM perfectly even if it in not connected to a network. But my question is whether I can do the same for the VMs running Windows Server 2012 and below? Or do I need to connect these VMs in network and activate using KMS as usual. I am using a Windows Server 2012 R2 Datacenter Hyper V host.

I have read many blogs where Unlimited virtualization rights have been mentioned for Windows Server 2012 R2 Datacenter. Does it mean I do not have to bare the Windows license cost of any VMs running on Windows Server 2012 R2 Datacenter edition host?

Please clear my confusion.



Uninstall Hyper-V Server 2012

$
0
0
Hi, I've installed Hyper-V Server 2012 on a Windows Server 2008 R2 not realizing it was going to completely change the operating system. Now the server boots into Hyper-v 2012. Is there a way to uninstall/revert? Or do I have to restore from backup?

Remote Hyper-V Hosts with Hyper-V Manager

$
0
0

Hello

I have server for Hyper-V host, Windows Server 2012 R2. It's server core, so other people said "it's hardly to use".

So I will use remote Hyper-V manager. But I can't add host, it's show error


I tried to fix it by this https://blogs.technet.microsoft.com/jhoward/2008/03/28/part-1-hyper-v-remote-management-you-do-not-have-the-required-permission-to-complete-this-task-contact-the-administrator-of-the-authorization-policy-for-the-computer-computername/. In add user phase, I used domain\authenticated users. But it not success.

Host and client are in same domain.

And I need to allow all user/client to remote Hyper-V by don't do anything from other client without client Hyper-V connect to host. Is it possible?

Thank you.

Has anyone noticed that KVP behavior has changed for S2016 TP guests?

$
0
0

I have a custom PowerShell module that I employ to build out test labs of networked Hyper-V virtual machines to various specifications for evaluation/learning purposes. This module is currently running on a Windows 10, Build 10586 host.

The component that orchestrates host actions -- starting and stopping VMs, mainly -- paces those actions by querying and writing KVP items, so that (for example) a domain member VM is not initialized until the domain controller asserts its readiness.

What I have discovered is that while the RemoveKvpItems method of the Msvm_VirtualSystemManagementService WMI class works as expected for 7, 8.1, 10 (Build 10586), and 2012 R2 Std/Core guests, for 2016 TP5 Std/Core guests it merely deletes the host WMI record of the KVP item while retaining the associated registry key on the guest.

I hesitate to call it broken because I have not followed every diagnostic path to its conclusion, but before I investigate further, does anyone here know of any communication or guidance from Microsoft on this matter?

"No active network adapter found" in Hyper-V core versions 2008-R2, 2012-R2, 2016-TP5.

$
0
0

System configurations:-

Intel Core i5 processor,

Intel DB75EN motherboard,

500GB WD HDD,

4 GB RAM,

Intel 82579V Gigabit Network Connection(built-in with mainboard)(VEN_8086&DEV_1503&SUBSYS_20418086&REV_04).

Problem:-

I was new to Hyper-v core. I have tried to install the Hyper-V 2012-R2 core in the above machine, everything went fine. At my first login the sconfig window showed me a warning "No active network adapter found". Later i have googled it some of the guys also had the same problem they recommended to install the drivers via "PNPUTIL" i have tried that the i didn't get the solution so that i have ran the intel application to install the driver then it said "Can;t install drivers: no intel adapter was found". so then checking in the internet the intel gave the entire pack of driver and in the instruction it recommended to run the "SetupBD" it said that the drivers were successfully installed the driver after the reboot also got the same error so i have checked the "msinfo32" i found that in the problem devices contins ethernet adapter too. So that I have used the same process to 2016-TP5 and then at last 2008-R2 got the same errors. could anyone can give the solutions for this. Thanks in advance.

From windows 8 professional to Windows 10 Family

$
0
0

Hello

I Bought a  windows 8 PROFESSIONAL LAPTOP , and I am really surprise to see that microsoft upgrades my laptop from windows 8 that I really need for VT-x ( VIRTUALIZATION ) , because I develop Applications to windows 10 family . 

How can I resolve this ?

Best Regards

Can not get online quorum disk in both nodes at the same time.

$
0
0

Hello, we are working with StarWind  virtualsan and Windows Server 2012 fail over cluster with virtual machines (hyper-v), this make us a quorum disk and a storage disk with the operating system virtual machine in both node 1 and node 2. At start adding these disks to iscsi initiator and activate the multipah option allows recognized as a single disk, that is, if I add a file to the node 2, this is updated on node 1.

When creating the cluster, I can access from both nodes to data disc, but I can not even put online on node 2 quorum disk, making the fail over cluster is failed.

 

- Case 1: In the first node as the owner quorum disk and the virtual machine storage disk, if it falls, the two-node cluster fail.

- Case 2: The node 2 owns the quorum and node 1 owns virtual machines, if the node 1 stop working, the node 2 takes these machines and starting on himself (fulfilling the role of failover) and if the node 1 returns these are returned to the owner node.

How can I add the quorum disk in both nodes or get online on the second node?

Importing SQL Server 2012 installation media into Windows Server 2008 R2 Core with SP1 as VM in Hyper-V

$
0
0
Hi, How to import installation media into Windows Server 2008 R2 Core with SP1 as  virtual machine using Hyper-V ?

Not getting event of VM creation/deletion on Windows Server 2012

$
0
0

We have Windows server 2012

we are not getting any such event of VM creation/deletion on our Windows Server 2012.

Any idea anyone, how can we enable such HyperV logs?

Thanks

Unable to detect Smart Card Reader in Hyper-V (Windows Server 2012 R2) Virtual Machines Client (Windows Server 2012 R2)

$
0
0

Hi,

We have encountered an issue during the sharing of local resources (smartcard reader) from Hyper-V Host Server to the VM Clients. The smartcard reader was able to detect in the Host Server but unfortunately we can't able to share it to VM clients even using the Enhanced Session Mode.

From the client VM, the smartcard reader is under the Hidden Objects which I think because by default the smartcard is selected in the Local Resources.

Can you provide us an input on this concern, and if this is still a limitation of Hyper-V. Thanks.


Hyper-V host BSOD when traffic crosses a bridged network device

$
0
0

First, this isn't technically a Windows server issue as I'm running Hyper-V on my Windows 10 laptop. I'm using Mikael Nystrom's hydration kit to run a virtual lab on my laptop. This requires that I bridge my wireless adapter with the "Internet" vSwitch in order for the VM's to have Internet access. It also uses a virtual RRAS server to route traffic between the rest of the VM's, which are on the "InternalHQ" vSwitch, and the Internet.

The issue is that when the bridge is configured and the RRAS server is online, the host (my laptop) BSOD's repeatedly.  After 2-3 times, the VM's stop booting, allowing me to shut off the RRAS server or disable the bridged connection, which stops the BSOD from happening again.  The specific BSOD is IRQ_NOT_LESS_OR_EQUAL on bridge.sys (the Microsoft driver that handles bridging of network devices).

From other posts, it seems that bridge.sys BSOD errors are usually network driver related, but I'm running the latest drivers from Dell.  I have a Dell Precision 5510 with an Intel AC 8260 wireless adapter.  The OS is Windows 10 Build 586.  Any suggestions are appreciated.

Here is the debug info from the minidump:

4: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************
DRIVER_IRQL_NOT_LESS_OR_EQUAL (d1)
An attempt was made to access a pageable (or completely invalid) address at an
interrupt request level (IRQL) that is too high.  This is usually
caused by drivers using improper addresses.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: 0000000000000018, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000000, value 0 = read operation, 1 = write operation
Arg4: fffff80167258feb, address which referenced memory
Debugging Details:
------------------

DUMP_CLASS: 1
DUMP_QUALIFIER: 400
BUILD_VERSION_STRING:  10586.420.amd64fre.th2_release_sec.160527-1834
SYSTEM_MANUFACTURER:  Dell Inc.
SYSTEM_PRODUCT_NAME:  Precision 5510
SYSTEM_SKU:  06E5
BIOS_VENDOR:  Dell Inc.
BIOS_VERSION:  01.02.00
BIOS_DATE:  04/07/2016
BASEBOARD_MANUFACTURER:  Dell Inc.
BASEBOARD_PRODUCT:  0N8J4R
BASEBOARD_VERSION:  A00
DUMP_TYPE:  2
BUGCHECK_P1: 18
BUGCHECK_P2: 2
BUGCHECK_P3: 0
BUGCHECK_P4: fffff80167258feb
READ_ADDRESS: fffff800839fc520: Unable to get MiVisibleState
 0000000000000018
CURRENT_IRQL:  2
FAULTING_IP:
bridge+8feb
fffff801`67258feb 498b4f18        mov     rcx,qword ptr [r15+18h]
CPU_COUNT: 8
CPU_MHZ: a98
CPU_VENDOR:  GenuineIntel
CPU_FAMILY: 6
CPU_MODEL: 5e
CPU_STEPPING: 3
CPU_MICROCODE: 6,5e,3,0 (F,M,S,R)  SIG: 84'00000000 (cache) 84'00000000 (init)
CUSTOMER_CRASH_COUNT:  1
DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT
BUGCHECK_STR:  AV
PROCESS_NAME:  System
ANALYSIS_SESSION_HOST:  1S2WN72
ANALYSIS_SESSION_TIME:  07-10-2016 00:12:39.0394
ANALYSIS_VERSION: 10.0.10586.567 amd64fre
TRAP_FRAME:  ffffd00020d519b0 -- (.trap 0xffffd00020d519b0)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=0000000000000002 rbx=0000000000000000 rcx=ffffe0011ef588e0
rdx=0000000000006002 rsi=0000000000000000 rdi=0000000000000000
rip=fffff80167258feb rsp=ffffd00020d51b40 rbp=ffffd00020d51c01
 r8=00001000fe206cc0  r9=ffffe0011ef588a0 r10=0000000000000004
r11=ffffd00020d51a60 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei ng nz na po nc
bridge+0x8feb:
fffff801`67258feb 498b4f18        mov     rcx,qword ptr [r15+18h] ds:00000000`00000018=????????????????
Resetting default scope
LAST_CONTROL_TRANSFER:  from fffff800837cb3e9 to fffff800837c07a0
STACK_TEXT: 
ffffd000`20d51868 fffff800`837cb3e9 : 00000000`0000000a 00000000`00000018 00000000`00000002 00000000`00000000 : nt!KeBugCheckEx
ffffd000`20d51870 fffff800`837c9bc7 : 00000000`00000000 ffffd000`20d51ac0 ffffd001`e4a120a8 00000000`00000001 : nt!KiBugCheckDispatch+0x69
ffffd000`20d519b0 fffff801`67258feb : 00000000`0000606f ffffe001`200ae990 ffffd000`20d51c01 ffffe001`200ae990 : nt!KiPageFault+0x247
ffffd000`20d51b40 00000000`0000606f : ffffe001`200ae990 ffffd000`20d51c01 ffffe001`200ae990 00000000`00000000 : bridge+0x8feb
ffffd000`20d51b48 ffffe001`200ae990 : ffffd000`20d51c01 ffffe001`200ae990 00000000`00000000 00000000`00000000 : 0x606f
ffffd000`20d51b50 ffffd000`20d51c01 : ffffe001`200ae990 00000000`00000000 00000000`00000000 00000000`00000000 : 0xffffe001`200ae990
ffffd000`20d51b58 ffffe001`200ae990 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0xffffd000`20d51c01
ffffd000`20d51b60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0xffffe001`200ae990

STACK_COMMAND:  kb
THREAD_SHA1_HASH_MOD_FUNC:  2cbc7bc8e4cf99ce46138ceaa8710912227cb254
THREAD_SHA1_HASH_MOD_FUNC_OFFSET:  32bb0ec3d333d2d513a72511ca3f932345ec3cd5
THREAD_SHA1_HASH_MOD:  3cc4251f80231b1fe217f569e2d2b1461e5bb701
FOLLOWUP_IP:
bridge+8feb
fffff801`67258feb 498b4f18        mov     rcx,qword ptr [r15+18h]
FAULT_INSTR_CODE:  184f8b49
SYMBOL_STACK_INDEX:  3
SYMBOL_NAME:  bridge+8feb
FOLLOWUP_NAME:  MachineOwner
MODULE_NAME: bridge
IMAGE_NAME:  bridge.sys
DEBUG_FLR_IMAGE_TIMESTAMP:  56cc1e9b
BUCKET_ID_FUNC_OFFSET:  8feb
FAILURE_BUCKET_ID:  AV_bridge!Unknown_Function
BUCKET_ID:  AV_bridge!Unknown_Function
PRIMARY_PROBLEM_CLASS:  AV_bridge!Unknown_Function
TARGET_TIME:  2016-07-09T20:01:25.000Z
OSBUILD:  10586
OSSERVICEPACK:  0
SERVICEPACK_NUMBER: 0
OS_REVISION: 0
SUITE_MASK:  272
PRODUCT_TYPE:  1
OSPLATFORM_TYPE:  x64
OSNAME:  Windows 10
OSEDITION:  Windows 10 WinNt TerminalServer SingleUserTS
OS_LOCALE: 
USER_LCID:  0
OSBUILD_TIMESTAMP:  2016-05-27 23:59:07
BUILDDATESTAMP_STR:  160527-1834
BUILDLAB_STR:  th2_release_sec
BUILDOSVER_STR:  10.0.10586.420.amd64fre.th2_release_sec.160527-1834
ANALYSIS_SESSION_ELAPSED_TIME: 5f6b
ANALYSIS_SOURCE:  KM
FAILURE_ID_HASH_STRING:  km:av_bridge!unknown_function
FAILURE_ID_HASH:  {fc408975-df9e-bb6d-cca0-5d9f6ee3388a}
Followup:     MachineOwner
---------

Does seem to be an issue with a driver.  Wondering if maybe I should try to move the bridge from wireless to Ethernet for testing.

Actual load on physical machine with VMs.

$
0
0

How do we know the actual load on the physical machine, not just percentage of VM virtual CPU time?

And is there a priority for CPU among the VMs?

MVMC converter : vmdk to vhdx

$
0
0

Hi,

I downloaded a virtual machine for network administration.

Unfortunately, its format is ova and I want to integrate it in my Hyper-V.

I converted ova to vmdk (since ova is just a compressed vmdk) and I used the MVMC cmdlet to convert this same machine, but I get the following error :  

ConvertTo-MvmcVirtualHardDisk : The entry "" is not a supported disk database entry for the descriptor.At 
...\Desktop\Convertscript.ps1:2 char:1
+ ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "C:\Users\myself ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.Accel...nversionService:DriveConversionService) [ConvertTo-Mvmc 
   VirtualHardDisk], VmdkDescriptorParseException
    + FullyQualifiedErrorId : DiskConversion,Microsoft.Accelerators.Mvmc.Cmdlet.Commands.ConvertToMvmcVirtualHardDis 
   kCommand

ConvertTo-MvmcVirtualHardDisk : Une ou plusieurs erreurs se sont produites.At 
C:\Users\myself\Desktop\Convertscript.ps1:2 char:1
+ ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "C:\Users\myself...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (Microsoft.Accel...nversionService:DriveConversionService) [ConvertTo-Mvmc 
   VirtualHardDisk], AggregateException
    + FullyQualifiedErrorId : DiskConversion,Microsoft.Accelerators.Mvmc.Cmdlet.Commands.ConvertToMvmcVirtualHardDis 
   kCommand

Actually I want to make a clear install of this VM, I have already installed it successfullywith the exact same script (I just downloaded again the machine, so it is not exactly the same one).

This time I get this error and I don't really understand why... I checked some threads related to this error, still doesn't work.

(I tried to download again the ova, saying myself this could be a file corruption, but same result).

Regards,

 
Viewing all 19461 articles
Browse latest View live




Latest Images