Service or task stop after close RDP session

Fajar Kurnia 40 Reputation points

Before I set GPO for hardening reason, I login with RDP and start some service or task and if I come back with same RDP and user, my task or service doesn't stop. But, after I set GPO if I come back with the same user, my task or service stops and I have to start again. Any suggestion about that? please.....

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,142 questions
{count} votes

Accepted answer
  1. Karlie Weng 12,366 Reputation points Microsoft Vendor

    Hello Fajar Kurnia

    Some GPO settings may control how user sessions are handled, especially in remote desktop environments. For instance, there are policies that dictate session timeouts, disconnection behavior, or even the ability to log off users after a certain period of inactivity. If any such policies are in place, they could influence the behavior you're experiencing. Certain security measures might also be set to restrict background processes when the user logs out. This is commonly done for security reasons to ensure that no unauthorized processes continue running in the background after a user disconnects. To narrow down the issue:

    • Review the specific GPOs you applied for hardening and look for any settings related to user sessions, session management, or restrictions on background processes.
    • Ensure that the GPOs are applied correctly to the user or computer.

    If you have any further questions or concerns about this case, please let me know.

    ---If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

0 additional answers

Sort by: Most helpful