REM Handle first phase of Windows 11 installation, 22H2, 23H2

REM Author: emptythevoid

REM Next
ALT y

DELAY 100

REM Install Now
ENTER

DELAY 20000

REM License
SPACE

ALT n
DELAY 2000

REM Type of Installation - Custom

ALT c
DELAY 1000

REM Delete any and all partitions
REM should be able to simply repeate this over and over after the fisrt one
REM as soon as all are gone, the command will trigger the Next button 
REM and begin installation

ALT d
DELAY 200
TAB
ENTER
DELAY 2000

REM repeat the blocks below for however many partitions you think you'll need to remove

DOWN
ALT d
DELAY 200
TAB
ENTER
DELAY 2000

DOWN
ALT d
DELAY 200
TAB
ENTER
DELAY 200

DOWN
ALT d
DELAY 200
TAB
ENTER
DELAY 2000

DOWN
ALT d
DELAY 200
TAB
ENTER
DELAY 2000

DOWN
ALT d
DELAY 200
TAB
ENTER
DELAY 2000

REM one up arrow partition removal, for safety
UP
ALT d
DELAY 200
TAB
ENTER
DELAY 2000


REM Assume that NO partitions exist.
ALT n