A repair of windows will sort this out.
Insert your windows cd and reboot.
Press any key to boot from cd.
Proceed as if installing windows, accept the licence agreement. You will now get the option to repair the existing installation.
You will need your cd key. If your pc is connected to the internet it will automatically activate windows on the first reboot.
Once complete I would install Service pack 3.