Run the command prompt line as an administrator, enter diskpart, press enter, and then list disk to display the list of drives connected to the computer, remember the number in front of the flash drive, such as 1, enter select disk 1, select the flash drive, and then enter clean to clear the flash drive and exit the command prompt line.
Right-click the computer on the desktop, manage, manage the disk, right-click the USB flash drive, partition and format it.