We have proposed a script to terminate the process when the screen locks. A scheduled task can be set up to kill the screen when the screen locks. And an accompanying script when the screen unlocks. The unlock is just the background login script already provided by us and the kill script is
set objwmiservice = getobject("winmgmts:\\.\root\cimv2")
strprocessname = wscript.arguments.item(0)
strquery = "select * from win32_process where name='" & strprocessname & "'"
set colitems = objwmiservice.execquery(strquery,,48)
for each objitem in colitems
objitem.terminate
next
where the script is wscript.exe
I haven't tested this in a windows server environment yet to check the ownership of the script and it's affect on the user logged into the Smoothwall. I hope to test later this week. The script does stop multiple instances of the login script running.
If anyone is able to test sooner then I would be interested in feedback.