I used GParted and made a new partition for installing Ubuntu. I played with it for a while and decided to remove Ubuntu and set everything back to windows-only.
I entered into GParted and removed the linux partition and then resized the windows partition back to the full size of the hard disk. But when i tried to load Windows, i got "GRUB error 22" message and windows wouldn't load.
How can i fix this?