Hello there,
If your computer shuts down and closes all programs after using a remote desktop connection, it could be due to several reasons. Here are some possible causes and troubleshooting steps:
Power settings: Check your power settings on the remote computer. It's possible that the power plan is set to automatically shut down or hibernate after a period of inactivity. Adjust the power settings to prevent the computer from shutting down or hibernating.
Network settings: Some remote desktop software or configurations have settings that allow the remote computer to shut down or restart after a session ends. Check the settings of your remote desktop software and ensure that there are no options enabled that cause the computer to shut down.
User session settings: Remote desktop sessions can be configured to automatically log off or disconnect after a certain period of inactivity. If your session is being terminated due to inactivity, adjust the session settings to keep the session active for a longer period or prevent it from disconnecting.
System updates: Ensure that the remote computer has all the necessary system updates installed. Sometimes, system updates can address specific issues related to remote desktop connections.
Check event logs: Examine the Event Viewer logs on the remote computer for any error or warning messages that might provide insights into the issue. Look for any events that occur around the time when the computer shuts down.
I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–