Possible solutions/causes:
- Don't have any devices (USB, HDMI, etc.) connected during boot
- Press Enter / click left on mouse multiple times in succession until the lock screen comes back
- Run sfc /scannow
- Run DISM /Online /Cleanup-Image /RestoreHealth
- To shrink the disk, run Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
Dism.exe /online /Cleanup-Image /SPSuperseded
- Disable startup items - Autoruns
- Disable Windows telemetry e.g. OO ShutUp10 or reclaimWindows10.ps1
Windows Event Logs
Antivirus logs