The shutdown warning means Windows detected another signed-in session, but the warning alone—and especially one showing no username—is not evidence that someone hacked the PC.
Windows can retain a session when an account is locked or another user is selected instead of being signed out; switching users does not close the first account’s applications or session. Signing out explicitly closes that session and its open applications.^1^
Check which session caused it
If the warning reappears:
- Save your work rather than selecting Shut down anyway immediately.
- Right-click Start, open Command Prompt or Windows PowerShell, and run:
quser
- Review the USERNAME, STATE, and LOGON TIME columns. The
> symbol marks your current session; another Active or Disconnected entry indicates the additional session Windows detected.^2^
- If the additional entry is another legitimate account, have its owner sign in and then select Start → account picture → Sign out. Do not attempt to guess or reset an unfamiliar user’s password.
- After the session has been signed out, shut down normally.
If quser is not available on this Windows configuration, open Task Manager → Users and look for another account marked Active or Disconnected. An account merely appearing on the sign-in screen or Start menu does not establish that it is currently signed in.
Check the unusual startup sequence
The “preparing/setting up Windows” screen followed by another password prompt does not establish unauthorized access. It can also accompany a Windows sign-in or profile problem.
Check for a temporary profile:
- Open Start → Settings → Accounts → Sync your settings.
- Look for “You are logged on with a temporary profile”.
- If present, copy any files created during that session to an external drive, then restart and sign in again. Work left only in a temporary profile can be deleted when that account is signed out.^3^
Check for an unknown local account
Open Settings → Accounts → Family & other users and inspect the accounts listed under Other users.
If an account is genuinely unknown:
- Do not sign into it.
- From an administrator account, select it and choose Remove only after confirming that nobody legitimately uses it.
- Removing it deletes that account’s local data from this PC, although it does not delete the person’s Microsoft account.^4^
For reassurance, run an offline malware scan:
- Save all open work.
- Open Windows Security → Virus & threat protection → Scan options.
- Select Microsoft Defender Antivirus (offline scan) and start the scan.
- The PC will restart and scan outside normal Windows, making persistent malware more difficult to hide.
- After Windows restarts, open Windows Security → Protection history to review the result.^5^
If Windows uses a Microsoft account, also review its Recent activity. It shows significant sign-ins from the previous 30 days, including device, method, and location details:
- For an entry under Unusual activity, select This wasn’t me if it is unrecognized.
- For suspicious ordinary Recent activity, select Secure your account.
- Change the password and update security settings if an unauthorized successful sign-in or account change appears.^6^
If the scan is clean, Recent activity is recognized, and no unknown local account exists, the shutdown message was most likely reporting a retained Windows session rather than an intruder.
Windows 10 reached end of support on October 14, 2025 and generally no longer receives standard free security updates. Upgrade to Windows 11 if the PC is eligible, or use an applicable Extended Security Updates arrangement while planning the migration.^7^
If an unknown account returns after removal, Recent activity confirms an unauthorized successful sign-in, or Defender repeatedly detects malware, disconnect the PC from the network and contact Microsoft Support.
References
- [Windows 10](https://support.microsoft.com/accounts-billing/security/user-account-access-in-windows#sign-out)
- quser
- [Windows 10](https://support.microsoft.com/windows/deployment/install-upgrade/find-lost-files-after-upgrading-windows#see-if-you're-signed-in-with-a-temporary-profile)
- Manage User Accounts in Windows | Microsoft Support
- Virus and Threat Protection in the Windows Security App | Microsoft Support
- Check the recent sign-in activity for your Microsoft account
- Xbox PC Error,0x8009030D,Windows 10 Professional - Microsoft Q&A