Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

Error Code error-bad-logon-session-state — Windows 11

ERROR_BAD_LOGON_SESSION_STATE = 1365

65% úspěšnost
👥 0+ uživatelů ověřilo
📅 Aktualizováno: 2026-08-12
⏱️ 20 min čtení
Oprava založena na komunitních zprávách a expertní analýze. Naposledy ověřeno: 2026-08-12 · Jak ověřujeme opravy
Error Codeerror-bad-logon-session-state
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time20 min
Requires Admin Rights⚠️ Yes

Postup řešení

  1. 1 Press Win+R, type 'cmd', and press Ctrl+Shift+Enter to open Command Prompt as admin. Type 'query session' and press Enter. This lists all active sessions. Look for sessions with a state of 'Disc' (disconnected) or 'Conn' (connected) that seem stuck. Note the session IDs.
  2. 2 For any stuck sessions, type 'logoff [sessionID]' and press Enter. This forcefully ends the session, clearing the bad state. Be careful: this will log off any user in that session.
  3. 3 If the error is related to a service, open Services (Win+R, services.msc). Find the service that's failing. Right-click and select 'Restart'. This resets the service's logon session.
  4. 4 Check the Windows Event Log for more details: Press Win+R, type 'eventvwr.msc', and go to Windows Logs → Security. Look for logon failures with error code 1365. This will tell you which account or process is affected.
  5. 5 If the error persists, run a system file check: In the admin Command Prompt, type 'sfc /scannow' and press Enter. This repairs corrupted system files that might be causing the session state issue.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Stále máte problémy?

Popište svůj přesný problém Error Buddymu a získejte personalizovanou opravu během několika sekund.

🛠️ Vyzkoušet Error Buddy — Zdarma