Check whether each browser is deleting its sign-in cookies when it closes; if cookies remain but disappear only after Windows restarts, check whether Windows is loading a temporary or damaged user profile.
1. Test cookie persistence
Cookies commonly store website sign-in information, and deleting them signs you out of most sites.^1^
In Microsoft Edge:
- Open Settings and more (…) → Settings → Privacy, search, and services.
- Select Cookies.
- Turn on Allow sites to save and read cookie data (recommended).
- Under Clear browsing data, select Choose what to clear every time you close the browser.
- Turn Cookies and other site data off.
- Sign in to a website, close Edge completely, reopen it, and check whether you remain signed in.
- Restart Windows and test the same website again.
Repeat the equivalent cookie and “clear data on exit” check in every affected browser. Also ensure that you are using a normal browser window—not InPrivate, Incognito, or Guest mode. Edge deletes cookies and site data when all InPrivate windows close.^2^
Interpret the result:
- Signed out immediately after closing one browser: that browser’s cookie/privacy configuration is responsible.
- Cookies survive closing the browsers but disappear after restart: continue with the Windows profile check.
- Only one website is affected: the problem is likely specific to that site rather than Windows.
2. Check whether Windows is using a temporary profile
After restarting, look for either of these notifications:
- We can’t sign in to your account
- You’ve been signed in with a temporary profile
Also check whether the desktop, wallpaper, app settings, or files appear reset. Windows creates a temporary profile when the normal profile cannot load; work saved in that temporary profile can be lost when you sign out.^3^
If either notification appears:
- Save anything created during that session to an external drive. Do not store important files in the temporary profile.
- Restart into Safe Mode and sign in with the original profile.
- Restart normally and sign in again. More than one restart may be required.
- Confirm that the original desktop, settings, and browser sessions return.^3^
If the original profile still cannot load, create a new local administrator account, sign in to it, and migrate personal files from the old profile. Microsoft’s profile-recovery procedure uses C:\Users\<Old_Username> and C:\Users\<New_Username> for that migration; applications may need reconfiguration afterward.^4^
3. If cookies and the Windows profile both persist
Because several browsers are affected, inspect any antivirus, privacy utility, “PC cleaner,” or browser extension configured to erase browsing data at shutdown. Temporarily disable only its browser-data cleanup feature, sign in to a test site, restart once, and retest. Avoid clearing cookies during this test, since that necessarily signs you out.
If Microsoft-account applications—not just websites—also begin signing out, open Credential Manager from Windows Search and inspect saved credentials. A similar cross-application case was addressed by signing out, removing entries associated with the affected account, restarting, and signing in again.^5^ This resets saved app credentials, so use it only if installed applications are affected too.
References
- Manage cookies in Microsoft Edge: View, allow, block, delete and use
- Microsoft Edge, browsing data, and privacy | Microsoft Support
- "We can't sign in to your account" error message | Microsoft Support
- Fix a corrupted user profile | Microsoft Support
- Always being logged out of my accounts in windows and edge - Microsoft Q&A