Ubuntu - Grub - Set Windows as default OS when dual booting

Edit /boot/grub/menu.lst.

vi /boot/grub/menu.lst

Look for default = 0

You will need to change that number 0 to match the Windows boot section.

Typically it’s always going to be 4 on a default dual-boot configuration.

Change this value to 4, and then save and reboot your machine.

You should go into Windows instead of Linux automatically.