How do I make Windows 7 the default OS instead of ubuntu?

I was following this guide: http://www.howtogeek.com/howto/ubuntu/set-windows-as-default-os-when-dual-booting-ubuntu/ in order to make windows the default os when I boot the computer but the problem is that the file which opens when I run the commend which manshened in the text is empty and dosn't have any of the lines it should have according to the guide so can anybody help and tell me how to see the text or give another way of making windows 7 the default os?


Run this: sudo apt-get install startupmanager. Then you can launch startupmanager which gives you a GUI to change many settings, including default OS to boot.


What you also can do is:

sudo mv /etc/grub.d/30_os-prober /etc/grub.d/09_os-prober
sudo update-grub

Now Windows (or any other non-linux OS) is always on top of the list and you don't have to care about the menu position if there is a new kernel.