Hi Rushikesh,
To ensure a complete sign-out from a VM if a user closed or disconnected it, try these steps below:
Remote Desktop Settings:
- Go to the VM settings, find the "Remote Desktop" options.
- Enable the setting that logs off a user when they disconnect.
Group Policy Object:
- Open
gpedit.msc
. - Navigate to
Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Session Time Limits
. - Enable and configure “Set time limit for disconnected sessions” to a short duration.
Ensure you test this in a controlled environment first. If it works as expected, you can then implement it in your main environment.
If the answer is helpful, please click "Accept Answer" and kindly "Upvote" it.
If you have additional question(s) about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.