It seems like you're experiencing an issue with your Windows Server 2022 Data Center where the screen goes blank after a few seconds of idleness and then shows the login screen. Additionally, you mentioned that no domain policies are loaded and there is a log in Event Viewer regarding a task called UserTask-Roam that corresponds to the time of the log off.
To troubleshoot this issue, here are some steps you can try:
1. Disable the UserTask-Roam task: Since the UserTask-Roam task is triggering the log off, you can try disabling this task to see if it resolves the issue. Open Task Scheduler, navigate to Task Scheduler Library -> Microsoft -> Windows -> UserTask-Roam, and disable the task.
2. Power Plan settings: You mentioned that you've...