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

WindowsVirtualization.V2.mof in Hyper-v on Server 2008 R2

$
0
0

Hi,

for fixing connection from Windows 10 Hyper-V manager to 2012 Hyper-V host I used this command on target server:

MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof

When running the same command on Server 2008 R2 Hyper-V host I am getting:

File 'C:\WINDOWS\System32\WindowsVirtualization.V2.mof' not found!

Could somebody help with proper location of "WindowsVirtualization.V2.mof" on HV of 2008 R2.

Thanks.


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


2012R2 Hyper-V Core in a workgroup - unable to remotely manage from win10 machine

$
0
0

doesn't get much more simpler than this scenario - standalone 2012R2 Hyper-V Core in a workgroup (no domain exists). I am simply trying to connect to it remotely using the Hyper-V MMC from my laptop running win10 Professional with RSAT tools installed using the local administrator credentials of the hyper-v host without success.

So far I have done the following on the host and client...

- disabled the FW on the Hyper-V host
- Run WinRM quickconfig
- Enabled remote management
- done a whole load of other crap that I've seen on forums such as "winrm set winrm/config/ blah blah blah"
I've followed this guide without success: http://pc-addicts.com/12-steps-to-remotely-manage-hyper-v-server-2012-core/

I know I am authenticating successfully to the remote server as it accepts the credentials (it immediately errors if I use incorrect details) but then displays this error that I cannot resolve:

"Error connecting... check virtual machine management service is running and authorised to connect....Operation failed. WinRM client cannot process the request. Computer policy does not allow the delegation of the user credentials to the target computer because it is not trusted. The identify can be verified if you configure WSMAN service to use a valid certificate..blah...blah...blah...load more txt about SPN's and GPO settings".

It shouldn't be this difficult to connect to a hyper-v host and to me it sums up how unnecessarily complicated Microsoft software has become over the years. Anyone got any other suggestions before I rip it out and propose we install ESXi instead?

Cheers
Andy

deploy Windows from MDT image to VM

$
0
0

Hi,

I need to deploy Windows OS from MDT 2013 base image.

I created VM on Server 2012 R2 Hyper-V. Moved Network adapter as first boot device.

Theoretically, it should find PXE... But it doesn't

For physical machine I press F12. What I am missing?

A while ago I think I saw F12 in virtual machine on Server 2012 (I know it supports PXE). And I remember I was able to come to

Light touch Wizard of MDT and even start deployment. But it fail on VM. So I gave up (was not rush).

I would like to resolve this and be able to deploy from MDT to VM.

Any suggestions. MDT2013 is absolutely fine for physical machines...

Thx.


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

here is the screenshot:

Server 2016: Adding Hyper-V role cause blank screen on reboot

$
0
0

Hi

I downloaded and installed Tech Preview 5 of Server 2016. Skipped specifying the license keys and installed Datacenter edition. Updated the machine through Windows update. Then added the Hyper-V role with option to reboot if required. The computer does not seem to recover from the reboot. Always get a blank screen. Can someone guide me if its 2016 not completely baked or am I missing something? 

Best Regards

SMK

Virtual Switch Confusion and Updated Images

$
0
0

Hi All,

Two questions. First is I have looked on the net for some Virtual Switch tutorials (Hyper-v 2012r2) but they seem contradictory or just confusing. I'm admittedly new at this and self taught but my first attempt seemed a little screwy.

I virtualized an old 2003 file server as a test and made it live the other day. I created an external switch connected to the physical NIC of the host machine (2012r2). The VM booted and had internet connectivity however the LAN settings did NOT seem to carry over with the image I made. It was now set to DHCP and just grabbed an address from the pool. Stuff seemed to work but I could not access the VM across the network locally which makes sense because it had the wrong address.

So far so good I guess. I'll just set it to the static settings of the VM to match the physical machine since it was now offline. When I go to set the NIC I get a warning about another machine already having that address and that the device that has it has been "hidden" on the virtual machine. So I do it anyway and the VM seems to spin it's wheels for a while and then away it goes.

So now I can connect to the VM from across the network by IP or name but it starts acting odd. For instance I can connect to the VM using RDC but only the desktop appears and no icons or mouse. I can send some E-mails internally and externally from the VM but some just never go through and give me a generic "NETWORK ERROR" message. I suspect I am not fully understanding what I am doing virtual switch wise.

Second question is a more fundamental virtual machine question. My thought was to use these VM's as sort of a "plan B" in case of  total failure of the physical servers. The plan was to keep images of all the physical machines and get whatever one failed running virtually so users can continue on while I restore the hardware machines from backups. The problem with this theory is that I have to constantly make these huge images and move them around the network to keep them current. Also how would I transfer data backwards after failure? I would think mirroring the physical server to the virtual one would be a bad idea in the event of viral infection. What is best practice for a concept like this?

