have you tried restarting in safe mode? hitting f8 as windows starts to load. If it starts in safe mode you can then run sfc /scannow and it may put things right. The next step if safe mode will not load is to boot from the xp cd and when asked to install go for repair xp. I assume it is xp but you did not say.