How to set Windows 10 as default in Ubuntu (grub) boot loader

 The following steps show how to set Windows 10 as the default operating system when using the Ubuntu (grub) boot loader.

This is for when you are dual-booting Windows 10 and Ubuntu.

We’ll be using the Grub Customizer software by Daniel Richter.

Step 1: Install the Grub Customizer software

  1. If you haven’t already, boot into Ubuntu
  2. Click on the ‘Show Applications’ icon at the bottom right on the screen
  3. Type “terminal” and click on the icon when it appears 
  4. In the terminal – run the following command
  5. sudo add-apt-repository ppa:danielrichter2007/grub-customizer
  6. Enter your password
  7. Press ‘Enter’ on your keyboard when prompted
  8. Now run the following command
  9. sudo apt-get update
  10. When it’s done, run the following command and enter ‘Y’ when prompted
  11. sudo apt-get install grub-customizer

Step 2: Change the boot order

  1. Click on the ‘Show Applications’ icon at the bottom right on the screen
  2. Type “Grub” and click on the Grub Customizer icon when it appears 
  3. Enter your password in the prompt and click ‘Authenticate’
  4. In the list you will see the item for your Windows 10 installation. Click on it.
  5. Now use the arrows in the toolbar to move it to the top of the list.
  6. Click ‘Save’
  7. Now restart your computer and confirm that Windows 10 is now the default boot option.