How to wipe or Format with DISKPART command prompt

Hello there, i hope that you know what a virtual hard disk really is but if you don't know, I suggest that you check out the description of this video there we have a link to the to the article in which we describe what a virtual hard disk really is in this video I will show you how to create and manage virtual hard disks using disk part, disk part tool and uh. . .  all the steps that you will see in this video can be done using the disk management tool, using GUI so if you don't like command-line, I suggest that you check out that other video so, to get started first we need to run command-line and i will run it using run as administrator option which will give use elevated privileges which we need to create visual hard disks I will run disk part tool and uh. . .  the first thing we need to do is create virtual disk file, and command for that is create virtual disk, file so we will create virtual disk in our C: drive we will save it to the C: drive the name of the virtual disk will be temp. vhd, notice that we have to enter the extension and the maximum size of our virtual disk will be fifteen thousand megabytes we can also specify the type of our virtual disk which can be fixed or expand able but if you don't specify anything, the type will be fixed I will hit enter and this will take some time, so I will pause the video. So the virtual disk file is successfully created and if we go to our C: drive we can see it here, temp. VHD the next thing we need to do is select that VHD file.  To do that I will enter the following command :once the file is selected, we need to attach it to our system so the disk is now attached but we still cannot use it because it is not initialized, yet if we want to create a partition or a volume on our disk, we have to initialize it, so. . . to initialize it, I will use the following command: and after that I can create partition on this disk so to create a partition on this disk, virtual disk, I will enter the following command now, after that we have to format this partition I will format it using the NTFS file system and I will label it as temp and we will perform a quick format and before we can use it we have to assign a drive letter to it in our case this will be end that's it. we can now work with our virtual hard disk.  Let's try it now we can also access it using Windows Explorer here it is we can also, if you don't want to use virtual hard disk any more on our system, we can detach it let's go back to disk part before we can detach virtual hard disk, we have to select it again and now we can detach it that's it




Ozen Pro. Powered by Blogger.