logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Ben B  
#1 Posted : Friday, October 27, 2017 2:09:42 PM(UTC)
Ben B


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 10/2/2015(UTC)
Posts: 307

Thanks: 1 times
Was thanked: 63 time(s) in 58 post(s)
Selective Lock on Disconnect: Requires ConnectWise Control 6.3+

UserPostedImage

Purpose: Users with permission to edit sessions can tag access sessions that should be automatically locked when the last host disconnects from the session. When the last host disconnects from an access session that has been tagged in this way, the extension queues a tool to run on the remote machine. The tool executes a small batch script that calls into the Windows API LockWorkStation, which locks the guest machine. This extension only applies to Windows access machines.

Extension Settings:

UserPostedImage


Enabling lock on disconnect for access sessions via the Host page:

UserPostedImage

Edited by user Friday, October 27, 2017 2:11:17 PM(UTC)  | Reason: words

ScreenConnect Team
Ben B  
#2 Posted : Monday, November 13, 2017 6:39:49 PM(UTC)
Ben B


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 10/2/2015(UTC)
Posts: 307

Thanks: 1 times
Was thanked: 63 time(s) in 58 post(s)
Version 1.0.1 of this extension has been released.

The update adds a "Disable Lock on Host Disconnect" command to the host page in order to remove the LockOnDisconnect tag from selected sessions.
ScreenConnect Team
paulrick  
#3 Posted : Thursday, November 16, 2017 8:01:53 PM(UTC)
paulrick


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 3/9/2011(UTC)
Posts: 112
Location: Lancaster, Pennsylvania

Thanks: 7 times
Was thanked: 2 time(s) in 2 post(s)
Is there anyway to get some sort of icon or identification that the session has this feature enabled?
Ben B  
#4 Posted : Thursday, November 16, 2017 8:15:42 PM(UTC)
Ben B


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 10/2/2015(UTC)
Posts: 307

Thanks: 1 times
Was thanked: 63 time(s) in 58 post(s)
Originally Posted by: paulrick Go to Quoted Post
Is there anyway to get some sort of icon or identification that the session has this feature enabled?


I will investigate ways to make it more apparent which sessions have the feature enabled.

In the meantime, you can create a new session group with the following session filter to pick out sessions on which the LockOnDisconnect tag has been added to the custom property specified by the CustomPropertyNumber extension setting value (by default, the extension uses custom property 6, to which the text specified by the LockOnDisconnectTag setting value is added when the feature is enabled):

Code:
CustomProperty6 LIKE '*LockOnDisconnect*'
ScreenConnect Team
shawn.f  
#5 Posted : Friday, January 5, 2018 10:02:38 PM(UTC)
shawn.f


Rank: Guest

Joined: 1/5/2018(UTC)
Posts: 3

Can any of the values be changed to enable lock on disconnect for clients by default, and then allow toggling from there?
Ben B  
#6 Posted : Monday, January 8, 2018 2:05:30 PM(UTC)
Ben B


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 10/2/2015(UTC)
Posts: 307

Thanks: 1 times
Was thanked: 63 time(s) in 58 post(s)
Originally Posted by: shawn.f Go to Quoted Post
Can any of the values be changed to enable lock on disconnect for clients by default, and then allow toggling from there?


You should be able to select all machines, right click, and select "Lock on Host Disconnect" -- this will enable lock on disconnect for all machines by updating the value of custom property 6. Then select some subset of machines, right click, and select "Disable Lock on Host Disconnect" to disable the feature on those machines (the tag is removed from custom property 6):

UserPostedImage
ScreenConnect Team
shawn.f  
#7 Posted : Monday, January 8, 2018 2:11:05 PM(UTC)
shawn.f


Rank: Guest

Joined: 1/5/2018(UTC)
Posts: 3

Okay. But then any machines added after that will still not default to that, so we'd have to do it manually?
Ben B  
#8 Posted : Monday, January 8, 2018 2:14:32 PM(UTC)
Ben B


Rank: Administration

Medals: Level 2: Lent a Helping Hand! 10 Thanks!

Joined: 10/2/2015(UTC)
Posts: 307

Thanks: 1 times
Was thanked: 63 time(s) in 58 post(s)
Originally Posted by: shawn.f Go to Quoted Post
Okay. But then any machines added after that will still not default to that, so we'd have to do it manually?


Correct; however, you could build an access installer in such a way that custom property 6 is set to the value "LockOnDisconnect" so that the machine will be locked on host disconnect by default after it calls back to the server.
ScreenConnect Team
shawn.f  
#9 Posted : Monday, January 8, 2018 3:26:42 PM(UTC)
shawn.f


Rank: Guest

Joined: 1/5/2018(UTC)
Posts: 3

Great, thanks!
cps2  
#10 Posted : Wednesday, January 17, 2018 9:22:29 PM(UTC)
cps2


Rank: Newbie

Joined: 2/16/2015(UTC)
Posts: 12
United States
Location: San Diego

Terrific extension.

We use to autolock servers on disconnect, which works great as we already have an identifying field for the value "Server" for grouping purposes.

Question: is it possible to suppress the menu entries for enable / disable since we don't use those? Probably removing a couple of lines of code would do the trick but I don't want to make that edit without knowing which lines to remove.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.