Sounds like a registry poblem try the following
Option 1:
Restart your computer using an anti-virus recovery boot disk, and perform a complete and thorough scan (including the MBR if you can) of your computer for viruses.
If a virus is discovered then this may very well be the cause of your problem. Unfortunately however, removing the virus may not actually fix the startup problem, because it has already corrupted the registry files.
Option 2:
Insert the Windows Vista installation disk, and restart the computer. This should automatically start the installation program, but you may need to press Enter during startup to confirm you want to boot from the installation disk.
Select your Language etc, and click on Next.
Near the bottom of the screen click on Repair your computer.
Select the operating system (if it isn't already selected), and click on Next.
Select Startup Repair and follow any instruction on the screen. Eventually you will need to restart the computer (don't forget to remove the installation disk first).
If the Startup Repair doesn't solve the problem, repeat all the step above and select System Restore, and follow the on-screen instructions. (This option will only be of use if a System Restore point was previously created while the computer was still functioning correctly).
If the System Restore option indicates that the disk has errors, click on the Check the disk for errors option. Note that this may possibly indicate that your hard disk may be getting bad and needs replacement, especially if similar problems are starting to occur more often.
Option 3:
Try this option if you have previously made a backup of your entire computer.
Repeat steps 1-4 of Option 2
Select Windows Complete PC Restore and follow the on-screen instructions.
Option 4:
Completely reinstall Windows Vista from scratch. Unfortunately this will mean losing all the files currently on your hard disk, but hopefully you're one of those wise people who have regularly created backups of their important files onto CD/DVD.
Repeat steps 1-3 of Option 2
Select Install, and follow the on-screen instructions.
Don't install any additional programs or allow any (automatic) updates to be downloaded and installed yet.
If after a few reboots the computer appears to be working fine, create a System Restore Point as follows:
Click Start > Control Panel > System and Maintenance > System Protection > System Protection tab > Create
If the problem re-occurs before installing any other programs or updates then you probably have a bad hard disk, which will need replacing.
Download any updates for Windows Vista and then reboot your computer a few times.
If the problem re-occurs after downloading and installing updates, then probably one of the updates is corrupt. In this case repeat steps 1-4 and then 6 of Option 2, to restore your system to the Restore Point you created in step 4, and then don't allow any Windows updates until Microsoft has come up with a fix.
If the problem does not re-occur, then you can start installing other programs.
Good luck
THIS POST WAS OF THE FOLLOWING SITE:
Black Screen with error 0xc00000e9 after reboot