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

Getting error while start VM from Hyper-V manager after disk expend

$
0
0

Hi Team,

I have shutdown VM before start disk expend and disk is expended but I am Getting error while start VM from Hyper-V manager after disk expend, please provide trubleshooting step.

I am unable to attach error snapshot,please provide emailID so i can send.

Thankyou.



Cannot connect to newly created VM

$
0
0

Hello,

I am running Server 2016 Standard.

The Server is a member of a domain

I'm logged in with a Domain Admin account

I am unable to connect to the VM that I have created. I have tried both Gen1 and Gen2 VM. I have tried restarting the host.

The VM (Gen1) is reported as 'running' and in the preview screen I can see the initial dialog box for Windows setup, but I cannot connect to the VM.

This is really annoying.

I've spent some time trying to find an answer - and so far found nothing that works. Some one said removing McAfee worked for them, I only have the Windows firewall installed. There is very little 3rd party applications on the server at this point.

Would appreciate troubleshooting suggestions

Thanks

VW

Hyper-V Querries Slow Outside VM

$
0
0

My PC/Host Machine:

  • PC
  • Windows 10 PRO
  • 64GB
  • Xeon Processor
  • Quadro 9000
  • Dinky Little Thumb Driver Wifi Adapter

The VM:

  • 8GB RAM
  • 4 Virtual Processors
  • Hardware Acceleration > Virtual Machine Queue: Set to Off/Disabled
  • Windows Server 2012 R2

All setup on my local PC, no external networking should be required. When I connect to the VM thru the Hypervisor RDP window or via Teamviewer, my Oracle database queries are nice and fast.

However when I do those same queries from the host machine, they tend to run slow at first, like if the device has been sitting a while. They sometimes get fast too... the speed measurement seems to putter like a muffler or something. Sometimes its way to slow, like 2 minutes to retrieve 10 simple database rows... I've tested on the VM and on the host machine the same query simultaneously, the VM is less than .1 seconds to respond, the host machine is long, minutes.

VQM seemed like the most likely cause so I disabled it. The interwebs also recommended disabling it on the physical network adapter, but the setting is found there on this dinky little USB Wifi Adapter.

Any help is appreciated

 

 


Unable to convert existing snapshot to ReferencePoint.

$
0
0

Hello!

I'm trying to implement fast backup tool for Windows Server 2016+ Hyper-V (configuration 8+). I am using  C++ COM WMI. I was able to successfully create a snapshot and wait for Job is done but get in trouble to convert it to ReferencePoint. For this purpose I use  ROOT\virtualization\v2 namespace, ConvertToReferencePoint method of the Msvm_VirtualSystemSnapshotService class. Incoming parameters field with: AffectedSnapshot contains __PATH of Msvm_VirtualSystemSettingData (Checkpoint settings for the virtual machine.), ReferencePointSettings left empty because it noted in docs as optional. After method executing new Job not created (Job out param) is null and ReturnValue  is 32770 (vendor specific range). 

What am I doing wrong?


Hyper-v vs Domain Services

$
0
0

Server 2012

Pretty sure I had the Hyper-v role installed on my server.

Last night I installed the Active Directory Services role. On reboot, neither role is installed. Not sure what happened, but maybe someone can comment.

ALSO...

What is the preferred arrangement:

1. Hyper-v and DC running on same local host

2. Hyper-v with DC running on VM

3. Separate DC on designated physical server

4. Other best practice

My intention is to use the hyper-v manager server for virtual environments;  to help with application development on different server environments. I want a Domain Controller because I need a practice environment for testing domain services.

Regards,

Hyper-V and Server compatibility tool

$
0
0

Hello everyone, 

I need to find out with you guys if its possible to run 2 Hyper-V environments in the same LAN, the LAN runs 1 hardware cluster and 2 more hardware servers. If so, are there any risks? Also, I like your suggestions on a hardware compatibility software that I can test if my hardware is suitable running Win Server 2019. 

