Hi Brian,
Again, I appreciate you trying all of that and so sorry to hear the problem is still there. Here’s what we can try next, please unplug all additional USB devices, go to Device Manager, and right-click your mouse under Mice and other pointing devices, select the Properties, then Power Management, and kindly uncheck “Allow this device to wake the computer.” Next, let's fix any system files issue by going to the Command Prompt as Administrator, insert sfc /scannow, and press Enter to removed any issues. If you’re still getting logged out, you may create a new local user account and see if it keeps you signed in after a restart. Please also, unplug the mouse and test with just your controller plugged in to see if the issue still happens. I hope this helps.
Best Regards,
Jhun