2LL
asked on
Logoff user from multiple computers
Hi There,
I am looking for the VBScript that for the user logoff immediately. The user is logging onto multiple system. I don't know what systems that user logon, but I need this user logoff from all the systems that user logging on, then allow user log back on to get new logon script.
Thank you very much for your help.
2LL.
I am looking for the VBScript that for the user logoff immediately. The user is logging onto multiple system. I don't know what systems that user logon, but I need this user logoff from all the systems that user logging on, then allow user log back on to get new logon script.
Thank you very much for your help.
2LL.
ASKER
MidnightOne.
I don't know what computers user are logging on. How can I check?
I don't know what computers user are logging on. How can I check?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
copy to a domain controller.
open a command prompt
CD to the directory where you put the Pstools folder
type psloggedon.exe UserName (e.g. JSmith)
Once the system is found with that user's logon run psshutdown from a command prompt:
psshutdown.exe -f -t 0 -o \\COMPUTERNAME
HTH
MidnightOne