SlideShare a Scribd company logo
1 of 4
Download to read offline
Disk2vhd v2.01
01/20/2014 • 2 minutes to read • Contributors
In this article
Introduction
Command Line Usage
By Mark Russinovich
Published: January 21, 2014
Download Disk2vhd (879 KB)
Run now from Sysinternals Live.
Introduction
Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft's Virtual Machine
disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft
Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-
to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses
Windows' Volume Snapshot capability, introduced in Windows XP, to create consistent
point-in-time snapshots of the volumes you want to include in a conversion. You can
even have Disk2vhd create the VHDs on local volumes, even ones being converted
(though performance is better when the VHD is on a disk different than ones being
converted).
The Disk2vhd user interface lists the volumes present on the system:
Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd
1 of 4 3/19/2019, 11:08 PM
It will create one VHD for each disk on which selected volumes reside. It preserves the
partitioning information of the disk, but only copies the data contents for volumes on
the disk that are selected. This enables you to capture just system volumes and exclude
data volumes, for example.
Virtual PC supports a maximum virtual disk size of 127GB. If you create a VHD from
a larger disk it will not be accessible from a Virtual PC VM.
To use VHDs produced by Disk2vhd, create a VM with the desired characteristics and
add the VHDs to the VM's configuration as IDE disks. On first boot, a VM booting a
captured copy of Windows will detect the VM's hardware and automatically install
drivers, if present in the image. If the required drivers are not present, install them via
the Virtual PC or Hyper-V integration components. You can also attach to VHDs using
the Windows 7 or Windows Server 2008 R2 Disk Management or Diskpart utilities.
Do not attach to VHDs on the same system on which you created them if you plan
on booting from them. If you do so, Windows will assign the VHD a new disk
signature to avoid a collision with the signature of the VHD’s source disk. Windows
references disks in the boot configuration database (BCD) by disk signature, so
when that happens Windows booted in a VM will fail to locate the boot disk.
Disk2vhd does not support the conversion of volumes with Bitlocker enabled. If you
wish to create a VHD for such a volume, turn off Bitlocker and wait for the volume to
be fully decrypted first.
Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd
2 of 4 3/19/2019, 11:08 PM
Disk2vhd runs on Windows Vista, Windows Server 2008, and higher, including x64
systems.
Here's a screenshot of a copy of a Windows Server 2008 R2 Hyper-V system running in a
virtual machine on top of the system it was made from:
(click image to zoom)
Command Line Usage
Disk2vhd includes command-line options that enable you to script the creation of VHDs.
Specify the volumes you want included in a snapshot by drive letter (e.g. c:) or use "*" to
include all volumes.
Usage: disk2vhd <[drive: [drive:]...]|[*]> <vhdfile>
Example: disk2vhd * c:vhdsnapshot.vhd
Physical-to-virtual hard drive migration of a Windows installation is a valid function
for customers with Software Assurance and full retail copies of Windows XP,
Windows Vista, and Windows 7. Software Assurance provides users valuable benefits
—please contact Microsoft Corporation for further information. Windows XP,
Windows Vista and Windows 7 installed by Original Equipment Manufacturers
(OEM) using OEM versions of these products may not be transferred to a virtual
hard drive in accordance with Microsoft licensing terms.
Download Disk2vhd (879 KB)
Run now from Sysinternals Live.
Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd
3 of 4 3/19/2019, 11:08 PM
Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd
4 of 4 3/19/2019, 11:08 PM

More Related Content

What's hot

mirroring harddrive
mirroring harddrivemirroring harddrive
mirroring harddrivessuser1eca7d
 
Virtual Box Presentation
Virtual Box Presentation Virtual Box Presentation
Virtual Box Presentation Pete DuMelle
 
การติดตั้งเครือข่ายภายในบ้าน 11
การติดตั้งเครือข่ายภายในบ้าน 11การติดตั้งเครือข่ายภายในบ้าน 11
การติดตั้งเครือข่ายภายในบ้าน 11Chonlada078
 
How to boot a VM form a Forensic Image
How to boot a VM form a Forensic ImageHow to boot a VM form a Forensic Image
How to boot a VM form a Forensic ImageKrešimir Hausknecht
 
