Using diskpart to Format a USB Drive in Windows

While using the Windows 7 USB/DVD Download Tool to create a bootable USB drive to use for reinstalling/repairing Windows, I ran into the following error message:

Windows 7 USB/DVD Download Tool error: We were unable to copy your files.  Please check your USB device and the selected ISO and try again.

I found the following link to a discussion about the issue:

Following the steps proposed by user @Siva2007 resolved the issue for me. Open a command prompt with administrator privileges and type:


Then enter the following commands to identify and format the USB drive in question:

Microsoft DiskPart version 6.2.9200
Copyright (C) 1999-2012 Microsoft Corporation.
On computer: KJONES-WIN8
DISKPART> list disk
  Disk ###  Status         Size     Free     Dyn  Gpt


 Windows  Diskpart