Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LuizFerreiraAlves/Script_for_RDP_Sessions
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 are connected to and save this script at "Group Policy Editor" - "User Configuration" - "Windows settings" - "Scripts (Logon/Logoff)" - "Logon Scripts"
https://github.com/LuizFerreiraAlves/Script_for_RDP_Sessions
powershell rdp
Last synced: 10 days ago
JSON representation
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 are connected to and save this script at "Group Policy Editor" - "User Configuration" - "Windows settings" - "Scripts (Logon/Logoff)" - "Logon Scripts"
- Host: GitHub
- URL: https://github.com/LuizFerreiraAlves/Script_for_RDP_Sessions
- Owner: LuizFerreiraAlves
- Created: 2018-03-30T21:44:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-31T17:51:08.000Z (almost 5 years ago)
- Last Synced: 2024-08-02T02:16:59.445Z (3 months ago)
- Topics: powershell, rdp
- Language: PowerShell
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.