Windows 11 doesn't recognize a user on startup
My windows 11 machine has failed to recognize a user profile on startup 3 times now. It seems to happen about every 2 months. When it does this all of my documents and settings are lost. After researching possible causes for this I found that an "improper" shutdown could cause this, however I always shut down my PC correctly. I don't do a forced shutdown by holding down the power button.
Event Viewer data from Kernel-Power shows several critical event ID #41 which says "The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly."
I have the PC on a UPS so it hasn't lost power. Is there a bug in windows 11 causing the windows kernel to loose power which then causes my user profile to be lost?