Convert W7 VHD to WIM

hi all.  I have created a w7 ultimate vhd and have booted to it and have customized the system, etc.  I am trying now to use imagex (in the waik x86, thats my system, program group location) to capture the vhd w7 and output it as a wim file. 
...PETools\x86>imagex.exe /compress maximum /capture v: c:\install.wim "Windows Ultimate"   where v: is the drive letter assigned after i attach the vhd and c: is the drive location where I want to save the wim (it is my system drive
i am currently booted to).  There is 40gb of space on c: and the vhd is 35gb.  It goes through a "folder exluded by default" pass and scans files and directories of v: but then stops with the "error imaging drive [v:\]  the parameter
is incorrect" msg. 
I have searched for clues but found none.  Any ideas??
cheers

Just now ran on to this situation and thought I would share for future IT guys!
You can create VHD several different ways, we happen to use Disk Manager that is built into the Windows 7 Pro system(which was a VM.)
We then attached it using the local System's Disk Manager and it assigned it a drive letter. This is were imagex comes in hadny. The error above is in the command line:
imagex.exe /capture G: C:\test\winimg.wim "TestVM" /compress fast
That was it for the capture, installed the image into a new system and worked great. Note put the imagex.exe program into you system32 directory - really makes life easier than searching for it! :)
Now we had to boot into safe mode so the system could adapt to the drivers, but rebooted system an replaced missing drivers and done. A virtual machine is now a physical one!
Hope this helps anyone else out there.

