Here you can get a complete & easy guide about how to recover the full capacity of a pen drive when showing it less capacity than actual. Many reasons can be cause for this issue. Making a bootable disk using the USB drive is maybe one reason for that. Let's see how to do this on Windows using Command Prompt. Please follow the simple steps below.
Connect the pen drive to the computer & make sure it is detected.
Run Windows Command Prompt as administrator.
Type below code & press Enter.
Type below code & press Enter to get the list of connected drives.
Type below code & press Enter to select the drive.
select disk #
Replace # with the number which is identified as the pen drive with the issue in your computer. Be very careful here to select the exact one, otherwise everything on the disk you choose will disappear.
Type below code & press Enter to clean the selected drive.
Type below code & press Enter to create the partition of the selected drive.
create partition primary
Format the pen drive & check the capacity.
Watch the full video guide
Admin of Get Basic Idea / Senior Solution Architect.