![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Windows NT/2000/2003 Server/2008 Server Find support for Windows NT/2000/2003 Server/2008 Server editions. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2008
Posts: 89
OS: Win XP Pro/Server 2003
|
How can I configure PSshutdown to log off users in AD?
I was thinking maybe:
psshutdown -o -t 19:00 -v but I am not sure if that is even close. If that IS it, how do I assign that to an OU? |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: Jul 2008
Posts: 27
OS: XP SP2
|
Re: How can I configure PSshutdown to log off users in AD?
Hi,
Here u go to logoff the users remotely. But you should be a member of doman admins then only it will work. psshutdown -o -t 60 -f @hosts.txt To get an brief idea on psshutdown look into the attachment... Best of Luck :) |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Jul 2008
Posts: 27
OS: XP SP2
|
Re: How can I configure PSshutdown to log off users in AD?
I don't think , we can use this for OU.
You can specify the computer names what all computers you want to logoff from sessions by adding a perameter @computernames.txt. For this you just have all the computernames in one text file and specify the file in the psshutdown command. As i given psshutdown -o -t 60 -f @hosts.txt Consider that hosts.txt is having the computernames. Thanks, |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Jul 2008
Posts: 27
OS: XP SP2
|
Re: How can I configure PSshutdown to log off users in AD?
yes, you can make a bat file. Put that whole command in bat file and schedule the batch file from your machine by going Control Panel --> Schedule Tasks. It will work buddy.
Thanks, |
|
|
|
![]() |
| Thread Tools | |
|
|