jmaglapit
asked on
xp login
i have a account that is used in the trainning lab. but soime users are using the account at other computers. is there any way i can have a script run at login that check to see if it is a tranning pc and if not it logs the user out i have about 60 tranning pc's.
ASKER
i have 800 pc in the building is there a script that run on login
A script that ran at logon wouldnt be as effective as the method i gave above, just go into active directory and change their account to only allow access from the specified pcs.
ASKER
i have seen it before. it work fine
ASKER
can anyone else help
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In Windows 2000 and XP there is a built-in "logoff" command you could try instead of shutdown -l
The Microsoft Windows NT Server 4.0 Resource Kit Supplement 4 also contains logoff.exe if you need it for systems without it built-in
The Microsoft Windows NT Server 4.0 Resource Kit Supplement 4 also contains logoff.exe if you need it for systems without it built-in
Here is a page that tells how to do a logoff in various operating systems, and includes a link to PSShutdown on Sysinternal's site...
http://www.robvanderwoude.com/shutdown.html
http://www.robvanderwoude.com/shutdown.html
there you should be able to restrict what computers it can log on from
Cheers