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

Unable to Use Mouse on Hyper V on Windows Server 2012 R2

$
0
0

VM host with windows server 2012 R2.

I have 2 VM on the machine.

all of them using windows server 2012 R2.

one of the VM mouse is not working. i have tried to reboot the machine and reinstall the integration services. is there any way to resolve this ?

the other VM the mouse working fine.

 


Microsoft account sign-on not syncing settings on Hyper-V VMs

$
0
0

I'm actually using Hyper-V on a new Windows 10 Pro x64 desktop PC, but can't find a forum dealing with Hyper-V on W10 and I understand the underlying technology's the same so I hope I can get some help with this issue.

Whenever I create a VM in Hyper-V then sign-on using my normal Microsoft account the settings aren't syncing across - This is immediately visible because my sign-on picture and desktop background remain as the default.

I first noticed this after deploying a Windows 10 image after customisation using SysPrep and saw it on the target installation.  I assumed it had something to do with the customisation/SysPrepping itself, but I just created a new VM in Hyper-V, dead simple, accepting all defaults and installing Win 10 Pro 64 v.1511 by attaching the ISO to the ODD. All went very smoothly and once installed (no customisation in Audit Mode - just a straight install), I changed from a local account in my name to my Microsoft account. The same problem's still there - the desktop background picture and my user pic remain as the default so whatever's causing this is happening to any VM I create in Hyper-V and is nothing to do with the SysPrep procedure.

I did skip entering my MS account details during Windows install and created a local user account first because this ensures the user folder has my name in full. If I enter my MS account email and password during Windows installation, it creates a user folder using just the alias from my email address. This is a small but irritating detail, but it's not the cause of the problem as I've tried it both ways and the issue's still there.

Signing on with the account works fine - credentials are accepted and I can see the VM name in the MS account (Settings/Accounts/Your email and accounts/Devices) so it's definitely signed-in okay and the Sync Settings option is enabled by default so I don't understand why I'm not seeing the settings sync across.  I can also confirm it's nothing to do with verification on of the account on the VM or activation as neither of these has made any difference.

Is there a setting during creation of the VM that could be causing a problem here?

I've searched for details of this issue, but haven't come up with anything similar anywhere.

Anybody any ideas?

Changing virtual switch

$
0
0

Hi,

We currently use a 1gb physical adapter for our virtual switch which virtual machine guests use.

We have a 10gb physical adapter we would like to use instead.  DO I just change the dropdown for our current virtual switch to use the 10gb adapter rather than the 1gb adapter?  Or do I need to create a second virtual switch with the 10gb adapter and then transfer the guests to use the new virtual switch?

Permission error opening properties of VM

$
0
0

Hi,

I am not sure what I am missing. I have one user who is able to start/stop VM but when trying to view the properties of a VM - a permission error occurs using Failover Cluster Manager.

The user is "Domain user" and member of a "Hyper-V Management" Group in AD which we created. This AD Group is member of the "local admin" Group on all the Hyper-V servers. Based on my understanding that should be sufficient for him to do view the settings of a VM.

Any ideas? It would be really helpful to find out where to look for the error in Event Viewer as I didn't find any.

Thanks

Error creating a new VM

$
0
0

Hi everyone,

this has now happened on both of my Windows Server 2012 R2 Hyper V hosts.

Both servers are part of the domain.

When creating a new VM, I can run through every step but when I click Finish, I receive the error:

Hyper-V encountered an error trying to access an object on computer localhost because the object was not found. The object might have been deleted or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running try to perform the task again by using run as administrator.

I'm running this as the domain administrator. Have also tried as local administrator. Managing Hyper V on the servers themselves so this shouldn't be related to firewall etc.

This occurred once before, and it was resolved by doing the following:

1. Stopped the Virtual Machine Management Service.

2. Run (elevated command prompt) the command
MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof

3. Reboot the server.

This isn't working anymore. I suspect a recent windows update has broken something, but can't be sure.

Can anyone assist with this?


Ian

Hyper-V on 2012 R2 - Delegate Access Control?

$
0
0
Trying to find out how to allow normal users on a server to have read only access to Hyper-V Manager so they can get console access to VMs.  (The main issue is a VM user will do something to accidentally cut off RDP access to their VM.  I would like them to be able to do it themselves.)  I have seen several guides using AzMan snap-in, but it appears this approach does not work on 2012R2 and I have tried to do it several times and can confirm it does not work.  Is there a solution out there that can accomplish this task?  Thanks. 

Server 2012 Hyper-V VM drops IP

$
0
0

have a Kemp load balancer for a customer that has a lot of websites (Over 600) going through a shared IP to their Web Server (Windows 2012 R2).  The Kemp Load Balancer does HTTP health checks to make sure the Web Server is up and accessible.  A few days ago, the Health Checks were failing and it was because the load balancer wasn't able to communicate with the Web Server.  As soon as I removed the IP and re-added it on the server, the health checks were able to communicate with the server and the websites came back up.  There were no errors in the log files and I have been researching this problem for a couple days and am stumped.  Has anyone experienced anything similar and have an idea why this happened?

It seems like the Windows server just stopped recognizing the static IP and I have never had this happened to me with Servers in the past.  Is it possible the sites caused an a overflow of some type on the WebServer?

During this time I also could not ping the Server which is installed as a VM on Hyper-V yet the backup WebServer which is setup the same way only with a different IP, was working perfectly.

Any help would be appreciated and I know there's not much more information but there were not any error logs of any issue for me to provide.

Impact of disabling caching in Hyperv management cmdlets windows server 2012

$
0
0

Hi,

Looks like hyper-v management cmdlets have process layer caching where status of vms reported is incorrect if cmdlets are executed from .Net code using the same runspace and if the state of the vm is modified from external powershell window. An example illustrating this issue:

- Let's say VM-1 is in stopped state and getting from .Net code returns the correct state. (Stop-VM VM-1 from service)

- State of VM-1 is changed from stopped to running using a different powershell window. (Start-VM VM-1 from powershell)

- Querying for the state of VM-1 from .Net service still returns "Stopped" instead of "Running" (Get-VM VM-1 returns Stopped). Further if Stop-VM is executed from the service using the same runspace at this point, the cmdlet fails with the following warning.

WARNING: The virtual machine is already in the specified state.

This suggests that there is a process level caching for hyperv cmdlets. This can however be overridden using Disable-VMEventing as documented at https://technet.microsoft.com/en-us/library/hh848571.aspx.

The Disable-VMEventing cmdlet disables virtual machine eventing on a Hyper-V host or hosts. Virtual machine eventing keeps Hyper-V PowerShell objects updated without polling the virtual machine host. Virtual machine eventing is enabled by default.

Question:

Is there any performance impact with using Disable-VMEventing? Are there any other side effects of the same?

This is Windows Server 2012 R2. Any help regarding this issue will be helpful.



Add Virtual Disk to a VM using powershell.

$
0
0

Hi All,

I am trying to attach 4 disk to a Virtual Machine. Can anyone please help me with the powershell.  The below script seems to be not working as expected. The below script is only for adding one disk.

New-SCVirtualDiskDrive -VMMServer test.com -SCSI -Bus 0 -LUN 2 -VirtualHardDiskSizeMB 51200 -Dynamic -Filename "ABC_disk_1" -VolumeType None 

Any help or any pointer would be helpful. 

Regards


Priyabrata

Hyper-V Manager RPC Error

$
0
0
Hi,
 
I'm having problems connecting to an instance of Hyper-V RTM running on Server Core via the Hyper-V Manager MMC snap-in (I've tried both x64 and x86 versions).  Every time I try to connect I get an error stating that:

"Cannot connect to the RPC service on computer <Hyper-V Server>. Make sure your RPC service is running."

I've tried reinstalling Hyper-V, disabling all firewalls, using the IP address to connect instead of FQDN, etc. all without success.  What's strange is that I've got no problems connecting to other MMCs remotely (such as Event Log Viewer, the Services console, Computer Management, etc.).  Also, both systems are in a domain environment which should rule out any authentication / permissions issues.

Unfortunately this issue has caused our Hyper-V deployment to grind to a halt as we can't connect to the Hyper-V instance to configure any VMs!  Any assistance anyone can provide would be very much appreciated.

Thanks!

Storage migration of pooled VDI virtual machines

$
0
0

Hello,

I have a pooled VDI collection of 80 virtual machines that needs to be migrated to an new storage location. I was wondering if this is recommended or not, since VDI uses snapshots and an export location for the template. Rebuilding the collection is an option but if there is a fail-safe method for storage migration, I would rather go down that route.

Thanks

Fred

Hyper-v host has no CD

$
0
0
I am new to Hyper-V and have hit my first obstacle. I loaded the Hyper-V software on the host server off a bootable USB drive. Now I have discovered that I can't load the OS for a client VM from a USB drive. My host server has no CD/DVD or floppy(really?) so now I am stuck. Does anyone know how to get around this roadblock?

Hyper-V VM failed to start - General access denied errror

$
0
0

HI,

 

When i'm trying start my newly created virtual machine  I've got error:

 

VMMS Account does not have sufficient privilege to open attachment ".....\SRVVirt.vhd"

 

I am logged in as administrator, Services ara running with following accounts :

 

Hyper-V Image Management Service - Network Service

Hyper-V Networking Management Service - Local System

Hyper-V Virtual machine managemet - Local System

 

Operating system is clear installation of Windows Server Standard 2008 RTM with Hyper-V

 

Installed roles :

 

Application server

