I have a partition 200 GB contain 100 GB of Data, the Data is a huge number of files and folders (about million of files and folders). I want to copy this 100 GB of Data to another partition but i have a corruption because of the number of directories (Folders). As i know if i can convert these directories to one VHD file the problem can be resolved. The question is: How can i convert these directories to one VHD file? I tried to create a VHD file and i attached it successfully from my Disk Management then i tried to copy the directories into but the huge number of folders and files cause a corrupted process so i want to create the VHD file from the Directories directly. Any Help !
You should not have any kind of corruption due to the number of files involved in the copy process. If you suspect that you have a buggy application copying the files though, I suggest using something well-tested for bulk transfers like
To answer your question, converting a (physical) disk to VHD can be done using the SysInternals' disk2vhd utility. Alternatively, doing a Windows Server Backup run to a local or networked destination also will create .vhd or .vhdx files (depending on your Windows Server version) with the contents of your disk(s).