Skip to content

App I wrote that lists users on Windows servers and makes it easy to kill their sessions

License

Notifications You must be signed in to change notification settings

Caleb68864/AD-Session-Killer

Repository files navigation

AD Session Killer

App I wrote that lists users on Windows servers and makes it easy to kill their sessions

Currently it only works for citrix and remote desktop sessions, but modifying this line "if line.startswith((' ica-cgp#', ' rdp-tcp#')):" should allow managing other types of user sessions.

How to Use

Typing the server names separated by spaces into the servers text box and clicking "Refresh" will list all the users on the servers alphabetically.

To kill a users session select their name from the list and click the "Kill Session" button.

The "Clear" button clears the server field and the table of users.

You can also add a file named "servers.txt" to the directory of main.py with one server name on each line. This will load the "Server:" text box on launch

Use RunAsAdmin.bat to run the script as a network admin.

In order for this app to work the computer it is run on must have QWINSTA installed.

About

App I wrote that lists users on Windows servers and makes it easy to kill their sessions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published