So, today I am here to tell you how to create Virtual Hard Disks in windows. This is the best feature of windows.
There are two methods by which you can create virtual hard disks in windows. And the two methods are:-
Using Disk Management
Using DiskPart
Using Disk Management:-
- Open DISK MANAGEMENT
Right click on My Computer -> Manage -> Disk Management
Or you can simply type diskmgmt.msc in the search box in the start menu and hit enter.
Or you can also type diskmgmt.msc in run box(Home+R).
- Now go to Action And select Create VHD. A pop-up will open. The pop-up have some option you have to fill.
- Location: – here you have to give the file name and the location where new VHD will be saved when it is created. Like F:\newVHD.vhd
- Virtual hard disk size: – select the size in MB, GB or TB. And give the value. And select dynamically Expanding.
- Here I have selected 320 GB. You can increase as per your requirement.
- Click OK after above steps will be clear. And it’s done. You’ll see your hard disk.
- Now you have to make the hard disk active. To initialize the disk.
Right click the disk->Initialize disk->Click Ok.
- Now you can use this disk. To detached the disk before restarting the OS to prevent data corruption – right-click the disk name and then click Detach VHD.
Using DiskPart:-
Many of you love to work in command line interface. So, you can do the VHD process by command prompt or cmd.
Below are the commands to create virtual hard disks in windows using command prompt-
- Open cmd and type –
- To view the .vhd file type
- To attach the vhd
- see information about the VHD with the following commad
- You can assign the drive letter to N and other.
No comments:
Post a Comment