Windows – Black screen after login, how to disable runonce.exe

black-screen-of-deathlaptopmsconfigwindows 7

Yesterday I was installing Free Disk Usage Analyzer on my girlfriend's laptop. At the same time, some steam game of her was also running. During the process, the laptop suddendly stopped working, probably due to heat problems.

After waiting some time that it cools down, I restarted the laptop. It started normally and displayed login screen. After login, it did not displayed the desktop but a black screen and the mouse cursor. Then I tried

  • Using Alt+tab => No effect most of the time. Occasionally, some tiny bit of window about a driver for a lacking tablet displayed, but I think it is unrelated.
  • Using Windows+E => No effect but a Windows error sound
  • Using Ctrl + Alt + Suppr => working as expected

Then I launched task manager. No application was running. Looked into processes tab and did not notice anything weird at all (aside a huge load of crap processes that where mostly asus programs). But after right clicking anywhere on the screen, two more processes show up: Those are runonce.exe processes from Runonce Wrapper. Tried to terminate one of them and got the laptop working, back to its usual behaviour.

Then I guessed that those processes would have been set up by the Free Disk Usage Analyzer setup program before the laptop brutal shut down, so I restarted it, completed it and restarted the laptop. But problem was still here. Then I ran msconfig, but could not find any runonce program to disable.

So I am a bit out of clues now. How do I prevent that runonce processes to start after login and blocking the desktop?

Best Answer

Check all these in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce

All above entries are run at user logon.

Also, run MSCONFIG and also check the services part. some stuff may run as service.

PS. Instead of disk free usage analyzer, get diskstate.

Related Question