Automatically Remove Access Sessions based on Idle time

Avatar
  • updated
  • Pending Review

This seems to be a bit of an oversight, but there should be a way to remove Access sessions idle for a certain time from the console. We are constantly adding new devices, re-imaging, etc. and the fact that the old sessions need to be manually removed makes keeping the console clean a bit of a nightmare. There should be an option within the database maintenance plans to remove idle devices > set number of days from the tenant. Our company automatically removes devices from the domain if they are idle for 90 days and I would love the ability to be able to remove the thousands of devices from our tenant that are not actual devices any longer.

Duplicates 1
Uninstall Access agents that have'nt been online for X amount of time

Creating a rule/group that removes/uninstalls Access agents if they haven't been online for more than one year.

Avatar
0
Caitlin M Barnes Team Member

Hi Mark, 

While we don't currently have a way automatically remove or uninstall Access agents, you can create a session group to corral all machines offline for over a year. The filter is GuestLastBootTime < $365DAYSAGO

Note that GuestLastBootTime is  is equivalent to the Uptime field on the General tab.

Avatar
0
Alex Heylin

You could use a script to make API calls to remove machines from this group, though we just do it manually when we there's a number in there (about every 6 months for us). In fact, you don't even need the group - script could query API for each machine, check the uptime and it sufficiently negative (offline for enough time) could then call API to end the session. 



Top contributors

Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar
Avatar