How to make bootable usb pendrive for windows[7 8 8
How to make bootable usb pendrive for windows[7 8 8How to make bootable usb pendrive for windows[7 8 8
How to make bootable usb pendrive for windows[7 8 8Swathi Pala
 
Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...
Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...
Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...Nicolas Collery
 
Upgrade laptopshdd
Upgrade laptopshddUpgrade laptopshdd
Upgrade laptopshddVicent Bit
 
MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2
MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2
MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2Lai Yoong Seng
 
An overview of OpenVZ virtualization technology
An overview of OpenVZ virtualization technologyAn overview of OpenVZ virtualization technology
An overview of OpenVZ virtualization technologyOpenVZ
 
Wd sandisk-ssd-dashboard
Wd sandisk-ssd-dashboardWd sandisk-ssd-dashboard
Wd sandisk-ssd-dashboardssuser1eca7d
 
Raid designs in Qsan Storage
Raid designs in Qsan StorageRaid designs in Qsan Storage
Raid designs in Qsan Storageqsantechnology
 
Extend rootfile system Oracle Vmware
Extend rootfile system Oracle VmwareExtend rootfile system Oracle Vmware
Extend rootfile system Oracle VmwareMonowar Mukul
 
Azure vm resizing the os disk
Azure vm resizing the os diskAzure vm resizing the os disk
Azure vm resizing the os diskMilorad Imbra
 

What's hot (20)

Virtual box
Virtual boxVirtual box
Virtual box
 
mirroring harddrive
mirroring harddrivemirroring harddrive
mirroring harddrive
 
Virtual Box Presentation
Virtual Box Presentation Virtual Box Presentation
Virtual Box Presentation
 
4.4 manage disk quotas
4.4 manage disk quotas4.4 manage disk quotas
4.4 manage disk quotas
 
การติดตั้งเครือข่ายภายในบ้าน 11
การติดตั้งเครือข่ายภายในบ้าน 11การติดตั้งเครือข่ายภายในบ้าน 11
การติดตั้งเครือข่ายภายในบ้าน 11
 
2 27-2018-partedpt2
2 27-2018-partedpt22 27-2018-partedpt2
2 27-2018-partedpt2
 
How to boot a VM form a Forensic Image
How to boot a VM form a Forensic ImageHow to boot a VM form a Forensic Image
How to boot a VM form a Forensic Image
 
How to make bootable usb pendrive for windows[7 8 8
How to make bootable usb pendrive for windows[7 8 8How to make bootable usb pendrive for windows[7 8 8
How to make bootable usb pendrive for windows[7 8 8
 
Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...
Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...
Needle In An Encrypted Haystack: Forensics in a hardened environment (with Fu...
 
Docker
DockerDocker
Docker
 
Unit 10
Unit 10Unit 10
Unit 10
 
Upgrade laptopshdd
Upgrade laptopshddUpgrade laptopshdd
Upgrade laptopshdd
 
Flourish11
Flourish11Flourish11
Flourish11
 
Hard disk ultra
Hard disk ultraHard disk ultra
Hard disk ultra
 
MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2
MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2
MVUG Webcast Slide:- From Zero to Hero on Hyper V R2- Part 2
 
An overview of OpenVZ virtualization technology
An overview of OpenVZ virtualization technologyAn overview of OpenVZ virtualization technology
An overview of OpenVZ virtualization technology
 
Wd sandisk-ssd-dashboard
Wd sandisk-ssd-dashboardWd sandisk-ssd-dashboard
Wd sandisk-ssd-dashboard
 
Raid designs in Qsan Storage
Raid designs in Qsan StorageRaid designs in Qsan Storage
Raid designs in Qsan Storage
 
Extend rootfile system Oracle Vmware
Extend rootfile system Oracle VmwareExtend rootfile system Oracle Vmware
Extend rootfile system Oracle Vmware
 
Azure vm resizing the os disk
Azure vm resizing the os diskAzure vm resizing the os disk
Azure vm resizing the os disk
 

Similar to SysInternals Disk2vhd - docs.pdf

Upgrading and deploying Windows 7
Upgrading and deploying Windows 7Upgrading and deploying Windows 7
Upgrading and deploying Windows 7ctc TrainCanada
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewaboobakar sanjar
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Tũi Wichets
 
Hyper-V overview and building test network - harold.wong
Hyper-V overview and building test network - harold.wongHyper-V overview and building test network - harold.wong
Hyper-V overview and building test network - harold.wongHarold Wong
 
4. install and configure hyper v
4. install and configure hyper v4. install and configure hyper v
4. install and configure hyper vHameda Hurmat
 
Dual boot with a vhd final
Dual boot with a vhd finalDual boot with a vhd final
Dual boot with a vhd finalOsimondo
 
Practical Implementation of Virtual Machine
Practical Implementation of Virtual MachinePractical Implementation of Virtual Machine
Practical Implementation of Virtual MachineRubal Sagwal
 
What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2Christopher Keyaert
 
The Holy Grail of Deployment
The Holy Grail of DeploymentThe Holy Grail of Deployment
The Holy Grail of DeploymentStuart King
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting startedALEXANDER BARBOZA
 
Virtualization workshop - part 1
Virtualization workshop - part 1Virtualization workshop - part 1
Virtualization workshop - part 1Davide Pelosi
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanchinitooo
 
Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...Louis Göhl
 
Windows server 2012 r2 hyper v component architecture ga
Windows server 2012 r2 hyper v component architecture gaWindows server 2012 r2 hyper v component architecture ga
Windows server 2012 r2 hyper v component architecture gaYen Mora
 
Windows Server 2012 R2 Hyper V Component Architecture
Windows Server 2012 R2 Hyper V Component ArchitectureWindows Server 2012 R2 Hyper V Component Architecture
Windows Server 2012 R2 Hyper V Component ArchitectureRian Yulian
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting startedHimanshu Patel
 
Windows 2008 R2 Virtualization
Windows 2008  R2  VirtualizationWindows 2008  R2  Virtualization
Windows 2008 R2 VirtualizationEduardo Castro
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization TipsYoussef EL HADJ
 

Similar to SysInternals Disk2vhd - docs.pdf (20)

Upgrading and deploying Windows 7
Upgrading and deploying Windows 7Upgrading and deploying Windows 7
Upgrading and deploying Windows 7
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overview
 
Virtual Hard disk
Virtual Hard diskVirtual Hard disk
Virtual Hard disk
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture
 
Hyper-V overview and building test network - harold.wong
Hyper-V overview and building test network - harold.wongHyper-V overview and building test network - harold.wong
Hyper-V overview and building test network - harold.wong
 
4. install and configure hyper v
4. install and configure hyper v4. install and configure hyper v
4. install and configure hyper v
 
Dual boot with a vhd final
Dual boot with a vhd finalDual boot with a vhd final
Dual boot with a vhd final
 
Practical Implementation of Virtual Machine
Practical Implementation of Virtual MachinePractical Implementation of Virtual Machine
Practical Implementation of Virtual Machine
 
What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2
 
The Holy Grail of Deployment
The Holy Grail of DeploymentThe Holy Grail of Deployment
The Holy Grail of Deployment
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting started
 
Virtualization workshop - part 1
Virtualization workshop - part 1Virtualization workshop - part 1
Virtualization workshop - part 1
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_clean
 
Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...Storage and hyper v - the choices you can make and the things you need to kno...
Storage and hyper v - the choices you can make and the things you need to kno...
 
Windows server 2012 r2 hyper v component architecture ga
Windows server 2012 r2 hyper v component architecture gaWindows server 2012 r2 hyper v component architecture ga
Windows server 2012 r2 hyper v component architecture ga
 
Windows Server 2012 R2 Hyper V Component Architecture
Windows Server 2012 R2 Hyper V Component ArchitectureWindows Server 2012 R2 Hyper V Component Architecture
Windows Server 2012 R2 Hyper V Component Architecture
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting started
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting started
 
Windows 2008 R2 Virtualization
Windows 2008  R2  VirtualizationWindows 2008  R2  Virtualization
Windows 2008 R2 Virtualization
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization Tips
 

More from htdvul

Agile Enterprise architecture.pptx
Agile Enterprise architecture.pptxAgile Enterprise architecture.pptx
Agile Enterprise architecture.pptxhtdvul
 
CON 1300V Webinar Slides v1.pptx
CON 1300V Webinar Slides v1.pptxCON 1300V Webinar Slides v1.pptx
CON 1300V Webinar Slides v1.pptxhtdvul
 
PMOs Deliver Value.pdf
PMOs Deliver Value.pdfPMOs Deliver Value.pdf
PMOs Deliver Value.pdfhtdvul
 
asmjit - Complete x86 x64 JIT Assembler for C++.pdf
asmjit - Complete x86 x64 JIT Assembler for C++.pdfasmjit - Complete x86 x64 JIT Assembler for C++.pdf
asmjit - Complete x86 x64 JIT Assembler for C++.pdfhtdvul
 
Team drive get free storage
Team drive get free storageTeam drive get free storage
Team drive get free storagehtdvul
 
American civil war museum va
American civil war museum vaAmerican civil war museum va
American civil war museum vahtdvul
 
Ap08 compsci coursedesc
Ap08 compsci coursedescAp08 compsci coursedesc
Ap08 compsci coursedeschtdvul
 
Leadtools evaluation downloads
Leadtools evaluation downloadsLeadtools evaluation downloads
Leadtools evaluation downloadshtdvul
 
Oscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystemOscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystemhtdvul
 
Linkedinmobile 111011223417-phpapp02
Linkedinmobile 111011223417-phpapp02Linkedinmobile 111011223417-phpapp02
Linkedinmobile 111011223417-phpapp02htdvul
 

More from htdvul (10)

Agile Enterprise architecture.pptx
Agile Enterprise architecture.pptxAgile Enterprise architecture.pptx
Agile Enterprise architecture.pptx
 
CON 1300V Webinar Slides v1.pptx
CON 1300V Webinar Slides v1.pptxCON 1300V Webinar Slides v1.pptx
CON 1300V Webinar Slides v1.pptx
 
PMOs Deliver Value.pdf
PMOs Deliver Value.pdfPMOs Deliver Value.pdf
PMOs Deliver Value.pdf
 
asmjit - Complete x86 x64 JIT Assembler for C++.pdf
asmjit - Complete x86 x64 JIT Assembler for C++.pdfasmjit - Complete x86 x64 JIT Assembler for C++.pdf
asmjit - Complete x86 x64 JIT Assembler for C++.pdf
 
Team drive get free storage
Team drive get free storageTeam drive get free storage
Team drive get free storage
 
American civil war museum va
American civil war museum vaAmerican civil war museum va
American civil war museum va
 
Ap08 compsci coursedesc
Ap08 compsci coursedescAp08 compsci coursedesc
Ap08 compsci coursedesc
 
Leadtools evaluation downloads
Leadtools evaluation downloadsLeadtools evaluation downloads
Leadtools evaluation downloads
 
Oscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystemOscon anatomy of_os_cloud_ecosystem
Oscon anatomy of_os_cloud_ecosystem
 
Linkedinmobile 111011223417-phpapp02
Linkedinmobile 111011223417-phpapp02Linkedinmobile 111011223417-phpapp02
Linkedinmobile 111011223417-phpapp02
 

Recently uploaded

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Recently uploaded (20)

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

SysInternals Disk2vhd - docs.pdf

  • 1. Disk2vhd v2.01 01/20/2014 • 2 minutes to read • Contributors In this article Introduction Command Line Usage By Mark Russinovich Published: January 21, 2014 Download Disk2vhd (879 KB) Run now from Sysinternals Live. Introduction Disk2vhd is a utility that creates VHD (Virtual Hard Disk - Microsoft's Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical- to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows' Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted). The Disk2vhd user interface lists the volumes present on the system: Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd 1 of 4 3/19/2019, 11:08 PM
  • 2. It will create one VHD for each disk on which selected volumes reside. It preserves the partitioning information of the disk, but only copies the data contents for volumes on the disk that are selected. This enables you to capture just system volumes and exclude data volumes, for example. Virtual PC supports a maximum virtual disk size of 127GB. If you create a VHD from a larger disk it will not be accessible from a Virtual PC VM. To use VHDs produced by Disk2vhd, create a VM with the desired characteristics and add the VHDs to the VM's configuration as IDE disks. On first boot, a VM booting a captured copy of Windows will detect the VM's hardware and automatically install drivers, if present in the image. If the required drivers are not present, install them via the Virtual PC or Hyper-V integration components. You can also attach to VHDs using the Windows 7 or Windows Server 2008 R2 Disk Management or Diskpart utilities. Do not attach to VHDs on the same system on which you created them if you plan on booting from them. If you do so, Windows will assign the VHD a new disk signature to avoid a collision with the signature of the VHD’s source disk. Windows references disks in the boot configuration database (BCD) by disk signature, so when that happens Windows booted in a VM will fail to locate the boot disk. Disk2vhd does not support the conversion of volumes with Bitlocker enabled. If you wish to create a VHD for such a volume, turn off Bitlocker and wait for the volume to be fully decrypted first. Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd 2 of 4 3/19/2019, 11:08 PM
  • 3. Disk2vhd runs on Windows Vista, Windows Server 2008, and higher, including x64 systems. Here's a screenshot of a copy of a Windows Server 2008 R2 Hyper-V system running in a virtual machine on top of the system it was made from: (click image to zoom) Command Line Usage Disk2vhd includes command-line options that enable you to script the creation of VHDs. Specify the volumes you want included in a snapshot by drive letter (e.g. c:) or use "*" to include all volumes. Usage: disk2vhd <[drive: [drive:]...]|[*]> <vhdfile> Example: disk2vhd * c:vhdsnapshot.vhd Physical-to-virtual hard drive migration of a Windows installation is a valid function for customers with Software Assurance and full retail copies of Windows XP, Windows Vista, and Windows 7. Software Assurance provides users valuable benefits —please contact Microsoft Corporation for further information. Windows XP, Windows Vista and Windows 7 installed by Original Equipment Manufacturers (OEM) using OEM versions of these products may not be transferred to a virtual hard drive in accordance with Microsoft licensing terms. Download Disk2vhd (879 KB) Run now from Sysinternals Live. Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd 3 of 4 3/19/2019, 11:08 PM
  • 4. Disk2vhd - Windows Sysinternals | Microsoft Docs https://docs.microsoft.com/en-us/sysinternals/downloads/disk2vhd 4 of 4 3/19/2019, 11:08 PM