NT logon
how can i stop users logging onto more than one workstation at a time in 98/nt/win2k
thanks
stephen
Windows Forum
how can i stop users logging onto more than one workstation at a time in 98/nt/win2k
thanks
stephen
From your Server go to Start-Programs- Administrative tools-User Manager for domains.
when opened double click on the user that you want to grant him the access on one machine or several, you will got a screen, click on Logon To buttom and there you should choose:
-Use May Log on To these workstations
Put the Machine name that the user could log on, but don't forget that each machine should have a name on your Network.
By this way you can prevent this user from using any other machine not included in the List.
You can contact me any time if you still facing this problem
Good Luck
by ironvid
one way might be to add a few lines to the logon script.
do a netsend to their account.
do an nbtstat -c
parse the output with the for /f command
if the ip in the list that matches their account name is the same as the local IP let them logon,otherwise log them back off with the ntrekit logoff.exe command
It would take a few minutes to write but, I'm pretty sure it would work.
I found a couple more ideas
http://www.jsiinc.com/TIP0200/rh0296.htm
http://www.jsiinc.com/tip0100/rh0175.htm
I just had to work on this one a little more. Try this in the logon script, it may need to be modified slightly to detect OS version first then parse the nbtstat info differently because W2K has a slightly different output, but its a good start.
@echo off
net send %username% .
for /f "Tokens=2 Delims=[] skip=1" %%i in ('ping -n 1 %computername%') do set ip=%%i
echo Local IP is %ip%
FOR /f "skip=5 tokens=1-4" %%a in ('"nbtstat -c"') do set name=%%a&set var2=%%b&set var3=%%c&set var4=%%d&call :check1
goto end
:check1
IF /I (%name%)==(%username%) call :check2
goto :EOF
:check2
IF /I (%ip%)==(%var2%) logoff /F /N
IF /I (%ip%)==(%var3%) logoff /F /N
IF /I (%ip%)==(%var4%) logoff /F /N
goto :EOF
:end
by ironvid
by ironvid
This discussion is closed to new replies.
Sort by Trending