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

We couldn't verify the product key. Please check your installation media. (Hyper-V Virtual Machine)

$
0
0

Hi there, 

I have been banging my head on an issue for the last couple of hours hoping someone can point me in the right direction. I have a Windows Server Standard 2012 R2 Media that we purchased from an online vendor. The software came with a single product key and as I understand Windows Server 2012 Standard R2 includes 2 Virtual Machine installations. When I installed the media on the physical server I was able to activate Windows without any problems at all. I installed the Hyper-V role on the same host server and when I tried to perform a virtualized installation of Windows Server 2012 Standard r2 on the machine I received the error "We couldn't verify the product key. Please check your installation media." 

I do not have any other keys other than what came with the package. As I understand I should be able to use the same Product Key included within the Virtual Machines if they are the same OS. If any one can provide any tips or experience, I appreciate the assistance greatly. 


increasing space on the boot disk by adding additional disks (raid 5 ) and simeltaneously also increase the Hyper-V Virtual machine disk space

$
0
0

Dear All,
I am having a host server - windows server 2008 R2 standard , it has disk space total of 273 Gb ( raid 5 of 3 disks of 146 Gb each) of disk space out of which 21 Gb is free now.

the Hyper -V  virtual machine is also installed on this server and the virtual disks folder is also on the same c drive,

the virtual hard disk folder has 2 files in it .  xxxxx.vhd (118 Gb) & yyyyyy.avhd (113 Gb).

it has so happened that the space suddenly vanishes and from 21 Gb of free space  , the only available space in the c drive space is 150 Mb.

in such cases the virtual machine goes in a PAUSED state and does not start at all. and MERGING starts to take place and does not end up as therE is no space in the c drive .

I need help from you folks as to :
1. how do I stop this merging activity forever.
2.  is it possible to add another  physical drive of 500GB (raid 5 of 3 disks) to make space.
      and how do I then move virtual hard disk files to new physical disk.
3.  the virtual machine and the host server is not having any backup done till date.
so please provide a solution along with the precautions I need to take before I venture into any activity of the server to make space on it.

is it possible to make space.

I am not a server engineer nor a virtual machine specialist ,

so kindly provide me the help to come out of this situation.

THANKING YOU ALL IN ADVANCE FOR THE SOLUTION.

Regards
Orion
26-09-2015



 

Uninstall Hyper-V Integration Services

$
0
0

Hello, I have a question about Hyper-V integration services.  I cannot figure out how to uninstall them in a Windows 2008 guest (it is easy in Windows Server 2003, its in Add/Remove Programs).  However, it does not appear in the uninstall Programs list (via Control Panel).  I have read online to simply run setup.exe /uninstall from the Integration Services setup files, but that isn't working either (referenced at: http://capitalhead.com/articles/uninstall-integration-services-from-hyper-v-windows-guest-virtual-machine.aspx).  Does anyone know how to uninstall these services?  (I have confirmed that the tools are indeed installed, all the features work and the services are listed in services.msc).  Thanks!

Smart card service issue on Windows Server 2012r2 - terminal services (running on HyperV)

$
0
0

Hello...

I have virtualized terminal server on HyperV. All my remote clients use USB SC reader for certificate use.

Now pay attention... the Server 2012 has new feature regarding Smart Card use:

"Smart card reader detection logic has been added so that the Smart Card Service runs only when appropriate. On Windows Server 2012 and Windows 8, the Smart Card Service (scardsvr) automatically starts when the user connects a smart card reader and automatically stops when a user removes a smart card reader and no other smart card reader is connected to the computer. On startup, the Smart Card Service automatically starts if a reader was previously connected to the computer but a reader is not currently connected to the system. If no smart card readers are connected to the computer, the service will automatically shut down one minute after the last API call into the Smart Card Service. If a reader was never previously connected to the computer, the service will not start automatically."