Sorry for the verbosity and thanks in advance.

import-vm (powershell) don't work correct on server core 2016TP4

$
0
0

by GUI export and import work OK.

But if we import-vm files .vmcx like https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/user_guide/export_import

appeared info about: "import could not be realized due to validation errors"


How to maximise screen (Windows 10 build 14352 hyper-v )

$
0
0

Hi, 

I'm running the latest insider build of Windows 10, 14352 so this problem might be related to that.

The problem: I cant maximise or full-screen my vm. I'm running a lenovo laptop with 2540x1440 resolution (or something like that). When I start my Ubuntu 16.04 workstation, I expect to be able to maximise it so that I can actually see the letters on the screen. What happens is that the hyper-v "client" starts at around 1/4 of my screen estate (see pic), and no matter how many times I press the "maximise" button it doesn't scale beyond that. View--> Fullscreen just blacks out the rest of the screen, but the actual vm screen size is the same. There's no way for me in the VM display properties to change screen resolution either, since Hyper-V doesn't seem to report that to the VM.

I totally understand that Windows is the "priority one" OS for Hyper-V, but I was really hoping that Linux support was at least at level "useable".

What's the indended behavior here?

Move-VMStorage failing with error 0x80070005

$
0
0

I'm issuing this command on the Hyper-V host SERVER2:

    Clear; Get-VM | ForEach { 
      Write-Host "Migrating: "$_.Name;
      Move-VMStorage
        -VM $_
        -DestinationStoragePath "\\SERVER1\D$";
    }

Both servers are domain-joined, non-clustered.

This is the result I'm getting:

>Move-VMStorage : Storage migration for virtual machine 'ADMIN' (4F452569-7DB9-4606-9371-A905267A7B0F) failed with
error 'General access denied error' (0x80070005).
Migration did not succeed. Could not start mirror operation for the VHD file 'D:\Virtual Hard Disks\ADMIN.vhdx' to
'\\SERVER1\D$\Virtual Hard Disks\ADMIN.vhdx': 'General access denied error'('0x80070005').
You do not have permission to perform the operation. Contact your administrator if you believe you should have
permission to perform this operation.

ACLs are correctly configured:

    PS C:\Users\domain.admin> Get-Acl 'D:\Virtual Hard Disks' | FL


    Path   : Microsoft.PowerShell.Core\FileSystem::D:\Virtual Hard Disks
    Owner  : BUILTIN\Administrators
    Group  : DOMAIN\Domain Users
    Access : CREATOR OWNER Allow  268435456
             NT AUTHORITY\SYSTEM Allow  FullControl
             BUILTIN\Administrators Allow  FullControl
             BUILTIN\Users Allow  CreateFiles, AppendData
             BUILTIN\Users Allow  ReadAndExecute, Synchronize
             NT VIRTUAL MACHINE\Virtual Machines Allow  CreateFiles, AppendData, Read, Synchronize
             DOMAIN\SERVER2$ Allow  -2147483642
             DOMAIN\SERVER2$ Allow  CreateFiles, AppendData, Read, Synchronize
    Audit  :
    Sddl   : O:BAG:DUD:AI(A;OICIIO;GA;;;CO)(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;CI;DCLC;;;BU)(A;OICI;0x1200a9;;;BU)(A;OICI;0x
             12008f;;;S-1-5-83-0)(A;CIIO;DCLCGR;;;S-1-5-21-369066176-630964511-2072824237-1119)(A;;0x12008f;;;S-1-5-21-3690
             66176-630964511-2072824237-1119)

and:

    C:\Users\domain.admin>net localgroup Administrators
    Alias name     Administrators
    Comment        Administrators have complete and unrestricted access to the compu
    ter/domain

    Members

    -------------------------------------------------------------------------------
    Administrator
    DOMAIN\Domain Admins
    The command completed successfully.

    C:\Users\domain.admin>net group "Domain Admins"  <==(on the PDC)
    Group name     Domain Admins
    Comment        Designated administrators of the domain

    Members

    -------------------------------------------------------------------------------
    Administrator            domain.admin
    The command completed successfully.

    C:\Users\domain.admin>whoami
    DOMAIN\domain.admin

I've delegated Kerberos as discussed [here][1]. Incoming and outgoing migrations are enabled on both machines, on Kerberos under any available network. Both firewalls are off.

I've contacted my administrator and I don't know what's wrong either.

Where to look next?


  [1]: http://windowsitpro.com/windows-server-2012/windows-server-2012-storage-live-migration


Add user input runonce commands

$
0
0

Is it possible to ask input of the user during deployment of the (linux) vm in scvmm?

