I've got a HP desktop running Windows 7. I changed the monitor to a Sony TV with a VGA input. I have a GeForce 8400 graphics card. The monitor is connected with a DVI to VGA adapter and then a VGA cable.
When I start up the Windows logo appears but the screen goes black before I get to the login screen. If I start up in Safe Mode, there's no problem.