small instructions:e.c. current boot order:Open a terminal (“CTRL” + “ALT” + “T.”) and enter the command. sudo nano /etc/default/grub
Change default value:GRUB_DEFAULT=2
Since Windows is placed 3rd in the boot order and the order starts with 0, in the special case you change GRUB_DEFAULT from 0 to 2.
save changes:Close the file with the F2 key and confirm saving with “Y” (Yes).
And also confirm “File name to save” with the ENTER key.
update grub:After saving, the values are written to the boot manager using the following command. A restart now results in Windows booting automatically.
sudo update-grub
grub menu after boot:The preselection is set to 'Windows Boot Manager' in the GRUB boot menu.