Answer by  
                                                                                          boat (28)
                                                            
                          
                          
                                                          If you can boot at all, e. g. into safe mode, use System Restore. If there is no way to successfully boot from disk, boot from your Windows installation CD and enter the recovery console. Then back up the files in c:\windows\system32\config and replace them with the good copies from c:\windows\repair.