Logged on and locked

Comments

5 comments

  • Jason Hanks

    Hi Thomas,

    This is not a bug but can be confusing.  We take the states from Windows.  Only run if a user is logged on should only run if the user is Logged in or Locked and Only run if no user is logged on should only run if the user is Logged Off or Disconnected.  We'll work with the developers to add this to the product so it's easier to catch.

    0
    Comment actions Permalink
  • Bob Westin

     I have a followup question regarding this. I have to deploy a new antivirus at my company and want it to deploy during the night when noone is working. My problem is that people have a tendency to not sign out and sometimes not even saving their work when they leave. So i have to find a solution to push the new AV to computers that people is signed out of. I thought that "Only run if no user is logged on" would have been the solution but as i found out yesterday that doesnt work if the user is logged in and the computer is locked. Is there any way to do what i want?

    The package involves uninstall of the old AV and then a force reboot so i have to make sure that it only runs on computers the users are signed out of.

    0
    Comment actions Permalink
  • Drewswiz

    Conversely, the condition "Only Run if a user is logged on" also detects locked state as not logged on.  For a message, this is problematic if you want to give the user 10-15 minutes to close the applications being updated before you kill them.  If they happen to be away and return to their desk and unlock, they may not be aware. If you can determine (locked) in Inventory why not Deploy?

    0
    Comment actions Permalink
  • Yosef Aiasa

    Hi,

    How can i monitor the user logon\logoff time on the inventory?

    0
    Comment actions Permalink
  • Colby Bouma

    This PowerShell Scanner shows the last logon time for every user on a system by searching through the Event Log. You could modify it to also grab logoff time.

    https://github.com/pdq/PowerShell-Scanners/tree/master/PowerShell%20Scanners/User%20Last%20Logged%20On

    0
    Comment actions Permalink

Please sign in to leave a comment.