Skip to content

If you are connected to a remote machine user via RDP protocol and another user tries to connect to this same user at the same machine, he will steal the session from you without even asking you. How can you prevent your session to get stolen by another user? This Powershell Script can solve this problem. Open the script, insert the username you…

Notifications You must be signed in to change notification settings

LuizFerreiraAlves/Script_for_RDP_Sessions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Save this file as a Windows Powershell Script (or .txt file) at Group Policy Editor:

Type gpedit.msc at Windows menu:

User Configurations - Windows Settings - Scripts (Logon/Logoff) - Logon Scripts

DON'T FORGET TO CHANGE THE SPACES WITH 'Your_user' BY THE USER YOU ACCESS VIA RDP PROTOCOL.

About

If you are connected to a remote machine user via RDP protocol and another user tries to connect to this same user at the same machine, he will steal the session from you without even asking you. How can you prevent your session to get stolen by another user? This Powershell Script can solve this problem. Open the script, insert the username you…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published