16 views +0 -0

Set current OS as default

When Windows shows the "Choose an operating system" menu at every boot (for example "Windows Rollback" plus duplicate Windows 11 entries), boot into the correct entry and run the script below as admin to make it the only, default entry without a timeout.

# Show before editing
bcdedit /enum {bootmgr}

# Back-up the BCD store
bcdedit /export C:\Windows\Temp\bcd-backup.bcd

# Make the running OS the default and the only entry in the menu
bcdedit /default {current}
bcdedit /displayorder {current}
bcdedit /timeout 0

# Show the result
bcdedit /enum {bootmgr}
Undo if needed
bcdedit /import C:\Windows\Temp\bcd-backup.bcd