Windows Vista e schermo nero all’avvio

Se all’avvio dopo avere scelto l’utente con cui autenticarsi si presenta uno schermo nero, ma con il mouse funzionante il motivo potrebbe essere quello descritto nel seguente articolo della KB When you start a Windows Vista-based computer, the system may stop responding (hang) at a black screen:

“When you start a Windows Vista-based computer, the system may stop responding (hang) at a black screen.
Additionally, you may experience the following symptoms when you try to recover from this problem:

  • If you restart the computer, press F8 before the Windows Vista progress indicator appears, and then click the Safe Mode option, the same problem occurs.
  • If you start Windows Recovery Environment (WinRE) to restore the Windows Vista-based computer, WinRE stops responding.
  • If you try to use Windows Vista installation media to repair the system, the system stops responding.

Il comportamento come descritto si verifica anche i modalità provvisoria, la causa è dovuta alla corruzione della directory $Txf:

“This problem may occur because of file system corruption within the $Txf directory. This corruption causes a deadlock condition between the Transactional NTFS (TxF) process and the Autocheck process.”

La soluzione proposta dall’articolo è quella di una reinstallazione, ma nel mio caso il problema si è risolto nel seguente modo:

  1. Avvio del sistema in modalità provvisoria con prompt dei comandi (la shell dei prompt dei comandi viene visualizzata)
  2. Esecuzione del comando chkdsk c: /F /R /x che al riavvio del computer eseguirà un controllo e una correzione degli errori su disco e dei settori dannegiati
  3. Esecuzione del comando shutdown -r  per riavviare il computer.