none
VHD Image, how to create?

    Question

  • Hi,

    Is it possible to have a VHD image of a machine? I mean capture an image in VHD format, how I can do that?

    We use WinPE and Imagex for the .WIM file, what tool to be used for VHD?


    N.A.Malik
    Sunday, July 24, 2011 5:16 PM

Answers

  • Hi,

    There is a couple of ways of accomplishing this task the first is using the Disk2VHD tool from Microsoft. This is a tool part of the sysinternals suite that takes advantage of the VSS (Volume Shadow Copy Service) to take persistant point in time snapshots and provide a means of turning a hard disk into a VHD file while your pc is still on meaning that you dont have to use a WinPE environment. The second way is if your company has Software Assurance from Microsoft you can use the P2V (Physical 2 Virtual) Migration tool. Thirdly you may use SCVMM to turn a pc into a VHD.

    With all this said i RECOMMEND you go with the first way.

    You can download Disk2VHD free from here.

    _______________________________________________

    Regards, Taylor Gibb

     

    MCITP: Enterprise Admin

    MCITP: Server Admin

    MCITP: Enterprise Desktop Support Technician on Windows 7

    MCITP: Enterprise Desktop Administrator on Windows 7

    MCSA

    MCTS x 5

    MOM: Microsoft Office Master Specialist

    Microsoft Office Expert

    Microsoft Office Specialist

     

    Sunday, July 24, 2011 6:21 PM
  • Hi,

    If you want to do this, you may use the following command to attact the VHD file under Windows PE. then copy the files.

    Diskpart
    select vdisk file=c:\windows7.vhd
    attach vdisk
    create partition primary
    assign letter=v


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Wednesday, July 27, 2011 9:28 AM
    Moderator

All replies

  • Windows 7 Backup and Restore has an option on the upper left side to Create a system image which is a .VHD file.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Sunday, July 24, 2011 5:45 PM
  • Hi,

    There is a couple of ways of accomplishing this task the first is using the Disk2VHD tool from Microsoft. This is a tool part of the sysinternals suite that takes advantage of the VSS (Volume Shadow Copy Service) to take persistant point in time snapshots and provide a means of turning a hard disk into a VHD file while your pc is still on meaning that you dont have to use a WinPE environment. The second way is if your company has Software Assurance from Microsoft you can use the P2V (Physical 2 Virtual) Migration tool. Thirdly you may use SCVMM to turn a pc into a VHD.

    With all this said i RECOMMEND you go with the first way.

    You can download Disk2VHD free from here.

    _______________________________________________

    Regards, Taylor Gibb

     

    MCITP: Enterprise Admin

    MCITP: Server Admin

    MCITP: Enterprise Desktop Support Technician on Windows 7

    MCITP: Enterprise Desktop Administrator on Windows 7

    MCSA

    MCTS x 5

    MOM: Microsoft Office Master Specialist

    Microsoft Office Expert

    Microsoft Office Specialist

     

    Sunday, July 24, 2011 6:21 PM
  • Hi,

    There is a couple of ways of accomplishing this task the first is using the Disk2VHD tool from Microsoft. This is a tool part of the sysinternals suite that takes advantage of the VSS (Volume Shadow Copy Service) to take persistant point in time snapshots and provide a means of turning a hard disk into a VHD file while your pc is still on meaning that you dont have to use a WinPE environment. The second way is if your company has Software Assurance from Microsoft you can use the P2V (Physical 2 Virtual) Migration tool. Thirdly you may use SCVMM to turn a pc into a VHD.

    With all this said i RECOMMEND you go with the first way.

    You can download Disk2VHD free from here.

    _______________________________________________

     

    Regards, Taylor Gibb

     

    MCITP: Enterprise Admin

    MCITP: Server Admin

    MCITP: Enterprise Desktop Support Technician on Windows 7

    MCITP: Enterprise Desktop Administrator on Windows 7

    MCSA

    MCTS x 5

    MOM: Microsoft Office Master Specialist

    Microsoft Office Expert

    Microsoft Office Specialist

     

     .

     


    Hi,

    Thank you for reply, I still have few questions ... my purpose is to create a VHD image (may be I can do the way you just recommended), now lets say I have that VHD iamge, how I can deploy this to machine. If I compare it with WIM image, I used Iamgex/Apply in winpe envirnment.
    Also is it possible to do this work in WinPE envirnment???, Let say boot the pc from WinPE.... select the VHD image you want to apply and go ahead... it possible???

     


    N.A.Malik
    Monday, July 25, 2011 7:14 PM
  • Hi,

    If you want to do this, you may use the following command to attact the VHD file under Windows PE. then copy the files.

    Diskpart
    select vdisk file=c:\windows7.vhd
    attach vdisk
    create partition primary
    assign letter=v


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    Wednesday, July 27, 2011 9:28 AM
    Moderator