Tech4service Ltd

Blog

Stay up to date with the latest news

Bootable USB with CMD Windows 11
Share
Share
Share

Table of Contents

Setting Up a Windows 11 Bootable USB Using Command Prompt

 

To craft a bootable USB drive for Windows 11 installation via Command Prompt, follow this procedure:

  1. Navigate to the Microsoft Support webpage.
  2. In the “Fetch Windows 11 Disk Image (ISO)” section, opt for the Windows 11 variant.
  3. Initiate the download.
  4. Choose your desired installation language.
  5. Confirm your choice.
  6. Start the Windows 11 ISO download onto your device.
  7. Access the Start menu.
  8. Locate Command Prompt, right-click the primary result, and run as Administrator.
  9. Input the command to launch Diskpart:
				
					diskpart
				
			
  1. Input the command to identify the USB drive:
				
					list disk

				
			
  1. Input the command to pick the storage:
				
					select disk 1

				
			

Note: Adjust ‘1’ in ‘select disk 1’ to match your desired flash drive.

  1. Input the command to clear the USB drive:
				
					clean
				
			
  1. Input the command to set up a primary partition:
				
					create partition primary

				
			
  1. Input the command to pick the new partition:
				
					select partition 1
				
			
  1. Input the command to format the USB as bootable:
				
					format FS=FAT32 quick
				
			
  1. Input the command to allocate a volume and drive letter:
				
					assign letter=X
				
			

Modify ‘X’ to your preferred available letter.

  1. Input the command to exit:
				
					exit
				
			
  1. Input the command to mount the Windows 11 ISO:
				
					PowerShell Mount-DiskImage -ImagePath "C:\location\of\Windows11.iso"
				
			

Adjust the path to the Windows 11 ISO’s location.

  1. Input the command to reopen Diskpart:
				
					diskpart
				
			
  1. Input the command to identify the drive letter of the mounted ISO:
				
					list volume
				
			
  1. Input the command to leave Diskpart:
				
					exit
				
			
  1. Input the command to navigate to the ISO:
				
					E:
				
			
  1. Input the command to access the boot directory:
				
					cd boot
				
			
  1. Input the command to refresh the boot code on the USB:
				
					bootsect /nt60 X:
				
			
  1. Input the command to transfer Windows 11 files to the USB:
				
					xcopy E:\*.* X:\ /E /F /H
				
			

 

Adjust ‘E’ and ‘X’ to the appropriate drive letters for the ISO and USB.

Once done, your bootable USB is ready for Windows 11 installations on UEFI systems.

Leave a Comment

Your email address will not be published. Required fields are marked *

Verified by MonsterInsights