File Services

Hyper-V

Web Server

 

any suggestions on how to overcome this issue and get the hypervisor running would be greatly appreciated.

thanks.

 

Radek

 

.

Hyper-V Connection Bar

$
0
0

The Hyper-V connection bar should be capable of being made permanently hidden. Perhaps an option could be added to the Hyper-V manager. Similarly, an option to compel full-screen mode would also be useful. The current display configuration file is silly and clunky and counter intuitive: why scatter configuration all over the place like that? Of course, stability is more important than anything.

Failed to get the disk information

$
0
0

Hello,

I'm getting the following error message on a Hyper-V server:


Log: Microsoft-Windows-Hyper-V-VMMS-Admin
Type: Error
Event: 15268
Agent Time: 2014-06-06 09:51:01Z
Event Time: 07:50:19 AM 6-Jun-2014 UTC
Source: Microsoft-Windows-Hyper-V-VMMS
Category: None
Username: SYSTEM
Computer: SERVER.domain.lan
Description: Failed to get the disk information.

I can't find any information regarding this error message/ID. Is there anyone who received the same error message once?

Kind regards,

Rense Hartog


Change virtual switch connection type

$
0
0

I set up a test domain with one virtual switch and in order to keep it segregated from our LAN when I need to, I simply switch the connection type within the virtual switch from external to internal/private. This was working great till just the other day when I made the switch and it didn't seem to finish the changes. Now when I try to change the setting, it's grayed out and there's an additional note at the bottom saying "Some settings can't be changed because you have multiple network adapters for the management operating system."

When I look at ncpa, I see my 2 NICs, the team it's on and for some reason 3 virtual ethernet adapters with different IPs from my guest DHCP.

I've restarted yet am still unable to modify these settings. I don't want to nor can I anyway remove the one virtual switch I've made. Next plans were to shutdown all hyper-v services then see if I'm able to go from there. Ideally I'd like to keep this adapter and fix whatever stuck setting(s) were never applied when I made that property change.

Low transfer rate between HyperV nodes

$
0
0

Hi,

We are facing a low transfer rate between two HyperV nodes in a cluster.

Sometimes we receive packet loss or high latency above 18ms.

VLANs,speed and duplex configuration are correct and no loop on switches side.

How can we identify this issue ?

Regards,

 

Network cable unplugged

$
0
0
Hi, Preparing my virtual machine to function as a Window Server 2008 R2 Domain Controller, I got the message: "Network cable unplugged"on Network connection wizard. How do I configure TCP/IP networking protocol ? I'm running Hyper-V.

Cannot upgrade Integration Components of R2 guest on R2 host

$
0
0

Hi,

Some Hyper-V patches require you to upgrade the IC of the guests. In order to keep everything correctly versioned I have created some scripts which raise alerts when the IC of the guest don't match the version of the host. I then go and upgrade the ones that are out of date.

I am having a problem updating SOME of my WS08R2 guests. Some have upgraded fine so I don't understand what is going wrong with these last 2 guests. Here is what happens:

  1. I insert the integration components CD using the Hyper-V manager
  2. I run the setup.exe out of the support\amd64 folder
  3. It gets as far as "Installing Guest Components" when an error appears saying "An error has occurred: One of the update processes returned exit code 14101"

Having a look at the vmguestsetup.log file show the following error:

-->8

Temporary directory = C:\Windows\Temp\{b9054f11-0c3c-44a2-845e-e83b97878e46}
Command Line: "C:\Windows\system32\pkgmgr.exe" /ip /m:"C:\Windows\Temp\{b9054f11-0c3c-44a2-845e-e83b97878e46}\Windows6.1-HyperVIntegrationServices-x64.cab" -quiet -norestart
Process exit code = 0x3715

-->8

So I have then tried running the command line above without the quiet switch and I get the following error:

Operation failed with 0x80073715

The identities of the manifests are identical but their contents are different.

I've tried rebooting the guest prior to installation, I've tried getting SCVMM 2008 R2 to install the guests services for me, I've tried migrating the VM to another node in the cluster and I've tried copying the guest components out of the ISO from another VM host and installing them that way.

Why wont it work?

Gen-2 Unbuntu Boot Issue

$
0
0

Hi,

I have backup of a Generation 2 Hyper-V Vhdx with Ubuntu 15.04 installed.  I tried to attached to a new configuration but this does not boot.  The sad thing now is I do not have the original Configuration file.  I know that is a blog on how to get it working if the original configuration file is still around and the VM can be booted to do the necessary change.  My question now, Is there a way around this without the original configuration file?   

Thank you.

https://blogs.msdn.microsoft.com/virtual_pc_guy/2015/02/11/copying-the-vhd-of-a-generation-2-linux-vmand-not-booting-afterwards

Viewing all 19461 articles
Browse latest View live


Latest Images