Many thanks for your help. 

Cannot ping client and dc from router in Hyper-V

$
0
0

Hi,

I have three virtual machines (Windows 10, Windows Server 2016 as a DC, Windows Server 2016 as a Router) in Hyper-V server. My problem is that I cannot ping the client and dc from the router and vice versa. Here are my Hyper-V settings:

I've turned off the firewalls for all VMs.

Thanks for your answers


Can i Stop the running merge of an Snapshot

$
0
0

Hello!

We have transfered our Exchange-Server from a 2008 R2 Hyper-V to a 2016 Hyper-V.

The VM has a very big and old Snapshot. We tried first to merge the Snapshot on the 2008 HyperV but

this was impossible. So we transfered the VM To the new Hyper-V. After the Transfer the Merge started automaticly.

Our Problem is, that the Merge take a lot of Performance, so that our Servers are running but with a very bad performance.

My Question: Does anybody know what the VM will do when i abort the Merge.

Will it stop and i can restart it later. Or will it ruin my complete Config?

Regards

Andreas


Manage Hyper-V Core Cluster Workgroup (without domain): "List Disks" failed with "The remote procedure call failed"

$
0
0

Hello.

Before writing I have read hundreds of posts, articles, ... and I have enabled all the permissions/parameters to permit the connection without domain.

I have installed an Hyper-V 2019 Core Cluster Workgroup (without domain): it functions perfectly.

I can connect to the nodes with Hyper-V Manager from my PC (in domain).

But when I try to connect to the cluster with Failover Cluster Manager:

  • the name in the tree has a red down arrow
  • the cluster status is "Down"
  • the cluster service status is "Running" for all nodes

If I run a Validation Test, I have the following error: "List Disks" failed with "The remote procedure call failed" and in the Event Viewer I have the error 81 "LogExtendedErrorInformation (974): Extended RPC error information:".

Thank you in advance for your support.

Best.
Alessandro

can't connect to hyperV from windows 10

$
0
0

Hi,

I have windows 10 pro 64bit OS , hyper V addon enabled. 

I created a virtual pc on my windows 10 machine, I am starting the machine but unable to connect to it. 

I am not getting error.

do you guys/gals have an idea ? 

troubleshooting steps that I took are;

confirmed virtual is enabled in bios,

I launched the hyper v manager as the user or as administrator still unable to connect to it. 

VM recommended configurations?

$
0
0

It's been a while I played around with Virtual PC/Server as it was called in the day. It's Hyper-V now and that's what I want to use to get two VM's running as a replacement for two SBS 2011 servers. So we bought a fairly 'fat' server - a Dell Poweredge R7415, sporting an AMD Epyc 7281, 64 GB RAM, BOSS-card (240 GB configured in RAID1), three 960 GB SSD's configured in RAID5, six 2 TB near-line SAS drives configured in RAID5 and four 1 Gbit network adapters.

What we need is a fileserver/domain controller and Exchange server. So we bought Windows Server 2016 and Exchange 2016. Windows Core is to be installed on the BOSS-card. The virtual domain controller / file server uses the near-line SAS drives to store it's virtual disk. The virtual Exchange server uses the SSD's to store it's virtual disk.

Installing Hyper-V is pretty much a no-brainer. As is creating a new VM. But both VM's and the host have to be configured for optimal performance. So I read the MS documentation for Hyper-V, but can't find anything about recommended configurations. I broadened the search to the internet, but that's no luck either. Tons of websites describing how to install Hyper-V and create VM's but there it stops.

Could be I searched the wrong way, so please point me in the right direction. Or maybe recommend how to configure both VM's like how many RAM I should allocate, what to do with the network settings - do I tie them all to the virtual switch or do bind them directly to the VM's etc.


Simon Weel

Hyper-V manager will not start VM-- timed out

