Skip to content

Instantly share code, notes, and snippets.

@wildone
Last active July 27, 2021 02:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wildone/3df2a0c04404b7a29cb8bb098feb406f to your computer and use it in GitHub Desktop.
Save wildone/3df2a0c04404b7a29cb8bb098feb406f to your computer and use it in GitHub Desktop.
Setting up Windows 10 from scratch on UEFI motherboard

Setting up Windows 10 from scratch on UEFI

If you have a new motherboard that has UEFI and it detects your USB as a UEFI device and may give you issues installing.

So if you have issues you can follow these steps to move boot content from your USB to your new drive and then install will work.

1. Create bootable windows 10 disk

This will depend on which os you are using.

2. Create UEFI disks

Boot the setup process, skip key, press shif+f10 when on disk selection.

select disk 0
clean
convert gpt
create partition efi size=100
format quick fs=fat32 label="System"
assign letter="S"
create partition msr size=16
create partition primary 
shrink minimum=500
format quick fs=ntfs label="Windows"
assign letter="W"
create partition primary
format quick fs=ntfs label="Recovery"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001

Source

3. Make your windown partition into a bootable setup drive

C:
cd boot
bootsect /nt60 W:
xcopy C:\*.* W:\ /E /F /H

4. Unplug your USB and boot onto your HDD

  • Setup will run
  • Enter your product key
  • Select the patition called Windows and click next.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment