Can't launch Virtual Machines in Hyper-V after sysprep on host (Server 2012)
Hi all!
I am setting up lab environments for official Microsoft Cources. I just took a new approach which is to prepare a machine with all the VMs in Hyper-V, basically I set up the whole virtual machine environment ready-to-go, then the last thing is to sysprep
the machine and then roll it out to a whole classroom.
Acording to http://support.microsoft.com/kb/2249906, this has to do with the /generalize-switch of sysprep, which is doing some spooky with SIDs that is all logical.
My question is, how can I make sure that all the VMs in the image can start up properly after the redeployment of the image?
Below is the error-msg when trying to start the virtual machine after sysprep on the host:
http://i50.tinypic.com/1igxo1.jpg
Hi all!
I am setting up lab environments for official Microsoft Cources. I just took a new approach which is to prepare a machine with all the VMs in Hyper-V, basically I set up the whole virtual machine environment ready-to-go, then the last thing is to sysprep
the machine and then roll it out to a whole classroom.
Acording to http://support.microsoft.com/kb/2249906, this has to do with the /generalize-switch of sysprep, which is doing some spooky with SIDs that is all logical.
My question is, how can I make sure that all the VMs in the image can start up properly after the redeployment of the image?
Below is the error-msg when trying to start the virtual machine after sysprep on the host:
http://i50.tinypic.com/1igxo1.jpg
You should re-import the VMs on new hosts that have been deployed from a sysprepped image. This is due to the unique security GUIDs set on each VHD which can't be re-used on a duplicate host.
Similar Messages
-
Can I failback Virtual Machine from Azure to other Hyper-V host ?
Can I failback a Virtual Machine from Azure to other Hyper-V host ?
I want to know Azure Site Recovery Failback features at Hyper-V host trouble.
At Hyper-V host trouble, I do failover a Virtual Machine from Hyper-V to Azure,
and I fix Hyper-V host with two options
Option 1. Rebuild Hyper-V host on same machine,
Option 2. Build new Hyper-V host,
So, Can I failback a Virtual Machine from Azure to rebuilded Hyper-V host / new Hyper-V host.
Regards,
Yoshihiro KawabataHi Yoshihiro-san,
Thanks for the feedback Yoshihiro-san, we looking into building a similar feature.
Regards,
Anoop KV -
I have installed two virtual machines(win2k3 32bit and win2k3 64bit ) on Windows Server 2008 RC1 With Hyper-V Technologies (Beta) enterprise. Mouse is getting lost inside VM (using CTRL+ ATL + LEFT ARROW comes mouse control control in host OS).
Is there any setting to make mouse works? Insert Integration Serice setup Disk operation succeeds.all credits for mike_something
The problem is that the old mousedriver is hooked to the mouse device class.
To remove this dependency, go into the registry and navigate to the key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}
Remove the value msvmmouf from the UpperFilters Regvalue.
Reboot....
tadaaa!!
If you wish you can take out the drivers completely by deleting these registry hives completely :
The driver:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\msvmmouf
The Service:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\VPCMap
The CopyHook Shell Extension: ( for folder access )
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{30C14BA C-122C-42ED-B319-1139DBF48EB8}\InProcServer32
HKEY_CLASSES_ROOT\Directory\shellex\CopyHookHandle rs\VPCCopyHook
After a reboot you can delete the "Virtual Machine Additions" folder from program files...
Good Luck! -
How to Allow microphone and all hardware in Virtual Machine using Hyper-v
I have recently installed Windows 10 preview in Windows 8.1 pro.
How i can allow Microphone and all things in virtual machine from Hyper-v
Thanks
Thank You , Shan Ali KhanYou connect to the VM using the RDP Client - connecting to the IP / name of the VM over the network.
This enabled all device redirection by default.
You can possibly use Enhanced Session Mode as well. That again uses RDP under the hood.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat. -
Could not intialitize a virtual machine on Hyper-V Manager on a Windows 8.1 laptop
Hello,
I am receiving the following error when I try to start any virtual machine on Hyper-V Manager on a Windows 8.1 lap"color:black;">An error occurred while attempting to start the selected virtual machine(s):
Morillo-DC could not initialize (Virtual Machine ID …)
On the Event Viewer, I can see:
Event ID 3040
Log Name: Microsoft-Windows-Hyper-V-Worker/Admin
Morillo-DC could not initialize (Virtual Machine ID …)
Thank you in advance for any help.
Regards,
Alberto MorilloHello,
Hyper-V was working fine with Windows 8 before installing Windows 8.1 update.
On the Applications and Services Logs (Event Viewer), I found the following event:
Log Name:
Microsoft-Windows-Hyper-V-Worker-Admin
Source:
Microsoft-Windows-Hyper-V-Worker
Date:
12/16/2013 3:59:13 PM
Event ID:
3040
Task Category: None
Level:
Error
Keywords:
User:
NT VIRTUAL MACHINE\E304221F-2B11-4E29-B235-85A3F505EC48
Computer:
MorilloPC
Description:
'borrar' could not initialize. (Virtual machine ID E304221F-2B11-4E29-B235-85A3F505EC48)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />
<EventID>3040</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2013-12-16T19:59:13.665065300Z" />
<EventRecordID>114</EventRecordID>
<Correlation />
<Execution ProcessID="6364" ThreadID="3340" />
<Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>
<Computer>MorilloPC</Computer>
<Security UserID="S-1-5-83-1-3808698911-1311320849-2743416242-1223427573" />
</System>
<UserData>
<VmInitialize xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
<VmName>borrar</VmName>
<VmId>E304221F-2B11-4E29-B235-85A3F505EC48</VmId>
</VmInitialize>
</UserData>
</Event>
Thank you for your help.
Regards,
Alberto Morillo
SQLCoffee.com -
Type 2 Virtual Machine in Hyper-V will not PXE boot with WDS
Hi
Bit of a wierd scenario this but I'm doing a bit of a lab experiment kind of thing. The setup is as follows:
VMWare Workstation 10 with Windows Server 2012 R2 running as a virtual machine. In VMW10 I have a NAT network interface and a Bridging interface set to load with the virtual machine. These seem to work fine (although the NAT doesn't seem to want to connect
to the internet but that's why the bridging one is there in addition).
Server 2012 is configured with the following roles:
ADDS, DHCP, DNS, Hyper-V, Printer, WDS
I have correctly configured WDS to work on the same machine as DHCP and I can get PXE boot working with WDS on a Type1 Virtual Machine in Hyper-V using the Legacy Network adapter. My problem is when I try and PXE boot on a Type2 Virtual Machine (this type
is new in R2 and should eliminate the need for a legacy network adapter) using the same network interface that I used for the Type1 machine, I get an IP address from DHCP but WDS doesn't seem to respond. Instead I get the "PXE-E16: No Offer Received"
message. I have tried just about everything I can think of and spent the whole day trying to figure out why this is the case but came up with nothing. Has anyone else encountered this or can anyone shed any light on the matter?
Many thanks in advance"VMWare Workstation 10 with Windows Server 2012 R2"and "Server 2012 is configured with the following roles: ADDS, DHCP, DNS, Hyper-V, Printer, WDS"
Hyper-V is not supported to be run as a VM. It is a Type 1 hypervisor, which means it works on the bare metal. You have it running as a VM on a Type-2 hypervisor, so it has no access to the bare metal. Yes, VMware may have made it so some
things work in that environment, but it is not a supported (or tested) environment for Hyper-V.
.:|:.:|:. tim -
How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?
Hi ,
anybody know How to Install Hyper-V on a Virtual Machine in Hyper-V on windows 2erver 2012 R2 ?
I want to create lab but i couldn't I follow this article but the new VM is off
http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx
one of hyper-v component is not running
thanksPreviously it has been blocked to install Windows Server in the VM and then add the Hyper-V Role.
However, it has always been possible to install Hyper-V Server inside a VM. (the free Hyper-V Server SKU)
The Hyper-V Server VM is fully manageable, but it cannot start any VMs.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will. -
I want to create Virtual Machine used iso image (Oracle Enterprise Linux 5 update 3). I use one Shared pool master & Utility Server (in same machine), and 2 Virtual Machine Servers. I can't create Virtual Machine it display Error and log display My iso file doesn't exit! and Server Name display N/A.
and I have 1 question about topology
Once I create Server Pool I choose
- Shared Pool Master , Utility Server , Virtual Machine Server (by default) but when I add Server (choose Virtual Machine Server)
Then I deselect Virtual Machine Server in Server Pool
I'm not sure that Server Pool can be only Shared Pool Master and Utility Server OR Shared Pool Master , Utility Server , Virtual Machine Server (by default)
Thank you so much
Fujimaru
Edited by: user8810641 on 31 ส.ค. 2553, 2:59 น.Hi Fujimaru,
a.) In each server pool, each server can have different responsibilities. In a server pool there exists exactly one server pool master, multiple (at least one) utility servers and multiple VM servers.
These roles can be on one host or distributed. So yes one server with all three roles is possible (that is the standard if you only have 1 server in your server pool).
b.) There are 2 types to create virtual machines from installation media.
If you create a PVM (paravirutalized guest) which is recommended for Linux, then you have to use an NFS share with the .iso file extracted, and cannot use the ISO file directly.
If you create a HVM (hardware virutalized guest) you can use an ISO file.
However this ISO must be imported first into the OVM Manager (Under Resources, ISO Files).
For this the ISO have to be placed in a subfolder under the iso_pool folder (in an OVS repository, e.g. /OVS).
Sebastian -
I can not create virtual machines =(
hi, I again
I can not create virtual machines using the oracle manager, andalusia creandolas time this occurs, an error which generates two logs. These are:
1.Get VNC Port: (XMachineX):
failed:<Exception: failed:<Exception: xm list 98_XP_es=>Error: Domain '98_XP_es' does not exist. > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 196, in xen_get_vnc_port vm_id = xen_get_vm_id(vm_path) File "/opt/ovs-agent-2.2/OVSXXenStore.py", line 35, in xen_get_vm_id stdout = run_cmd("xm list %s" % vm_name) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteXenStore.py", line 45, in get_vm_vnc_conn raise Exception(rs)
2. ParaInstallation: (XMachineX):
failed:<Exception: failed:<Exception: virt-install paravirt name=98_XP_es ram=512 vcpus=1 mac=00:16:3E:73:7D:45 bridge=xenbr0 file /OVS/running_pool/98_XP_es/System.img file-size=12 vnc vnclisten=0.0.0.0 vncpasswd=/tmp/tmpzYrJVG noautoconsole location=nfs:linuxvm:/el/EL5-x86 keymap=en-us=>ERROR: Invalid NFS location given: [Errno 2] No such file or directory: '/var/lib/xen/xennfs.ZceAYm/images/xen/vmlinuz' > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenVMInstall.py", line 306, in xen_install_vm_para run_cmd(cmd) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 184, in install_vm_para else: raise Exception(rs)
thanks for any help; as I am new in thishi,
i use vm 2.1.5, this upgrade from 2.1.2
but i can't create vm
err:
failed:<KeyError: 'vcaps'> StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVMInstall.py", line 77, in install_vm_hvm l = [ h for h, srv in cds.db_srv.items() if not "hvm" in srv["vcaps"] ]
help me plz... -
I want to deployment virtual machine by Hyper-V with windows 2012 server
I want to deployment virtual machine by Hyper-V with windows 2012 server. So I need step by step guide line with screenshot and video link.
Thanks,
QamrulHi Qamrul,
Additionally here is the link for hyper-v getting started guide (server2008 ) :
http://technet.microsoft.com/en-us/library/cc732470(v=ws.10).aspx
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Harddisk damage after sleep mode while running 3 virtual machine on Hyper-V
Hi, I have laptop with specification Intel Core i3, 8 Gb ram, 500 Gb 5400 rpm Hdd. I am running 3 virtual machine on that laptop using Hyper-V. Each vm have 1 Gb ram and 1 core processor. I left the laptop for
lunch. After comeback from lunch I see that laptop on sleep mode. I press the power button to turned back on the laptop, after the power is on, the harddisk won't boot and the disk become damage. Is there anyone could explain why that is
happen? Thanks :)Hi Budi-Kurniawan,
Based on your description, this issue shouldn’t be caused by current configurations on your environment (as
you described: wake up from sleep mode while run 3 virtual machine on Hyper-V). I guess that there are some troubles in this harddisk. As Dave mentioned, please contact with laptop manufacturer and confirm it. I believe we will get a better assistance there.
Best regards,
Justin Gu -
Hello All,
I am the Systems Admin for a production box running SQL Server 2008 R2. I have been ask to do the following and and trying to figure out if it's even possible.
1. The Production Server is named ProductionA
2. Create 3 Administrator accounts on ProductionA each with access to the SQL Server instance on ProductionA. Use Standard SQL Server login for credentials. i.e. Username/Password and assign the role sysadmin.
3. Install 3 Virtual Machines on ProductionA each with Windows 2008 R2 64 bit operating system.
4. For each Virtual Machine, Install SQL Management Studio and write down the IP Address assigned to each VM.
5. Using Remote Desktop Connection, connect to each virtual machine to be able to manage the SQL Server.
Is this possible? And, why am i doing it? Because I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA. Since I have to allow them to RDC into the box
to manage the SQL Server, I figure why not create a separate VM for each one of them and they can RDC into those instead.
Does this make any sense?
Any tips are greatly appreciated. The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
Thanks for your help.
MBecause I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA. Since I have to allow them to RDC into the box to manage the SQL Server, I figure why not create
a separate VM for each one of them and they can RDC into those instead.
Does this make any sense?
Any tips are greatly appreciated. The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
Thanks for your help.
M
Hello M,
Since you dont want the 3 guys to have access to Production machine A.You can install SQL Server client .By client i mean SQL server management studio(SSMS) on there local desktop and then create login for them in SQL Server.Open port on which your SQL server
is running for three of the machines so that they can connct.Now with SSMS installed on each machine each can connect to SQL server from there own machine.
I would also like you to be cautious with giving Sysadmin privilege to all three of them ,first please note down what task they would do and then decide what rights to be provided.
Your option will also work but you need to create 3 VM for that .Which is more tedious task.
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
After I reinstalled Windows Server 2012 R2, I cannot attach my virtual disk
Hello,
After I reinstalled Windows Server 2012 R2, I cannot attach manually my virtual disk "MOVIES" :
http://windowsitpro.com/systems-management/q-after-i-reinstalled-windows-server-2012-my-storage-spaces-are-no-longer-writabl
When i try this command : (http://technet.microsoft.com/fr-fr/Library/hh848641.aspx)
PS C:\>Connect-VirtualDisk –FriendlyName "MOVIES"I'have this error :PS C:\Windows\system32> Connect-VirtualDisk -FriendlyName "MOVIES"
Connect-VirtualDisk : Failed
Au caractère Ligne:1 : 1
+ Connect-VirtualDisk -FriendlyName "MOVIES"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/...SFT_VirtualDisk) [Connect-VirtualDisk], CimE
xception
+ FullyQualifiedErrorId : StorageWMI 4,Connect-VirtualDiskI have the same problem with right clic attach on the manage interfaceAll my disks are OKI d'ont understand why i have a problemCould' you help me Tanks in advance for your helpRegards,NicolasHello Elton,
I tried
numerous powershell
command to do anything
but I'm
lack of ideas.
All my disk are OK :
but
how can I do to make a
CheckDisk on a virtual disk because
there is no letter corresponding to the volume
It's only when i try to connect VirtualDisk to my Server
the problem happens ...
I try to repair the virtualDisk with powershell command :
PS C:\Windows\system32> Repair-VirtualDisk -FriendlyName MOVIESIt's works but it takes less than 2 seconds ...There is no solution?
I lost all my data? Can i try to delete virtual disk and recovery data with a recovery program,
is
that it might work?
Thanks you in advance for your help
Regards,
Nicolas -
No longer able to view virtual machine from Hyper-V Manager
From the Windows 2008 R2 host machine, I can run the Hyper-V Manager and 'connect' to the Virtual Machine. The window pops up with nothing but a gray background (clearly the same gray background of the log in screen), but no 'ctrl-alt-delete' prompt
and no ability to log in. This was previously working fine.
Note that I can still make a Remote Desktop connection to the Virtual Machine and it works fine.
Thanks.Hi,
I never seen this issue before, base on my experience, it may cause by your AV soft block some critical components of Hyper-V host, please try the following exclude specific
directories or process with your AV soft.
•Default virtual machine configuration directory (C:\ProgramData\Microsoft\Windows\Hyper-V)
•Custom virtual machine configuration directories
•Default virtual hard disk drive directory (C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks)
•Custom virtual hard disk drive directories
•Custom replication data directories, if you are using Hyper-V Replica
•Snapshot directories
•Vmms.exe (Note: This file may have to be configured as a process exclusion within the antivirus software.)
•Vmwp.exe (Note: This file may have to be configured as a process exclusion within the antivirus software.)
The related KB:
Virtual machines are missing, or error 0x800704C8, 0x80070037, or 0x800703E3 occurs when you try to start or create a virtual machine
http://support.microsoft.com/kb/961804/en-us
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
IP Virtualization not working in Virtual Machine on Hyper-V
Hello everyone. Have such issue. We are using cisco agent desktop for our users. For working in Terminal server environment it needs dedicated IP for each program session. Currently we'are using hardware server with Windows Server 2008 R2 SP1 with RDS.
We've added IPpool in registry for Virtualisation per program. It works fine. Now i'm trying to create a virtual machine with WS 2012 R2 with the same configuration(Hyper-V 2012 R2). The problem is it doesn't work. When creating new session or launching new
program i get APIPA address or get nothing at all. Will it work or still this functionality doesn't work?have you setup the IP virtualization GPOs in the new environment?
computer configuration > administrative templates > windows components > remote desktop services > remote desktop session host > application compatibility
I'm not sure what regkeys you have implemented but you may want to see if they still apply to 2012 R2, you might have to remove them
Maybe you are looking for
-
Lenovo IdeaPad G580 CTRL + SHIFT
Hello, I have Lenovo IdeaPad G580 Dark Metal. Everything works OK but everytime, when I press Left CTRL + Left Shift so I hear some sound (something like: beep). What does it mean? Can I turn it off? It's irritating when I playing some game. Thanks f
-
Will apple repair a 2G if not under any kind of warranty?
Bought an 2G on ebay that was frozen during a jailbreak but no matter what I did it still will not restore just fails.
-
Hello, I would like to sort the payment list by name of the vendor(lfa1-name1) and not with the number of lifnr (lfa1-lifnr). Actually the list is sort by lfa1-lifnr. I dont' would like to change the display just the sorting. Can you help me ? best r
-
Hi all, I am looking for the function module that may be used to create Report Programs/Include files. I am aware of the INSERT REPORT statement. But it creates a 'Report Program' of Application type 'Basis'. I want to create an Include file of other
-
Where is the HYPED CC October Update? [CC fonts offline unless you sign in]
I trust that I find you well in all aspects of life. Adobe has since promised an October update roll out which seems to be out of reach despite demos at IBC. Does anyone know how to update this. Furthermore the Cloud fonts are always offline defeatin