▪ exit (exit DISKPART, but doesn't exit the command prompt window) In the CMD window, run commands as follows to partition and format the USB drive.
Press 'Windows' + 'R', input 'cmd' to and click 'OK'. Connect an empty USB drive whose capacity should be larger than 4GB for Windows 7 (8GB for Windows 11, 10, and 8.1). Now, check out those steps about how to create Windows 7 bootable USB drive for OS installation using CMD. It's easy and quick to install Windows 7 from USB drive. Make Bootable USB of Windows 7 for Windows installation ▪ To format/delete/erase C drive in WinPE environment. ▪ To rebuild MBR, check system hard drive error or clone hard drive from bootable USB drive when PC is unbootable. ▪ To own the same Windows workplace environment in different places. ▪ To make a fresh install of Windows 7 conveniently. There are many motivations to create bootable USB of Windows 7 and some are presented below: