How to Format Unallocated Disk using CMD?
How to Format Unallocated Disk using CMD?
Geeks - Unallocated disk space is a section of a hard drive that is not currently being used by any files or programs. It is essentially empty space that can be used to store new data. In order to use this space, you will need to format it and create a new partition on the disk. This process can be done using the Command Prompt (CMD) in Windows. Here's how to format an unallocated disk using CMD:
Press the Windows key + R on your keyboard to open the Run dialog box.
Type "cmd" into the Run dialog box and press Enter to open the Command Prompt.
Type the following command and press Enter: "diskpart"
Type the following command and press Enter: "list disk"
Identify the disk that you want to format from the list of disks displayed. Note the disk number.
Type the following command and press Enter: "select disk X" (replace X with the disk number of the disk you want to format)
Type the following command and press Enter: "clean"
Type the following command and press Enter: "create partition primary"
Type the following command and press Enter: "format fs=ntfs quick" (replace "ntfs" with the file system you want to use, such as "fat32" or "exfat")
Type the following command and press Enter: "assign"
Type the following command and press Enter: "exit"
Your unallocated disk space should now be formatted and ready to use. Keep in mind that formatting a disk will erase all data on it, so make sure you have a backup of any important files before proceeding.
It's important to note that the process for formatting an unallocated disk may vary depending on the version of Windows you are using and the type of hard drive you have. If you have any difficulties following these steps or encounter any errors, it is recommended to seek help from a qualified computer technician or refer to the documentation provided by the manufacturer of your hard drive.