To create a startup disk using a USB drive for your laptop, follow these steps:
- Download the Windows installation media: You can download the Windows installation image from the official Microsoft website.
- Prepare the USB drive: Connect your USB drive to your computer. Make sure to back up any important data on the USB drive, as this process will erase all existing data.
- Open Diskpart:
- Press
Windows + Rto open the Run dialog. - Type
cmdand pressEnterto open the Command Prompt. - Type
diskpartand pressEnter.
- Press
- List the disks: In the Diskpart command prompt, type
list diskto see all connected drives. Identify your USB drive by its size. - Select the USB drive: Type
select disk <number>(replace<number>with the disk number of your USB drive). - Clean the USB drive: Type
cleanand pressEnter. This will remove all partitions from the USB drive. - Create a new partition: Type
create partition primaryand pressEnter. - Format the USB drive: Type
format fs=fat32 quickand pressEnterto format the drive to FAT32. - Make the partition active: Type
activeand pressEnter. - Exit Diskpart: Type
exitand pressEnterto close Diskpart. - Copy Windows files to USB: Use the
MakeWinPEMediacommand or simply copy the Windows installation files to the USB drive. For example, you can use:
MakeWinPEMedia /UFD C:\winpe_amd64 P:
(Replace P: with your USB drive letter).
- Boot from USB: Restart your laptop and enter the BIOS/UEFI settings to set the USB drive as the primary boot device. Save the changes and exit.
After these steps, your laptop should boot from the USB drive, allowing you to install or repair Windows.