Similar Messages

  • What is the proper way to convert a VHD from dynamic to basic without losing data?

    Hi,
    What is the proper way to convert a VHD from dynamic to basic without losing data?
    Our VM is running Windows Server 2008 R2 SP1
    Thanks in advanced

    Hi efebo,
    "After you convert a basic disk to a dynamic disk, you cannot change the dynamic volumes back to partitions. Instead, you must delete all dynamic volumes on the disk and then use the
    Convert To Basic Disk command. If you want to keep your data, you must first back it up or move it to another volume. "
    Please refer to following link:
    http://technet.microsoft.com/en-us/library/cc731274.aspx
    You can try to backup the dynamic volume via Windows Server Backup then restore it to a new basic VHD file ( the space is recommended to be   larger than or equal to the old one ) .
    Hope it helps
    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.

  • How to convert VHDX to VHD file format on windows 8 / Windows server 2012?

    Here is an article to describe how to convert virtual hard disk VHDX file format to VHD 
    http://anuraggawande.blogspot.in/2012/10/vhdx-to-vhd-conversion.html

    Hi,
    Thanks for sharing the web link!
    You help other community members who facing similar problems.
    Thanks for your contribution to Windows Server Forum!
    To convert VHD format, you can also use Convert-VHD comlet. The Convert-VHD cmdlet converts a virtual hard disk file by copying the data from a source virtual hard disk file to a new virtual hard disk file of a specified format and version type. The format
    is determined by the file extension of the specified files, either .vhdx or .vhd. Conversion is an offline operation; the virtual hard disk must not be attached when the operation is started.
    For more information please refer to following MS articles:
    Convert-VHD
    http://technet.microsoft.com/en-us/library/hh848454.aspx
    Windows Server 2012: Convert VHD to VHDX using Hyper-V Manager
    http://blogs.technet.com/b/aviraj/archive/2012/05/06/windows-server-2012-convert-vhd-to-vhdx-using-hyper-v-manager.aspx
    Using PowerShell to Convert a VHD to a VHDX
    http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/10/03/using-powershell-to-convert-a-vhd-to-a-vhdx.aspx
    PS - Convert VHD
    http://gallery.technet.microsoft.com/scriptcenter/1dd3c524-e4e6-44cd-9573-406151237139
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Lawrence
    TechNet Community Support

  • Converting to fixed vhd - large disk

    Hi,
    Have a dynamic vhd of 1.7 TB - currently expanded to 1.4 TB.
    The volumes on the SAN is 2TB.
    Need to convert the dynamic vhd to fixed vhd but as you can see there is not enough Space on the SAN volume.
    Any suggestion on how this may be solved without loosing the huge amount of data on the disk?
    Regards,
    Geir Tore
    Regards, Geir Tore Johansen EmmaEDB AS www.emmaedb.no

    Hi,
    In addition  , convert-vhd applies to windows 8 and later , if you are using 2008r2 please use GUI to convert it .
    Also you can refer to following link regarding using powershell :
    http://blogs.technet.com/b/tonyso/archive/2009/08/18/hyper-v-how-to-convert-a-vhd-using-script.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.

  • SCCM's OSD (not MDT): Task sequence can be tweaked into imaging Windows+VHD Native Boot, but can it go all the way and deploy?

    Hello All,
    What I am trying to do is use SCCM's own OSD Task Sequence / Windows PE to deploy an operating system that boots using VHD Native Boot. (C:\ = VHD File  with Windows, D:\ Data drive with BCDBoot).
    MDT 2013 Can do it I've been told, but I am putting off MDT until Windows 10 if I can get away with it.
    TechNet VHD Native Boot on Windows 8.1:
    http://technet.microsoft.com/en-us/library/hh825689.aspx
    http://technet.microsoft.com/en-us/library/hh825691.aspx
    The good news is it is working up to the "Apply Operating System" phase, but that apply operating system phase is reported as an error even though it completes successfully. It can't clean up the SMSTS folder it's looking for on the C:\ because
    it's been moved over to the D:\ by a diskpart script. We are left with the deployment working but requiring IT staff to deal with the OOBE Personalization wizard and adding each PC to the domain manually. From that point on the SCCM client can do the rest,
    which works for US before we upgrade to Windows 10 with utilizing MDT.
    I am not talking about deploying an OS to a VHD file and putting that file on a network share i.e.
    http://blogs.technet.com/b/configurationmgr/archive/2013/10/31/new-in-system-center-2012-r2-configuration-manager-deploying-an-operating-system-to-a-virtual-hard-drive-vhd.aspx
    I reported getting the diskpart script working first here:
    https://social.technet.microsoft.com/Forums/en-US/ff124f09-1d2e-4fc4-a5b6-63b683f3d208/native-vhd-boot-deployments-from-sccm-2012-r2?forum=configmanagerosd
    Here it is:
    rem work around any USB disk left in or any CDROM detected by PE as drive D
    select volume D
    assign letter=F noerr
    rem select the formatted volume and reassign it's drive letter
    select volume C
    assign letter=D
    rem create and setup VHD file
    create vdisk file=D:\DEV_WIN81.VHD maximum=250000 type=expandable
    select vdisk file=D:\DEV_WIN81.VHD
    attach vdisk
    create partition primary
    active
    format FS=NTFS quick label="Developer Win81 VHD"
    assign letter=C
    rescan
    exit
    (type=fixed is better for performance - we'll surely activate when we have dual boot 8.1 / Windows 10 later for the Win10 VHD's)
    The Task Sequence looks like this:
    I'd like to add a few more steps after apply operating system if I can, but I have to resolve this error with "Apply Operating system before I can go further."
    Question:
    Can an OSD guru tell me if there are any Task Sequence Variables we could throw at this to make the Apply Operating System sequence complete without error so we can do all SCCM OSD Deployment steps?
    If we can, then someone (not me) gets to add a new TechNet blog post about this being possible. It's my understanding presently that only MDT can support deploying WIM files into VHDs on Workstations, that boot them.
    The install image was created using dism to convert a VHD from a Hyper-V host into a wim. I know I'm meant to use SCCM to capture it, but I don't think that's causing this problem because when we are deploying from that image to a HDD without VHD we don't
    get any issues.
    I'm only allowed enough characters to paste the tail end of the apply operating system phase only:
    <![LOG[Execution engine result code: Success (0)]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:929">
    <![LOG[Cleaning Up.]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:675">
    <![LOG[Removing Authenticator]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:686">
    <![LOG[shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1660)]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="ccmutillib.cpp:1660">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="18:29:37.691-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:2329">
    <![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="ccmfile.cpp:1056">
    <![LOG[hr, HRESULT=80070091 (e:\nts_sccm_release\sms\framework\core\ccmcore\ccmfile.cpp,1218)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="ccmfile.cpp:1218">
    <![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="ccmfile.cpp:1218">
    <![LOG[(dwRet = ::SetNamedSecurityInfoW ((WCHAR*) pszObjectName, objectType, OWNER_SECURITY_INFORMATION, pOwnerSID, NULL, NULL, NULL)) == ERROR_SUCCESS, HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6675)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:6675">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6675">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6687">
    <![LOG[SetObjectOwner (szFName, SE_FILE_OBJECT, c_szAdministrators), HRESULT=80070005 (e:\qfe\nts\sms\framework\tscore\utils.cpp,6772)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:6772">
    <![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="3" thread="960" file="utils.cpp:6816">
    <![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:6900">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="resolvesource.cpp:506">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="resolvesource.cpp:508">
    <![LOG[Deleting volume ID file D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="resolvesource.cpp:506">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="resolvesource.cpp:508">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="environmentlib.cpp:910">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="commandline.cpp:228">
    <![LOG[Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="commandline.cpp:731">
    <![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.738-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="commandline.cpp:827">
    <![LOG[==========[ TsProgressUI started in process 8012 ]==========]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:330">
    <![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="0" thread="8040" file="winmain.cpp:332">
    <![LOG[Unregistering COM classes]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:204">
    <![LOG[Unregistering class objects]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:495">
    <![LOG[Shutdown complete.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TsProgressUI" context="" type="1" thread="8040" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="commandline.cpp:1123">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:2903">
    <![LOG[Sending success status message]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:784">
    <![LOG[MP server http://OUR-SCCM.ourcompany.com. Ports 80,443. CRL=false.]LOG]!><time="18:29:37.754-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:5881">
    <![LOG[Setting authenticator]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="utils.cpp:5903">
    <![LOG[Set authenticator in transport]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:7734">
    <![LOG[Sending StatusMessage]LOG]!><time="18:29:37.785-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="libsmsmessaging.cpp:4023">
    <![LOG[Setting message signatures.]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:1295">
    <![LOG[Setting the authenticator.]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:1325">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: OUR-SCCM.ourcompany.com:80 CCM_POST /ccm_system/request]LOG]!><time="18:29:37.801-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="libsmsmessaging.cpp:8604">
    <![LOG[Request was successful.]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="libsmsmessaging.cpp:8939">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811)]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="0" thread="960" file="utils.cpp:811">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:811">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="2" thread="960" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tsmanager.cpp:805">
    <![LOG[Finalize logging request ignored from process 856]LOG]!><time="18:29:37.832-420" date="12-26-2014" component="TSManager" context="" type="1" thread="960" file="tslogging.cpp:1737">
    <![LOG[Process completed with exit code 0]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="commandline.cpp:1123">
    <![LOG[Task Sequence Manager returned code 0x00000000]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="tsmediawizardcontrol.cpp:2180">
    <![LOG[Exiting with return code 0x00000000]LOG]!><time="18:29:37.863-420" date="12-26-2014" component="TSPxe" context="" type="1" thread="592" file="tsmbootstrap.cpp:1238">
    <![LOG[Execution complete.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="bootshell.cpp:693">
    <![LOG[hMap != 0, HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentscope.cpp,493)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentscope.cpp:493">
    <![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,335)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentlib.cpp:335">
    <![LOG[this->open(), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\environmentlib.cpp,553)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="environmentlib.cpp:553">
    <![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\utils.cpp,811)]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="utils.cpp:811">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="2" thread="760" file="utils.cpp:811">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="2" thread="760" file="utils.cpp:842">
    <![LOG[End program: ]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="bootshell.cpp:725">
    <![LOG[Finalizing logging from process 752]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1741">
    <![LOG[Finalizing logs to root of first available drive]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1583">
    <![LOG[Successfully finalized logs to D:\SMSTSLog]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="1" thread="760" file="tslogging.cpp:1640">
    <![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="18:29:37.879-420" date="12-26-2014" component="TSBootShell" context="" type="0" thread="760" file="tslogging.cpp:584">
    MCSE,MCNE,SCO,Sair Linux/GNU, Open source-enthusiast.

    I have already set it to FALSE. The solution to this will be some different OSD Task Sequence variables or a statement that it can't be made to work.
    I believe that setting defines what volume will be the BOOT / OS Drive Letter. Some people were getting D:\WINDOWS as their boot volume drive letter. Setting to true means whatever was the System Drive letter (usually C) in the image will remain as such
    after it was was applied, setting it to false will make the system have the same drive letter arrangement as what Windows PE detects. In my case I set it to false so that no matter what the new VHD file setup as drive C will be the system drive. I'll set it
    to true on the next deployment but I expect there to be no difference, because in both PE and the WIM the installation volume is the C:.
    We are talking about the DRIVE LETTERS Windows PE SCCM OSD is using for it's temporary files - and how we can manipulate these locations using OSD Task Sequence Variables, so the Apply OS doesn't try and clean up files that are not there
    - and fail with an error if you have added a VHD Native Boot volume.
    This OSDPreserveDriveLetter setting isn't having any effect on the problem here.
    I believe that Format step is setting some task variables used by the OSD Deployment process - telling it where to store it's temporary files. However between the Format Disks and Apply operating system steps the OSD Task Sequence isn't picking up on the
    fact what was the C:\ after Format HDD step is now the D:\ .
    A developer who has an understanding of how the OSD boot process executes in order would be able to see what's going on here.
    MCSE,MCNE,SCO,Sair Linux/GNU, Open source-enthusiast.

  • How to use a VHD file in VMWare

    I have received a backup of the VMware files that is a vhd file. is there a way I can import these into VMware so I can view and use the files contained within the vhd file. I am running VMware XP mode in Windows 7. Please help.

    Hi Annie and thanks for posting.
    You can use a third party tool named win image to convert the VHD file (Hyper-Virtual Disk) to VMDK (VMware Virtual Disk). then attach the VMDK to your VMware (Workstation or VSphere) VM and view files.
    Full tutorial can be found here :
    http://www.mydigitallife.info/how-to-convert-and-import-vhd-to-vmdk-vmware/
    I hope this helps.
    Farhad

  • How to convert offline ESXi 5.5U1 virtual machines to Hyper-V?

    Following on from my
    earlier question, I am having trouble working out how to convert my ESXi VMs to Hyper-V. Am I doing something really unusual?
    I have a ESXi 5.5U1 server at home for my home test lab. I want to convert this to Hyper-V Core 2012 R2. Target storage layout will look like this:
    Currently under ESXi 5.5, I don't have the C drive (using a USB flash to boot), and the RAID-5 and RAID-0 arrays are two separate VMFS volumes.
    I don't have swing kit to migrate, I have to repurpose existing hardware. I do have my Windows 8.1 workstation but that only has 900 GB free space.
    Some of my VMs have vmdks greater than 2TB.
    My plan was to
    In ESXi before rebuilding, move my VMs from the RAID-5 vol to the RAID-0 vol and then delete anything that wouldn't fit that's not strictly necessary from the RAID-5 volume.
    Shutdown ESXi and remove the USB flash drive.
    Install Hyper-V onto the System disk as C drive.
    Format the RAID-5 volume as NTFS (64k) and create a mount point into the C drive as C:\RAID-5. Put my VM disks in C:\RAID-5\VirtualDisks and the VMs in C:\RAID-5\VirtualMachines.
    Somehow convert the VMs from the RAID-0 VMFS volume to Hyper-V VMs on the RAID-5 NTFS volume.
    My confidence is low because I have tried to convert a new test machine created in ESXi 5.5 to a spare test Hyper-V 2012 R2 with the MVMC 3.1 converter and it failed. I also tried with the free 5nine converter and that failed too. I tried with and without
    the Guest Additions installed. Both conversions failed. I should mention I am in a workgroup, not a windows domain.
    Please help!

    May i inquire on why those two products failed? I had some struggles with both of them but eventually got things worked.
    Also you should try this one
    Starwind V2V convertor, it has worked for pure offline conversions for me as well. That was years ago, so hopefully it still works.
    Sure, here is the log from an attempt to convert a brand new VMware virtual machine which has Windows Server 2012 R2 Standard in it with no VM tools. http://pastebin.com/xdhzZ7tx
    Here is the log from an attempt to convert a Lubuntu linux VM: http://pastebin.com/Nc0E8Bip
    Both conversions attempted with MVMC3.1. Common error between them is
    12/24/2014 08:25:36 +00:00  [7]  VERBOSE:    Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException: The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the
    workspace folder path. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be
    translated.
    I retried using 5nine converter and it worked this time, not sure why. Will not try a test with a BSD based distro (pfSense) and Linux.

  • Extract vhd / disk from image?

    Is there a way to extract the os / data disks from an azure image so it can be mounted as regular disks on another azure vm?
    For example, I capture an image of a vm. Later, I want to extract an earlier version of a file that exists on a disk in that image. Right now, I would create a new vm from that image, detach the data disk, delete the new vm, attach the data disk to another
    vm, and finally access the file. Is there a way to re-create the disks stored in the image without going through the vm-creation bit?
    As mentioned above, for data disks, I can detach it from a vm and attach it to another vm. But is there a way to do the same with the os disk? When I delete a vm and tell it to keep the attached disk, it doesn't seem to apply for the os disk. Or at least
    I don't know where to look for it. For example, I take an image of a vm. Later the vm no longer boots. Instead of deleting the vm and creating a new vm from image, a less drastic approach is to shutdown the vm, detach the os disk, attach the os disk from
    the image, and try booting the vm. Is this possible? I would normally do this on a <cough> competitor's cloud service.

    It looks like every time I capture an image of a vm, a snapshot is taken of each disk and then a vhd object is also created. So can I convert the vhd's to a disk without going through the create-a-vm-from-image process? Going even further, if I just took
    snapshots of my vm's, can I turn those snapshots directly into disks?

  • Microsoft Virtual Machine Converter 3.0 throws Cannot Enumerate Disk ERROR

    I am running the Microsoft Virtual Machine Converter 3.0 to migrate Windows 2012 R2
    SP1 virtual machine from VMware on to Microsoft Azure. I followed all the pre-requisites of the tool. But, when I run the MVMC 3.0 tool it fails in the Analyze Disk stage, and displays this error below:
    10/14/2014 16:24:18 -07:00 [3] VERBOSE: Analyzing disk C:\azure_storage\MVMC\0\disk-1.vhd
    10/14/2014 16:24:23 -07:00 [3] VERBOSE: Disk C:\azure_storage\MVMC\0\disk-1.vhd is bootable
    10/14/2014 16:24:30 -07:00 [3] VERBOSE: Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException:
    The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the workspace folder path. ---> Microsoft.Accelerators.Mvmc.Engine.VolumeMvmcException: Could not enumerate volume with disk number "1".
    at Microsoft.Accelerators.Mvmc.Engine.Volume.WinVolumeFinderService.GetWinPaths(UInt32
    diskNumber)
    at Microsoft.Accelerators.Mvmc.Engine.InjectionRejection.FirewallUpdater.UpdateFirewallRules(IOwnedVirtualDisk
    virtualDisk, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PostConversionTouchupService.UpdateFirewallRules(String
    bootDiskPath, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    --- End of inner exception stack trace ---
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    10/14/2014 16:24:30 -07:00 [3] EXCEPTION: Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException:
    The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the workspace folder path. ---> Microsoft.Accelerators.Mvmc.Engine.VolumeMvmcException: Could not enumerate volume with disk number "1".
    at Microsoft.Accelerators.Mvmc.Engine.Volume.WinVolumeFinderService.GetWinPaths(UInt32
    diskNumber)
    at Microsoft.Accelerators.Mvmc.Engine.InjectionRejection.FirewallUpdater.UpdateFirewallRules(IOwnedVirtualDisk
    virtualDisk, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.PostConversionTouchupService.UpdateFirewallRules(String
    bootDiskPath, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    --- End of inner exception stack trace ---
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.ConvertToDrives(IMachineConversionRequest
    machineConversionRequest, IPostProgress& provisionHyperVPhase, IVirtualMachine& sourceVM, TaskContext taskContext)
    at Microsoft.Accelerators.Mvmc.Engine.ServiceLayer.Internal.MachineConversionService.<>c__DisplayClass3.<ConvertToDrivesAsync>b__2()
    at System.Threading.Tasks.Task`1.InnerInvoke()
    at System.Threading.Tasks.Task.Execute()
    10/14/2014 16:24:30 -07:00 [3] Exception caught : Microsoft.Accelerators.Mvmc.Engine.VolumeMvmcException:
    Could not enumerate volume with disk number "1".
    at Microsoft.Accelerators.Mvmc.Gui.Model.ConversionModel.ConvertGuestMachine()
    at Microsoft.Accelerators.Mvmc.Gui.ViewModels.Machine.MachineCompletionViewModel.OnWorkerDoWork()

    Same issue here. We DID have spanned disk over 2 x VMDKs but I have fixed that issue now and problem persists. The one thing I have yet to try is installing VMWare Tools - they were uninstalled on a previous failed conversion and I am getting an error saying
    "VERBOSE:    Microsoft.Accelerators.Mvmc.Engine.DiskCopyFailureException: The virtual disk(s) attached to the source virtual machine were not successfully converted to VHD(s) and copied to the workspace folder path. ---> Microsoft.Accelerators.Mvmc.Engine.DisablingNonWindowsGuestVHDException:
    The virtual hard disk C:\Temp\MVMC\0\disk-0.vhdx on which you are trying to disabling VMWare tools, is not a valid Windows-guest OS virtual hard disk. (Are you trying to disable a virtual hard disk with Linux-guest or other OS in it?)"
    I am about to install the tools and try again under advice from our partner

  • Error 1401 deploying Template in SCVMM 2012 R2 RU2

    I got the following error when i deploy a new created template with App Controller and VMM 2012 R2 RU2.
    1401–SelfServiceActionNotAllowed
    The template is a converted vhd from wim with Powershell. It is located on an library server in VMM. I can choose the template in App Controller and after 3 to 10 Seconds the job fails.
    If i deploy an template that was imported long time ago (before install of 2012 R2 RU1) i´m able to complete deployment.
    Can someone help with some information?!

    I found the Solution by my self in the following link: TechNet Library
    When you create templates for self-service users, be aware of the following changes in VMM:
    ◦ In VMM, the concept of a "self-service owner" for a template no longer exists. A template that is to be shared by members of a self-service user role should have no owner assigned. When a template with no owner is assigned to a self-service user role that has the Author, Deploy, or Deploy (Template Only) action assigned to it, all members can use the template. However, when an owner is assigned to the template, only the owner can use the template
    With an Update of VMM they changed the behavior. I Changed the Owner to a Global AD-Group and now i can sucessfull deploy templates.

  • G510 install Win 8.1 on a smaller SSD. What files to copy.

    Yesterday I got a new G510. The HD is not in good condition after dropping it.
    I wanted to swap the 1TB HD 5200 rpm  anyways for my 120 GB SSD.
    I can still get at the files on the original HD. What files and/or partitions do I need to copy to the SSD to get a clean Win 8.1 installation after inserting it in the Laptop?  Right now I have both the old HD and the new SSD on another pc. So I can use Reflect.
    Please give the name of those partitions. Not the Drive letter. Because the drive is outside the laptop and the drive letters are different in a system with more HD's.
    What is the minimum of files to copy to get a basic Win 8.1 without bloatwear?
    Thanks,
    Eric

    hi EricLagerstrom,
    The partition table of the G510 is most likely similar to this picture.
    AFAIK, it will not be an easy task to perform a clean installation of windows 8.1 on the SSD using the recovery image on the 1TB HDD as its a preconfigured OEM image (OS + Lenovo drivers, apps, and other preloaded softwares).
    You can try to look into the recovery partition (last partition - approx 20GB), look for an install.esd file, convert it to install.wim and rebuild it without the preloaded softwares and try to re-image it on the SSD.
    - Link to picture
    As an alternative, you can clone or migrate the HDD to the SSD and just uninstall the softwares that you don't like (without affecting system functionality).
    Guides:
    OS Migration (for Samsung SSD)
    OS Migration (using Paragon Backup & Recovery Home)
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Hyper-V host server upgrade from Server 2008 R2 Enterprise SP1 to Server 2012 R2 Datacentre

    We are about to upgrade our Hyper-V host servers from Server 2008R2 Enterprise SP1 to Server 2012 R2 Datacentre to take advantage of the latest Hyper-V features.
    This only concerns the host servers and not the guest VMs running on the hosts (they will be upgraded next year).
    This is what is running on our host servers:
    Host 1
    File,print & issuing CA server
    Exchange 2010
    SharePoint 2010
    Quickbooks server
    Domain controller 1
    Offline CRL CA
    Host 2
    SQL 2008
    Forefront TMG 2010
    Domain Controller 2
    Windows 7 client
    With this is mind, I have drafted a rough action plan as follows:
    Create a list of all file locations for VM memory, snapshots, virtual memory and Hyper-V config files
    Document all existing system settings
    Gather server information, download drivers, RAID controller and other boot drivers & firmware updates (in case the in-place upgrade fails)
    Test all software media
    Copy all VMs onto external data storage (NAS drive)
    As part of the upgrade process we will redistribute some hard drive space i.e.
    expand them to their new sizes and verify the data integrity of copied VMs by powering up each VM in a test environment
    Wipe and adjust the sizes of the host partitions to accommodate the expanded VMs
    Perform an in-place upgrade to Server 2012 R2 Datacenter
    Check EV, services etc
    Change the default locations for VM memory, snapshots, virtual memory and Hyper-V config files
    Upgrade Anti-virus and other system software
    Test the system
    Are there any glaring omissions? Does anyone have any tips they can give me?

    Hi Marco,
    always do a fresh Installation of your hyper-V Hosts, you could end up doing a lot of Troubleshooting with Drivers,Addons etc.. new Installation ist way faster.
    Depending if you have a Cluster or Standalone Servers there are different ways to do it.
    When you have installed your 2012 R2 Hyper-V Server you just can Import the VMs from the new Location.
    As far as i know VMs with snapshots are not supported, so you have to remove them before doing that move and commit the changes to the vhd files, the VM need to be offline on 2008R2 to do that.
    You do not Need to Export the VMs on 2008R2, just copy it, normaly you should have all Files of a VM in one Folder.
    A working Backup is always your friend on such Tasks.
    When the VMs are running on Hyper-V 2012R2 do not forget to Update the Integration Services.
    Make Sure your Servers Hardware are still supported with 2012R2, see Server Catalog and Support Matrix of the Vendor.
    And last one, where possible and supported convert the VHDs to VHDx Disks, after testing the first boot of the VM.
    Udo

  • Batch extract file resolution from image xmp file

    Hi all,<br />I am looking for a batch process that extracts the X & Y pixel dimensions for a bunch of TIFF files.<br />I find the data in the XMP file when I save out the file:<br /><rdf:Description rdf:about=''<br />  xmlns:tiff='http://ns.adobe.com/tiff/1.0/'><br />  <tiff:XResolution>3000000/10000</tiff:XResolution><br />  <tiff:YResolution>3000000/10000</tiff:YResolution><br />  <tiff:ResolutionUnit>2</tiff:ResolutionUnit><br /> </rdf:Description><br /><br />I do not know if I need to start with the XMP file or if I can start with the source TIFF file.<br />Ultimately I would like to save the dimensions to a database.<br />Any help would be great

    It looks like every time I capture an image of a vm, a snapshot is taken of each disk and then a vhd object is also created. So can I convert the vhd's to a disk without going through the create-a-vm-from-image process? Going even further, if I just took
    snapshots of my vm's, can I turn those snapshots directly into disks?

  • Live migration of domains with OVMM

    Can anybody point out the reference for performing live migration of domains through OVM Manager instead of CLI. Could not find it in the User's manual for OVM Server 2.2 release.

    Does the same thing happen if you initiate the live migration from within SCVMM?  Generally speaking, if SCVMM is in use, you should first try to perform the operation from SCVMM before trying to use the Failover Cluster Manager or the Hyper-V Manager. 
    Should not make any difference, but it would be another point of information.
    What is so strange is that a live migration within the cluster is not doing anything with the disks.  All it is doing is moving the executing VM from the memory of one node of the cluster to another node in the cluster.  The virtual hard disks,
    .vhd or .vhdx, are not touched, unless when you say 'live migration' you mean 'live storage migration'.  Very strange that it is only happening on the VMs with .vhd.
    Another thing you could try ... convert the .vhd on one of the problematic VMs to a .vhdx file and see if that fixes the issue.
    . : | : . : | : . tim

  • Move Exchange 2010 SP2 from Physical to Virtual

    I am currently running Exchange 2010 on a server which is hugely underutilised so am hoping to virtualize Exchange and other servers on this machine.
    What is the best way to move/convert Exchange?
    I will require this machine to be reinstalled with Server 2008 R2 server core to run only Hyper-V.
    I thought of backing up (to multiple locations, just in case!!), reinstalling the server with core + Hyper-V, then restoring the backup to a new VM.
    Or should I use the Sysinternals Disk2vhd tool first. Convert to VHD, then reinstall server with core and add the VHD as a new VM?
    The Exchange databases and logs are on a separate RAID 5 array which would be left untouched so would making this disk available to the Exchange VM would allow it to continue where it left off after the server was restored from backup to the new VM?
    I also read it is not recommended to use P2V tools with Exchange, but since I am required to reinstall the machine what choice do I have? In that case should I install Exchange on another server, move all databases and users to that server, reinstall old server,
    install Exchange VM, then move all databases and users onto the new VM?
    The more I think about this, the more my head spins, so any insight is appreciated.
    Thanks.

    hi,
    >>>Could I do all this reconfiguration using a trial license on the other server?
    Details of products and services, you can contact Microsoft product and service center.
    http://support.microsoft.com/gp/contact_microsoft_customer_serv?&fr=1
    hope can help you
    thanks,
    castin
    CastinLu
    TechNet Community Support

Maybe you are looking for

  • How do I save a jpeg image to kijiji in firefox?

    When I try to copy picture with a jpeg extension I am told there is a problem with the format of picture.

  • Apple tv proplem

    HI, am using a macbook bro version 10.7 and itunes v 10.6, after installing the new update i cant stream any thing on the apple tv, even from my ipad, the airplay icon dissapered from every where

  • MDN Not Signed Error

    After updating a certificate in PI we are facing MDN not signed errors. In Seeburger logs, I can see that the response MDN is signed. However, Seeburger, doesn't find the signature and generates a negative MDN. Unchecking the signature in the receive

  • Vendor inclusion of purchase org

    Hi guru, I have created a vendor without purchse organisation.Now can i add purchase org to it?pls guide how to do it? Thnx in advance vikas

  • CIN-RG1-J1i5 Error

    Hi Friends, I am trying to update the material document in J1I5 t-code but it is throwing error traffic light. previously i had the same issue but i found that balnce is less in J_2irg1bal table. but now we have 4000 PC in in this table but i am just