In the guest OS profile, you can choose a new root password etc but i I want to add additional users to a linux vm during the deployment.

CPU/Core/logical processor assignment.

$
0
0

Hello all,

We have 2 socket , 2 CPU with 10 core each & 40 logical processor after enabling hyper threading .

Now we have created 3 vm on this server& all 3 servers having volume of equal load.

Now can you please suggest how we  can devide CPU/core/logical processor in between 3 virtual server.

 

For eg: can we go beyond 40 cores for all 3 vm server?

how to monitor VM cluster storage

$
0
0

Windows Server 2012, Hyper-V

there are times i would get suprises that a certain VM is paused only to find out that it is running low on storage (as can be seen from the Storage/Disks option of the FCM.

currently, i'm monitoring them manually (big work) but i'd like to know how the others are managing the storage.

regards,

VXlan in HyperV

$
0
0

Hi!

It has been announced that VXlan will be supported for network virtualisation for windows server 2016. That's great! We can't wait to tinker with that and integrate it with our architecture. Curently, we are using Server 2016 TP5 in our test environment. I was looking in VMM for a way to change the encapsulation protocol from GRE to VXlan, but I can't seem to find it. Is it available yet? If so, how can I use VXLan instead of GRE? If not, will it only be available in the final product?

Thank you!

windows 2008 R2 not booting (virtual machine )

PCI compliance: Audits

$
0
0

Hi,

I need to make an Hyper-v DSS PCI compliant, so I need to archive logs about any change or access to hyper-v from administrators. In Event logs I can find operations, but not the user that requested them (I think it's because a user asks for a change, then it's forwared to hyper-v from the parent partition, and the original user is lost). I tries an audit log to the VMs files, but it creates tons of logs from System user (replica updates, etc).

What is the right way to make Hyper-V DSS PCI compliant and retrieve rights audit logs?

thanks

Virtual Machine Connection Window Size

$
0
0

Hello,

I'm facing a issue with the Hyper-V Virtual Machine Connection running on Windows 10 Enterprise version 1511.

When I switch windows from a full screen virtual machine connection to another application, the virtual machine window resizes and exits the full screen mode. The resolution is not affected though.

Is there a way to change this back?

Thanks in advance,

Christos


Unable to remove Hyper-V

$
0
0

have you tried this:

Dism /Online /Disable-Feature:Microsoft-Hyper-V-All or Dism /Online /Disable-Feature:Microsoft-Hyper-V


Mohsen Almassud

Unfortunately, on the next start after a reboot I get an error:

We couldn't complete the features

Undoing changes

Don't turn off your computer.


Any clue on how to get the Hyper-V removed?


Well this is the world we live in And these are the hands we're given...


Cannot connect to virtual machine

$
0
0

I am running a Server 2008 R2 as a host server for Server 2008 R2 virtual machine.  I have the following error in the Hyper-v Worker event log:   failure in machine remoting system. Error: 'Unspecified error' (0x80004005). If I open the Hyper-V manager, I get the following message:Cannot connect to virtual machine.

Most of the research I have seen, it says that there is a certificate expired problem, but the certificate in question does not expire until July 28 2016.  I remember getting a warning last year that the certificate was going to expire, but it renewed automatically.  Any answers to this problem.

Hyper-V 2012 R2 VM Settings very slow loading

$
0
0

Hi All,

I have a environment of Hyper-v 2012 R2 Failover Cluster and what i am experiencing is whenever i go to settings of any VM it takes ages to load it. Tried couple of workarounds from google but no luck till yet. Any Suggestions?

P.S. Its a production Hyper-V host so no restarts or shutdown solutions.

Your generous help would save a lot of time for me.

vmconnect.exe FROM Windows 7 TO Hyper-V 2012 R2?

$
0
0

Hi,

I am trying to remotely administrate a Hyper-V Core 2012 R2 Server using a Windows 7 client.
As I understand it, this is not possible using the Hyper-V Manager because the Server and client versions are incomaptible?

However, I'd like to know if I should be able to connect to a guest-VM on said Hyper-V Server from my Windows 7 client using the "vmconnect.exe"?

Or is this also not possible due to the different Versions?

Thanks in advance for the info!

With kind regards,
Florian Seifer

Hyper-v error 32780

$
0
0
Hello,
I have 2 Windows Server 2012 R2 machines. Both have Hyper-V installed.
I want to migrate a VM from one machine to another.
After selecting where to move the VM a popup appears:
Move Wizard / There was an error during move operation. / Migration operation on 'VM-NAME' failed. / The operation failed with error code '32780'.
I searched all Internet for Hyper-V error 32780, no luck so far.
Any ideas?
Thank you!

Viewing all 8743 articles
Browse latest View live


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