And here is the main part... HyperV running OS doesn't support USB SC reader detection on remote client. When I insert the card nothing happens. The SmartCard service doesn't start (Automatic setting). RDP SmartCart share is enable on client.

If I start service manualy then the SmartCard is accessible. But only for the time of my login. if I logout then the service is stopped.
I also test it with logon to non HyperV server... the service starts with no problem.

For now I solved the issue with task net start SCardSvr on 1 minute.

Please can anybody help me with this...

Data recover from snapshot file - AVHDX

$
0
0

Hello All

I have a problem in that my Hyper-V server crashed corrupting one of my client VM's. Luckily I had done an export recently and was able to get this back online quickly. My problem is data recovery. I'd like to get some data off the VM client that didn't boot but it appears to have snapshots (mixture of VHDX and AVHDX files). Im not aware of taking any and none were and are shown in the snapshot area of the Hyper_v manager.

Is there any way I can mount these files (at present I can't right click and mount as I can with a normal VHDX) to get the data?

Also I'd like to be rid of the AVHDX file and revert to the basic VHDX but how can I when the system does not show it has any snapshots??

Hope that makes sense!

thanks!!!

Windows 2008 r2 guests blue screen on Windows 2012 R2 Hyper-V Cluster with e5 2670-v2 processors

$
0
0

Hello all,

We have a new hyper-v infrastructure deployed in two brand new Dell R720 Servers with 384GB of Memory and dual Intel e5 2670-v2 processors. This infrastructure is replacing an existing hyper-v 2008 R2 and all the guests are being migrated to this new cluster. The issue we are seeing is our 2008 r2 guests blue screening ocasionally with 0x0000001a,0x0000004e or 0x00000050 bugchecks.

All this guests are configured with dynamic memory and with the integration components up to date. These same guests were running with no problems in the hyper-v 2008r2 cluster.

When searching i found this article from vmware that pretty much describes what we are facing:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2073791

Are you aware of the same problem with this kindd of hardware on windows 2012 r2 hyper-v?

Thanks!

 


Nuno Carvalho

DC and Exchange 2013 on Hyper-V (Windows Server 2012 R2)

$
0
0

Hi

I'm new to building servers but i have the knowledge to manage them...AD, DNS, DHCP, Exchange...

I was able to get 2 old server HP Proliant V6 cheap to combine with the HP Proliant V9 that the company bought to create their network.

I've already setup the main DC on a Proliant V6.  So far i was thinking to setup on the Proliant V9 2 Hyper-V instance, one as a backup DC and one as Exchange.  The last Proliant V6 would be use for other services such Copitrak and other low softwares...

While taking a look at how worked Hyper-V since i've never had to deal with it before. (Eli the computer guy is very usefull on youtube) i was questionning myself.... wouldn't that be better that the Proliant V9 windows server 2012 installation becomes a DC as well and that i then create an Hyper-V instance to host Exchange?  since it's 2 different "machine"?

Your thoughs?



Network Virtualisation Concept

$
0
0

Hi,

I have one Physical Server connected to a physical network with the IP 192.168.15.20. I want to ping 10.14.13.41 (which is a CA IP of a VM of tenant A in my IAAS Cloud) from the P. Server . However my 2 tenants A and B both have a VM with the same IP (10.14.13.41) in different Routing Domain in my Virtualised Network.

When the ICMP packet reached the HNV gateway from the Physical Network, how will the HNV Gateway identify for which tenant is this ICMP packet for, Tenant A or B?

Thanks

Irfan


Irfan Goolab SALES ENGINEER (Microsoft UC) MCP, MCSA, MCTS, MCITP, MCT


How to pass the ResourceSettings parameter in C++?

$
0
0

I want to add a Hard Disk to the Virtual Machine/

How do I pass the second parameter in C++?

uint32 AddResourceSettings(
  [in]  CIM_VirtualSystemSettingData      REF AffectedConfiguration,
  [in]  string                                ResourceSettings[],
  [out] CIM_ResourceAllocationSettingData REF ResultingResourceSettings[],
  [out] CIM_ConcreteJob                   REF Job
);

Here is the link to the method

https://msdn.microsoft.com/en-us/library/hh850020(v=vs.85).aspx

Thanks

Guru

P2v conversion of Windows Server 2003 won't show network properties

$
0
0

Hi everyone,

I've used vmware converter 4.01 to convert one our our old Windows 2003 Server SP2 x86 servers to run on our Windows Server 2012 R2 Hyper-V host

Before doing this, I 'inject' the IDE drivers and merged registry data as per

https://support.microsoft.com/en-us/kb/314082

Then converted the .vmdx files to vhd

Server 2003 boots but the network properties page refuses to open, even using control netcpl.cpl does not show the network properties.

Integration services are installed.

Should I be using the LEGACY network adapter or will that slow the network down as it is emulated.

Thanks

[2012 R2] VMQ Configuration

$
0
0

Hi,

This is the first time I'm configuring a Windows Server 2012R2 Network Team Switch Independent Dynamic with VMQ.

VMQ has been activated on each physical interface but I'm not sure about which additionnal configuration I should realize.

I'm using an Intel Xeon E5-2630 (6 Cores, 12 Logical processors).

I know I have to use "Sum of Queues" and I read that I shouldn't use processor 0 and 1.

As I'm using 3 physical interface for my Network team, can you confirm me I must use the following command :

Set-NetAdapterVMQ –Name "Ethernet 2" –BaseProcessorNumber 2 –MaxProcessors 4

Set-NetAdapterVMQ –Name "Ethernet 3" –BaseProcessorNumber 6 –MaxProcessors 3

Set-NetAdapterVMQ –Name "Ethernet 3" –BaseProcessorNumber 9 –MaxProcessors 3

The result of my Get-NetAdapterVmq before any additionnal configuration

 

VHDX out of disk space error - space inconsistency on iSCSI unit

$
0
0

Hello.

I've set up a NAS as an iSCSI storage unit (one LUN) and made it a CSV - it's 14.5 TB.
On the storage I've created a dynamic VHDX file at around 14.3 TB.
I've then attached the VHDX file to a VM that runs my backup software (Veeam).

When no data was on the disk the space available in Windows on the VM was almost the same as the available space on the iSCSI unit / CSV.

Recently I've been having problems with my VM pausing due to low disk space.

In Windows the drive has 8,41 TB free space of the 14,3 TB available.
In the Failover Cluster Manager the drive has 122 MB free space of the 14,3 TB available.
If I inspect the disk via the Failover Cluster Manager it says the current file size is 14,28 TB and the maximum disk size is 14,4 TB.
In explorer one of the Hyper-V hosts I can see the VHDX file is 14.2 TB.

It appears there's an inconsistency as to how much data and free space is available.
I expect it might be the VHDX file has actually been used to it's fullest potential and then the backup software has removed content according to it's retention policy leaving "space" inside the VHDX structure. Now when backing up the software writes to the disk but the OS thinks the disk is full and puts the VM on pause mode to prevent crash. If this is correct how do I prevent this from happening? I guess it's possible to use fixed size VHDX instead but are there any other options?

0x0000003B BSOD System_Service_Exception rdpdr.sys - 2008 R2 SP1

$
0
0

I have several servers that crash when I log in to them, physical & HyperV VMs. RDPDR.SYS looks to be causing the issue.

Anybody know of a hotfix that may cure this problem?

Windows 2008 R2 Web Server SP1 running on Dell hardware.

Sysprep Windows 7 on bare metal and Hyper-V

$
0
0

I am running Hyper-V on Windows 8.1 Enterprise. I migrated my laptop's Windows 7 OS to VM and was able to boot to it in Hyper-V. I cloned my laptop first then sysprepped it with an unattend script and a batch file. The unattend install works and the batch file runs during Windows setup on my bare metal laptop. When I do the same in Hyper-V, the batch file never runs.

Here's the process I took to migrate my laptop to VM and what I did to get it to run in Hyper-V to see if something along the way I messed something up:

-Used dism to capture the image.
-Applied the image to a vhdx.
-Attach the vhdx in Disk Management.
-Copied my unattend.bat, unattend.xml, and setup.bat scripts to the C: drive of the vhdx.
-Loaded the SYSTEM HIVE from the vhdx in Regedit.
-Changed the "Start" DWORD from 3 to 0 in "HKEY_LOCAL_MACHINE/test/ControlSet001/services/atapi", "HKEY_LOCAL_MACHINE/test/ControlSet001/services/intelide", and "HKEY_LOCAL_MACHINE/test/ControlSet001/services/msahci"
-Unloaded the SYSTEM HIVE and detached the vhdx.
-Used Hyper-V to create a Generation 1 VM. Used the vhdx as the disk.
-Booted the machine up with error, but got rid of it by running a repair on Windows.

Here are the scripts that I am running during sysprep:

setup.bat:

echo. >> "C:\Windows\Setup\scripts\SetupComplete.cmd"
echo. >> "C:\Windows\Setup\scripts\SetupComplete.cmd"
echo wmic useraccount where name='Administrator' rename 'admin' >> "C:\Windows\Setup\scripts\SetupComplete.cmd"
msdtc -uninstall
msdtc -install
net start msdtc
c:\windows\system32\sysprep\sysprep /oobe /generalize /reboot /unattend:c:\unattend.xml
reg add HKLM\System\Setup /v CmdLine /t REG_SZ /d "C:\unattend.bat" /f
shutdown /f /r /t 0
=======================================

The unattend.bat just names the machine:

@echo off
setlocal EnableDelayedExpansion
cd windows\panther

set /p Variable=Enter The Computer Name:

(for /F "delims=" %%a in (unattend.xml) do (
   set "line=%%a"
   set "newLine=!line:ComputerName>=!"
   if "!newLine!" neq "!line!" (
      set "newLine=<ComputerName>%Variable%</ComputerName>"
   )
   echo !newLine!
)) > newunattend.xml
copy /y newunattend.xml unattend.xml && del newunattend.xml
"%WINDIR%\System32\oobe\windeploy.exe", 0, True
cd\
del unattend.bat
del "windows\panther\unattend.xml"
=======================================

The unattend.bat never runs in the VM, but does run on the bare metal laptop. Can anyone figure out why my script won't run? I have also did a clean install in Hyper-V then sysprepped it, but the script never runs either. Thanks.

Note: .bat files don't run, but .vbs do run, but does rename the machine in VM.

Unable to access Windows 2012 R2 Hyper V Server from Windows 7 Desktop

$
0
0

Hi,

I have installed W2k12 R2 using below steps - 

1. Installed HyperV Role - Reboot Server

2. Went to Server Users and Groups - added domain user into DOM and HyperV Administator Group

3. Went to AZMAN.MSC and created one Admin Role and then added this in Role Assignment. Then added domain user into this.

4. Went to WMI Control and enabled that user two control - remote enable and Enable Account in CIMV2 and Virtulazation. 

Reboot Server....Then went to domain member windows 7 PC and tried to access server through hyperV Manager but It is giving "You do not have the required Permission to complete this task. Contact the admistrator of the authorization.

This is my third HyperV Server in Network, i already configured two servers using these steps so i dont see i am missing any steps. 

One more thing about my problem - I am using Windows 7 64 Bit where i have HyperV manager 6.1 installed and trying to access Windows Server 2012 R2 Server. 

I also tried cmdkey so that should not be any issue..

Any idea ?? What should i check and try




VM goes offline when taking back-up

$
0
0

Situation:

4 node Windows Server 2012r2 Hyper-v cluster
Multiple 2008r2 VM's

Altaro software for back-up (using microsoft VSS)

Problem:

When taking a back-up a snapshot is created, however some of my machines goes offline when taking a snapshot.

On the Hypervisor hosting the problematic VM, I did a list writers on diskshadow.

The problematic machine writer:

+ Component "Microsoft Hyper-V VSS Writer:\DA52EBB1-2B79-4B6C-8B2B-FA4AE1EF5125"
- Name: DA52EBB1-2B79-4B6C-8B2B-FA4AE1EF5125
- Logical path: 
- Full path: \DA52EBB1-2B79-4B6C-8B2B-FA4AE1EF5125
- Caption: Offline\***VMMACHINENAME***
- Type: VSS_CT_FILEGROUP [2]
- Is selectable: TRUE
- Is top level: TRUE
- Notify on backup complete: FALSE
- Paths affected by this component:
- C:\ClusterStorage\volume1\**VMMACHINEFOLDER**\Snapshots
- C:\ClusterStorage\volume1\**VMMACHINEFOLDER**\Snapshots\39EEB8E5-1A9E-4567-A601-AABB9ADB70A8
- C:\ClusterStorage\volume1\**VMMACHINEFOLDER**\Virtual Machines\
- C:\ClusterStorage\volume1\**VMMACHINEFOLDER**
- C:\ClusterStorage\volume1\**VMMACHINEFOLDER**\
- Volumes affected by this component:
                               - \\?\Volume{69c711bd-3fa9-4eeb-b687-e8dddea5b453}\ [C:\ClusterStorage\Volume1\]
- Component Dependencies:

The option on Caption says: OFFLINE

I checked the following things;

http://support.altaro.com/customer/portal/articles/808575-what-are-the-requirements-for-live-backups-of-a-hyper-v-guest-vm-

All steps in the document are OK.

How can I troubleshoot this problem?


Hyper V Install - DC 2012 - No SAN - Space Query

$
0
0
Hi,

I'm hoping you can help me, I have a 360 Gen 9 Server and am looking to put hyper V on it, however, there is no available SAN. How much space will installing Hyper V, then installing a Windows 2012 DC VM take up? I need to know if there will be enough space left over on the Server for future VMs to make it worth while. 

RDP to a Windows 2012R2 VM over WAN.

$
0
0

HI, I hope this is the right place to post.

I have a Win 2012R2 HyperV server and I created a basic Win Svr 2012R2 VM with 1 vhdx file. Works fine.  I shut down the VM.  I then copied the vhdx file to another Win Svr 2012R2 HyperV server across the WAN. I added this new vhdx as a VM server.

Things looked fine.

I just noticed that when I RDP to this new VM across the WAN, it is sooo slow. I can’t bounce around its File Explorer’s C:.   I can RDP to its Hyper-V server over the WAN just fine. 

From the other LAN, I can RDP to the VM and work just fine, and its host server.

I removed the Enable virtual machine queue and Enable IP sec task offloading on the VM’s settings.

Still I can’t RDP to it over the WAN and do anything…?

Anyone have any good advice…?


Tom Karpowski...

Windows Server 2008 Enterprise licensing

$
0
0

I've searched, but I'm not seeing a straight-forward answer on this:

Can a 64-bit Windows Server 2008 Enterprise license (can be used on up to 4 VM's) be applied to 32-bit and 64-bit instances of the given OS version simultaneously (VM's hosted in Hyper-V)?

I know Windows Server 2008 Enterprise x64 will support both 32-bit and 64-bit VM's in Hyper-V, but I'm wondering on the legality of this.

If you could point me to any documents addressing this specifically, it would be much appreciated.

Windows 8 and 8.1 OS on hyper V plateform with host OS is Windows Multipoint Server 2012

$
0
0

Hi,

I have a query on windows multipoint server 2012 with hyper V installed. did windows 8.1 and windows 8 OS is working on virtual machines? Virtual machine of Windows 8.1 Os is not allowing to install drivers.

so please confirm if there is known issue.

Viewing all 19461 articles
Browse latest View live




Latest Images