How to create virtual hard disk in windows
How to Create Virtual Hard Disk??????
Virtual Hard disk:
- VHD (Virtual Hard Disk) is a file format which represents a virtual hard disk drive (HDD). It may contain what is found on a physical HDD, such as disk partitions and a file system, which in turn can contain files and folders. It is typically used as the hard disk of a virtual machine.
 Advantages:
Advantages:
- virtual HDD helps to use the unallocated disk space on Physical drive by adding the Unallocated space to C: DRIVE then using it as a Virtual HDD!!!!Lets see how to make it!Step1: Open RUN(winkey + R) or Win 8 or above right-click start>>>Disk Management!
| By RUN | 
| By Right-Click Start | 
Step 2: On Disk Management,Right-Click Unallocated space >>>Extend Volume >>>ADD it to
C: DRIVE!
Step 3: Select Action >>>Create VHD >>> Select Browse >>>Select C: (which you added
Unallocated space) >>>Set NAME! >>>Save
| Create VHD | 
| Set Location & Set NAME of VHD | 
| Set VHD Size and OK | 
Step 4: Wait Till Completes Creating VHD!!!! Select ACTION >>>Attach VHD >>> Browse for
Virtual HDD which U have Created. In my case its in c:drive
| Select Attach VHD | 
>>>> Next >>>Next >>> ok!
Thats iT!!! Virtual Hard disk Successfully created !!!!
In Order to mount it on SYSTEM Start UP!!!!!!
Follow the Below Steps!!!
Step 1: Open notepad 
             Type the Lines below 
@echo  "IMPORTANT: DO NOT CLOSE, Virtual HDD Mounting, Please wait..."
diskpart /s "C:\script.txt"
diskpart /s "C:\script.txt"
Save as VirtualHDD.bat
Step 2: Open notepad  
Type the Lines below
Type the Lines below
select vdisk file="c:\virtualHDD.vhd"
attach vdisk
attach vdisk
Save as script.txt
Step 3 : To mount at Startup Automatically!
- Open RUN (Winkey + R) type regedit to Open Registry Editor.
- GOTO HKEY_LOCAL_MACHINE >>>>SOFTWARE >>>> MICROSOFT>>>>WINDOWS>>>>CurrentVersion >>>>RUN
- Right-Click >>>New >>> String Value >>>Name it as vhd or anything else
| Create New String Value in RUN at Startup | 
| Type the location of .bat file u created..In My Case Its as seen above | 
Thats iT!!!! you have created Virtual Hard Disk and also mounted it on Startup!!!!!
Thanks for Reading.....
Keep reading at mypcethics.blogspot.com
Follow and Like us on facebook at www.facebook.com/mypcethics
 
