Announcement

Collapse
No announcement yet.

Query User logged on and deny a script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Query User logged on and deny a script

    Hi,

    I a novice with VB scripting and was hoping someone can assist or provide me with a script to run off.

    Basically I want a script that queries a user session logged onto either Server 1, server 2, Server 3 (Which are in a separate OU) and denies the domain GPO logon script. But only if a session already exists, in other words the domain logon script should still execute for if the user is not logged on already on one of those servers. So if the user has an existing session already on one of the servers in the OU then deny the logon script.

    Hope that makes sense.

    Thanks
Working...
X