$
0
0
I am using windows pro 10 on a home AD domain. The manager creates and verifies the VM files easily, but will not start any of the VMs. The errors (in the event log) only show "timed out". I have added myself (and I am a domain administrator) to the Hyper-V administrator group on the computer, turned off Norton AV and firewall, disabled Windows Defender, ran the manager as an elevated app and regularly. Still no joy. I see this issue quite a bit in the forum. Does anyone have an idea how to proceed. I also have checked the hardware requirements for Hyper-V and this machine passes. 

Visual Studio Professional Subscription - Hyper-V core licensing

$
0
0

Hi

I have a Visual Studio Professional subscription which allows me to download and use Windows Server 2016/2019 Standard or DataCentre edition. I would like to test Hyper-V on my homelab server which is equipped with 2 CPU's which have 8 cores each.  For testing purpose do I need to purchase a 16 core license if I was to use the DataCentre edition or the core license is not required when testing / using a Visual Studio Professional subscription ?

Kind regards,

Aekash


New server with Hyper-V need to use USB Modem

$
0
0

We are installing a new fileserver with Server 2019. Planning on using 2 VMs, one with AD and filesharing and the other with Exchange. My problem is that I need to run some software that uses a USB fax modem. Does Server 2019 still not support a USB device such as a modem in the guest vm? What are my best options?

Thanks,

Dale


Dale

Stay logged in to vm after disconnecting from server?

$
0
0

I have 2 GUI based programs running on Windows 10 in a Hyper-v machine that are constantly being automated by a third program. I would like to have this process continue running after I disconnect from the machine but disconnecting causes the machine to go into the locked state. This causes the automation software to fail because functions like "SetForegroundWindow" fail without there being an active desktop session.

Is there any way to accomplish this without having to leave a second machine connected to the server 24/7?


Increase VHD Size

$
0
0

Hi,

How can i increase the size of C?

Windows 2012 Hyper-V Server, VM is 2016

How to set the two parameters of 'Member' and 'Collection' when using AddMember()?

$
0
0

Hi, everyone, how do you set the parameters when using the Msvm_CollectionManagementService::AddMember() function?

According to the MSDN documentation(AddMember), it says: The 'Member' parameter means: A reference to the managed element to add. The 'Collection' parameter means: A reference to the collection that receives the managed element. I am really Do not understand, how should this parameter be set?

My code snippet:

VARIANT var;
BSTR paramName4 = L"Member";
//var.vt = VT_BYREF | VT_UNKNOWN;
//var.ppunkVal = (IUnknown**)&m_pComputerSystem;
//var.vt = VT_BYREF;
//var.byref = (PVOID)m_pComputerSystem;
//var.vt = VT_UNKNOWN;
//var.punkVal = (IUnknown*)pInClass;
var.vt = VT_BSTR;

var.bstrVal = _bstr_t(_vmName.c_str()); //_vmName, the virtual machine name

hresult = pInClass->Put(paramName4,
0,
&var,
0);
if (FAILED(hresult))
{
string msg = "Failed to set property.";
throw std::exception(msg.c_str());
}

BSTR paramName5 = L"Collection";
//var.vt = VT_BYREF | VT_UNKNOWN;
//var.ppunkVal = (IUnknown**)&collectionName;
//var.vt = VT_BYREF;
//var.byref = (PVOID)collectionName;
//var.vt = VT_UNKNOWN;
//var.punkVal = (IUnknown*)pInClass->QueryInterface(&collectionName);
var.vt = VT_BSTR;
var.bstrVal = _bstr_t(_collectionName.c_str()); // _collectionName, the collection name

//invoke method
hresult = m_pWbemServices->ExecMethod(
var.bstrVal,
methodName2,
0,
NULL,
pInClass,
&pOutClass,
NULL);
if (FAILED(hresult))
{
string msg = "Failed to invoke method.";
throw std::exception(msg.c_str());
}

