How to Format a hard drive with the CMD command
You probably know how to format a usb or hard drive by right-clicking the drive and selecting Format or using software to format but manipulating Format by CMD is quite new and few people choose. In the article below, let's follow the steps to format the hard drive with CMD like offline!
1. Format with diskpart command in CMD
Step 1: Access CMD with Admin rights.
On Windows 7
You click on Start (1) => enter the keyword cmd (2) => right click on cmd.exe (3) => Run as administrator (4) .
On Windows 10
Click the Search icon (1) or use the Windows + S key combination . Next, enter the keyword cmd (2) => Run as administrator (3) .
Step 2: After entering the Command Prompt as an admin, enter the following command and press Enter .
diskpart
Step 3: Enter the following command and Enter .
list disk
After entering the above command, you will see a list of hard drives on the computer will be listed. Remember your drive letter is Disk 0, Disk 1 . Disk n to select in the following command.
For example, in the article I will select and format Disk 1 with a capacity of 1024 MB.
Step 4: Enter the following command and Enter .
select disk n
(where n is the drive number you choose)
For example, the above step I format disk 1 so my command is select disk 1 .
Step 5: Enter the following command to delete the partition and Enter .
clean
After having succeeded notice as shown below is successful.
Step 6: Enter the following command again to check the selected drive.
list disk
If the drive you format is marked with an *, that drive is selected.
Step 7: Enter the following command to recreate the partition.
create partition primary
If the succeeded message appears, it will work.
Step 8: Enter the following command to activate the selected partition.
active
Step 9: Enter the following command to reformat the drive in NTFS storage format and give the drive a new name.
format FS = NTFS label = name o dia quick
(Where name o dia is the arbitrary name you give that drive)
Step 10: At this point, you have completed the format and created a drive with CMD, enter the exit command and press Enter to exit the DISKPART command and close the cmd window.
2. Format fast drive with format command in cmd
Step 1: Open CMD with admin rights and enter the following command:
format : / q
(with name o dia ) is the drive you choose as C, D, E .
For example: In this article I will format drive D with the command.
format D: / q
Step 2: If you are prompted to ask for the name of your current hard drive, enter the drive letter and press Enter .
For example, as my D drive is named TTPM, I will type TTMP into the Enter current volume label for drive D box:
Step 3: Warning of erasing data on the drive you have Format appears, enter Y and Enter to continue.
Step 4: Press Enter to continue the Quick Format process .
Then your drive has been formatted successfully with the message Format complete as shown below.
In addition to the above, you can format with commands like:
format: / q / fs: exFAT: this command to format quickly with exFAT format
format: / q / fs: NTFS: Quickly format the selected drive to the NTFS standard
format: / fs: NTFS / v: Name: format quickly with the name you choose (Name = the specific name you gave the drive)
With instructions on how to format a drive with the CMD command, you know how to format a drive that is extremely unique and interesting. Good luck!
You should read it
- How to format the hard drive on Windows
- How to format a hard drive into NTFS in Linux
- Instructions to format USB Pendrives with Command Prompt
- How to Format a Hard Drive
- How to reformat an external hard drive does not cause data loss
- How to format an external hard drive to FAT32?
- How to Format a Hard Disk
- 5 ways to check hard drive effectively to help periodically check the hard drive
May be interested
- How to keep the computer screen onon windows operating systems always turn on the feature to automatically turn off the screen or put the computer to sleep mode for a certain period of time to protect the screen in case you leave out or hang up for a long time. if you want to keep the screen on, you must turn off the feature mentioned in the following tutorial.
- Top 5 wifi software from free laptop easy to use should download the mosthow to play wifi from laptop? if you use windows 10, it does not matter, but anyone who uses windows 7, 8 must find 3rd party software.
- 4 ways to turn off touchpad on Asus laptop from simple to complicatedif you don't need a touchpad, you should turn off the touchpad on an asus laptop to avoid being hit during keyboard typing, avoiding inconvenience.
- Instructions to increase the virtual hard drive capacity on Virtualboxif you are a regular user of the virtual machine, this virtual memory will soon fill up. at this point, the only way is to increase the storage space for the virtual drive. the article will guide readers to do this.
- How to move files by type in Windows with batch filesone way to move files in batches as needed, is to use the batch file. with the following command, you can easily move files by type from one folder to another.
- How to delete Restore Previous Versions in the right-click menuif you don't use the previous versions option, you can delete it. here are the steps to remove the restore previous versions option from the context menu in windows.