Hi!

How do I determine if a Windows2000 client that is logging in, is doing that through RAS ???

Our old script looks like this (this is for Windows95 machines) :
-----------------------------------------
$ras_value=readvalue("HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\REMOTE ACCESS","remote connection")

if $ras_value=01000000
; the thing to dooo
end if
-----------------------------------------

This doesnt work on windows2000 clients.
Of course, because the registry doesn't look the same.

Anyone who can help me rewrite this so it also works for Windows2000 clients ?

Regards,
Stefan

Added: Im using vesion 3.63

[This message has been edited by stefank (edited 05 June 2001).]