![cmd tricks](https://smartechmolabs.com/wp-content/uploads/2023/08/image-565.png)
Introduction
Steps to format an hard drive using CMD prompt: Command Prompt, also known as cmd.exe or cmd, is the default command-line interpreter for the OS/2,[1] eComStation, ArcaOS, Microsoft Windows (Windows NT family and Windows CE family), and ReactOS[2] operating systems, These are the steps to format an hard drive using CMD prompt
Step 1
From the search bar, search for the CMD prompt
![cmd prompt](https://smartechmolabs.com/wp-content/uploads/2023/08/Screenshot-1-1.png)
Step 2
Right Click the CMD icon and Run as Administrator
![administrator](https://smartechmolabs.com/wp-content/uploads/2023/08/Screenshot-1.png)
Step 3
Type “Diskpart” and hit enter
![diskpart](https://smartechmolabs.com/wp-content/uploads/2023/08/Screenshot-3.png)
Step 4
Type “List Disk” and hit enter key
![list disk](https://smartechmolabs.com/wp-content/uploads/2023/08/Screenshot-4.png)
Step 5
Type “Select Disk 0” or any other disk you want to format and hit the enter key
![select disk](https://smartechmolabs.com/wp-content/uploads/2023/08/Screenshot-5.png)
Step 6
Type “Clean” and enter
![clean](https://smartechmolabs.com/wp-content/uploads/2023/08/image-567.png)
Step 7
To make the drive again accessible, type ‘create partition primary‘.
![create partition](https://smartechmolabs.com/wp-content/uploads/2023/08/image-568.png)
Step 8
Now format the drive with FAT or NTFS file system. Type ‘format fs=ntfs‘ and press Enter.Now format the drive with FAT or NTFS file system. Type ‘format fs=ntfs‘ and press Enter.
![format](https://smartechmolabs.com/wp-content/uploads/2023/08/image-569.png)
Now with the steps Your storage device is as clean as a new one and also free from Virus
READ MORE
Best Apps For Students To Ease Their Learning
The Metaverse: What is it and how will it change the world?