How to Format USB in CMD? Complete Step-By-Step Guide

How ToHow to Format USB in CMD? Complete Step-By-Step Guide

What is a USB flash drive? 

How to format USB in CMD

USB flash drive is a secondary storage device, that is portable and rewriteable. Transferring files from one pc to another is now easy and fast. There are instances where some viruses corrupted the USB flash drive. The easy process of formation a USB through file explorer, gives an error message, sometimes. So here you can learn how to format USB in CMD. 

How to format USB in CMD

To format a USB, a command prompt (CMD) is the best method. There are two methods to format a USB in (CMD). One of them is simple Format Command, and the second one is a Diskpart Command.

Formatting USB in CMD (Format Command)

How to format USB in CMD

  • Open a command prompt by typing CMD in the search bar.
  • Click windows key+R to open the Run app.
  • Open the command prompt.
  • Then plug in a USB flash drive. 
  • Now type format /q /x H: to format USB. 
  • Check the drive letters of USB and press enter.
  • When a message appears from the system then press enter again.
  • If you want to enter the volume label write /v: 
  • If you do not want to enter the volume label then just press enter.
  • The system will format your USB.

Formatting USB in CMD (Diskpart Command)

  • Open Command Prompt and run it as administrator.
  • Plug in USB into your computer.
  • Now we have to use Diskpart by writing diskpart.
  • Press enter.
  • Now write command List disk and a list will appear.
  • Identify your Flashdrive from the list.
  • Then write your disk number and press enter.
  • Now execute the Clean command to format your USB by typing clean and then press enter.
  • Then, create a primary partition by writing “create partition primary” and a partition will be created.
  • Type format fs=ntfs quick. The windows will format the USB quickly.
  • Now assign the drive letter by writing the following command Diskpart>assign.
  • Exit the command prompt by typing exit.

Hope this guide will help you to understand how to format USB in CMD.

Talal Farooqi
Talal Farooqi
A mass media grad with a great deal of interest in blogging and copywriting. I hear that I'm good with words. So, feel free to check out my work!

Must read

Recent News

4th edition of the CFO Conference Middle East 2024 in Dubai

4th edition of the CFO Conference Middle East 2024 held in Dubai

0
Dubai, UAE: The Institute of Chartered Accountants of Pakistan (ICAP), through its PAIB Committee, successfully hosted the highly anticipated 4th edition of the CFO...
Naim Qassem is new Chief of Hezbollah Monitoring Desk: Naim Qassem has been elected as new Chief of Hezbollah, said a press statement issued by the Lebanese group on Tuesday. Born in 1953, Qassem studied theology and also had a bachelor degree in chemistry from the Lebanese University. Since 1970, Qassem is active in politics and formed first Lebanese Muslim student’s union in 1970. He is involved with since early 90s and became the deputy secretary-general of the group in 1991.

Naim Qassem is the new Chief of Hezbollah

0
Monitoring Desk: Naim Qassem has been elected as the new Chief of Hezbollah, according to a press statement issued by the Lebanese group on...
Is Imran Khan’s personality as primitive as of amygdala stage?

Project Imran gets support of UK lawmakers who demand his release from jail

0
Monitoring Desk: After 62 US lawmakers demanded the release of former prime minister Imran Khan, over 20 members of the British Parliament followed them...
Mushaal Malik seeks global community intervention to end Indian oppression in IIOJK ISLAMABAD: Mushaal Hussein Mullick, wife of an unlawfully incarcerated senior Hurriyat Leader Mohammad Yasin Malik, stated that the supremacist Indian occupation authorities had been committing war crimes and violating international human rights with impunity in Indian Illegally Occupied Jammu and Kashmir (IIOJK) since October 27, 1947 to perpetuate its illegitimate occupation on Kashmir. Speaking at a Kashmir solidarity rally taken out in Islamabad to mark Kashmir Black Day, she said that the people of Kashmir had been enduring the tyrannies of Hindutva regime during the past 77 years but these oppressions and coercive tactics could not dampen their courage. Mushaal, who is also the Chairperson of Peace and Culture Organisation, expressed serious concerns about safety and wellbeing of her jailed husband because the Indian notorious government was hell-bent to silence to most powerful voice of Kashmiri freedom struggle in a fake, fabricated and absurd case. She highlighted that the occupation authorities converted the scenic valley into a garrison city and a killing field, as even Kashmiri children could not go to school right now because parents were imprisoned for their crimes to raise voice of their right to self-determination. However, the Hurriyat leader stated that despite all these hardship and reign of terror unleashed by the brutal forces, Kashmiris remained steadfast struggling for seven decades to break the shackles of Indian slavery. Mushaal went on to say that when the people stand together, freedom can be achieved, with the people's voice, even the mightiest of tyrants can be defeated. The Hurriyat leader stated that people in the occupied valley were not even safe inside their own homes, as bodies of their leaders and loved ones were not returned to them. She highlighted the ordeal faced by Kashmiri leaders, saying Asiya Andrabi held in Tihar Jail, whose health deteriorated alarmingly in jail. She emphasized the importance of remembering this day annually, saying, “Every Pakistani stands in solidarity on this day.” Mushaal encouraged young Pakistanis to launch campaigns through social media, highlighting that Pakistan’s founding leader, Quaid-e-Azam, also placed trust in the power of youth. “You can become our powerful voice today,” she stated, urging them to remain steadfast for Kashmir. Mushaal recalled that India had resettled millions of Indian nationals in the region unlawfully to alter its demographic makeup, aiming to turn it into what she termed a mini-India. She called upon the international community to hold India accountable for its excesses in IIOJK and to support the Kashmiri people's struggle for their inalienable right to self-determination. Mushaal vowed that the people of Kashmir have endured decades of oppression, but their resolve remains unbroken. However, she urged the international community and human rights organizations to shun the double-standard and take note of Indian worst human rights violations so as to resolve the Kashmir dispute once for all in accordance to the aspirations of the people of Kashmir.

Mushaal seeks global community intervention to end Indian oppression in IIOJK

0
Monitoring Desk: Mushaal Hussein Mullick, the wife of an unlawfully incarcerated senior Hurriyat Leader Mohammad Yasin Malik, stated that the supremacist Indian occupation authorities...

Fake Deputy Chairman NAB booked

0
By Shamshad MangatIslamabad, Pakistan: In Pakistan, everything is possible, particularly when the PMLN comes into power because this party leaves the governance to bureaucrats...
Advertisement