Next I call the AddMember() method and the CreateSnapshot() method, and the return value is S_OK, but unfortunately, I don't see the new snapshot generation or .rct file generation.

Please give me some guidance, cheers


How to select correct boot partition from multi-partition .vhdx file?

$
0
0

I am relatively new to managing Hyper-V servers. I have been sent some .VHDX files that are the exports of disks from a a working Hyper-V server. However the C:\ drive is a partition of one of the supplied .VHDX files and I cannot figure out how to create a new VM that will boot from this existing C:\ drive (the original OS is Server 2008 R2 Standard Ed). The files supplied are structured as follows, according to the individual who supplied them:

PMDLINK-0.VHDX Drives C: and E:

PMDLINK-1.VHDX Drive F:

PMDLINK-2.VHDX Drive D:

I initially tried creating a new Hyper-V VM by using the 'New' > 'Virtual Machine' Wizard. I gave the VM a new name, stored the machine at the default location where there is plenty of disk space. For Generation type I was unsure so I have tried creating new machines of both Generation 1 and 2 types. Assigned 12GB RAM, selected 'Default Switch' for connection. For 'Connect Virtual Hard Disk' I selected the option 'Use an existing virtual hard disk' and set path to the 'PMDLINK-0.VHDX' file.

When configured as Generation 1 and I try to initially start the machine, I get message 'Missing operating system'

When configured as Generation 2 and I try to start the machine, I get message 'Start PXE over IPv4' and shortly after a further message 'No operating system was loaded. Your virtual machine may be configured incorrectly. Exit and re-configure your VN or click restart to retry the current boot sequence again'<o:p></o:p>

I have also tried mounting the source drive on my windows 10 laptop, which displays the following partitions once mounted:

I then created a new virtual drive from the Computer management 'Actions' menu again on my windows 10 lap"font-family:Verdana, sans-serif;font-size:9pt;">At this point I initialised the new disk but did not create any partitions. I then used 'AOMEI Partition Assistant'  to copy the source partition from the I: drive above to the newly created virtual drive:

Which resulted in the following, I renamed the volume to 'OS Part':

I finally created a new virtual machine in Hyper-V manager (still on my windows 10 laptop) and for the hard drive, selected 'use an existing virtual hard disk' and pointed to the newly created virtual drive. The machine was created successfully. However when I tried to start it, again I created the machine twice for both 'Generation 1' and 'Generation 2' but still it failed to boot:

Generation 1 - started, but just displays black screen with white blinking cursor<o:p></o:p>

Generation 2 - started, but displays message 'Start PXE over IPv4'<o:p></o:p>

(Sorry I will add the images later once my account is verified)

Error Cluster Shared Volume 'STATUS_CONNECTION_DISCONNECTED(c000020c)'

$
0
0
Good Morning.

I have problem in the Windows Server 2016 (Server Core) cluster (Cluster Shared Volume), where in the event viewer '' STATUS_CONNECTION_DISCONNECTED (c000020c) 'All I / O will be temporarily queued until a path to the volume is re-established. "

I have the idea that you are not finding the cluster disk, but still that does not make sense to me.

What I noticed, that when I leave the Volume / Disk in this NODE is presenting problems and when I have a virtual server in this NODE and I use it, it gives the same problem.

I have already installed the latest updates, but I have not found the solution yet.

SDDC Management cluster role Error

$
0
0

Trying to use Windows Admin  Center with my microsoft hyperconverged cluster/ Using powershell installed  SDDC Management role but it doesn't starts with errors:

SDDC Management cluster resource failed to come online.

Resource: SDDC Management
Status: There are no more endpoints available from the endpoint mapper.

Cluster resource 'SDDC Management' of type 'SDDC Management' in clustered role 'Cluster Group' failed. The error code was '0x6d9' ('There are no more endpoints available from the endpoint mapper.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

Which way should i look?

Viewing all 8743 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>