Well, for 1 that can't happen as you would be warned about doing something like that and if you did you are left with one option.
Re-installing the os and providing the license key provided with your os disk!
ps. in the future don't do stuff like that!!!