taken from https://www.pendrivelinux.com/restoring-your-usb-key-partition/
Open a command Prompt as administrator (cmd.exe).
Type Diskpart
then press enter.
Next type List Disk
then press enter.
Type Select Disk X
(where X is the disk number of your USB drive) then press enter.