Link to home
Start Free TrialLog in
Avatar of jmaglapit
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.
Avatar of _anom_
_anom_

Open the user in active directory, go to the account tab, and click the log on to... button

there you should be able to restrict what computers it can log on from

Cheers
Avatar of jmaglapit

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.
i have seen it before.  it work fine
can anyone else help
ASKER CERTIFIED SOLUTION
Avatar of Gargantubrain
Gargantubrain
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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