#9182 - 2001-06-05 05:18 PM
Check for RAS from W2K machines ???
|
Anonymous
Anonymous
Unregistered
|
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).]
|
|
Top
|
|
|
|
#9184 - 2001-06-06 10:32 AM
Re: Check for RAS from W2K machines ???
|
Anonymous
Anonymous
Unregistered
|
Yeah, i noticed there was a RAS macro (number of RAS connections).But how do I use it ?
|
|
Top
|
|
|
|
#9185 - 2001-06-07 12:23 AM
Re: Check for RAS from W2K machines ???
|
Anonymous
Anonymous
Unregistered
|
I found this on another site :"For WinNT use the CheckRas utility from the resource kit and check the @error macro. If @error=1 $RAS=YES endif " Is that the only way ? If I use the RAS macro, do i also have to use the CheckRas utility ? Please help
|
|
Top
|
|
|
|
#9187 - 2001-06-06 02:37 PM
Re: Check for RAS from W2K machines ???
|
Anonymous
Anonymous
Unregistered
|
oh....THANKS Jochen!Do you know how to do it in earlier versions of Kix ? Is there a way to do it without the @RAS-macro ? Let say, using the registry for instance ? /Stefan
|
|
Top
|
|
|
|
#9189 - 2001-06-06 03:06 PM
Re: Check for RAS from W2K machines ???
|
Anonymous
Anonymous
Unregistered
|
Ok, thanks for your help!
|
|
Top
|
|
|
|
#9190 - 2001-06-07 04:42 AM
Re: Check for RAS from W2K machines ???
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,The @ras macro was introduced at kixtart version 3.40 A complete list of kixtart updates is.
- first number is introduction of command, function or macro.
no number means: it was there from the beginning.
- second number is remove of some statement. only the OLExx functions
are removed at kixtart 2001 and are replaced by other functions.
code:
'addkey ', {* functions *} 'addprinterconnection ', {* functions *} 'addprogramgroup ', {* functions *} 'addprogramitem ', {* functions *} 'address ', {* macro's *} 'and ', {* boolean *} 3.15 'asc ', {* functions *} 3.46 'at ', {* functions *} 'backupeventlog ', {* functions *} 3.61 'beep ', {* commands *} 'big ', {* commands *} 'box ', {* functions *} 'break ', {* commands *} 'call ', {* commands *} 'case ', {* commands *} 3.37 'cd ', {* commands *} 'chr ', {* functions *} 3.30 'cleareventlog ', {* functions *} 3.61 'close ', {* functions *} 3.30 'cls ', {* commands *} 'color ', {* commands *} 'comment ', {* macro's *} 'comparefiletimes ', {* functions *} 3.40 'cookie1 ', {* commands *} 'copy ', {* commands *} 3.40 'createobject ', {* functions *} 4.00 'csd ', {* macro's *} 4.00 'curdir ', {* macro's *} 3.46 'date ', {* macro's *} 'day ', {* macro's *} 'dectohex ', {* functions *} 3.60 'del ', {* commands *} 'delkey ', {* functions *} 'delprinterconnection ', {* functions *} 'delprogramgroup ', {* functions *} 'delprogramitem ', {* functions *} 'deltree ', {* functions *} 'delvalue ', {* functions *} 'dim ', {* commands *} 'dir ', {* functions *} 3.60 'display ', {* commands *} 'do ', {* commands *} 3.15 'domain ', {* macro's *} 'dos ', {* macro's *} 'each ', {* commands *} 4.00 'else ', {* commands *} 'endif ', {* commands *} 'endfunction ', {* commands *} 4.00 'endselect ', {* commands *} 3.37 'enumgroup ', {* functions *} 3.45 'enumipinfo ', {* functions *} 4.00 'enumkey ', {* functions *} 'enumlocalgroup ', {* functions *} 3.45 'enumvalue ', {* functions *} 'error ', {* macro's *} 'execute ', {* functions *} 3.60 'exist ', {* functions *} 'existkey ', {* functions *} 'exit ', {* commands *} 'expandenvironmentvars', {* functions *} 3.61 'flushkb ', {* commands *} 'for ', {* commands *} 4.00 'fullname ', {* macro's *} 'function ', {* commands *} 4.00 'get ', {* commands *} 'getdiskspace ', {* functions *} 3.53 'getfileattr ', {* functions *} 3.60 'getfilesize ', {* functions *} 3.60 'getfiletime ', {* functions *} 3.53 'getfileversion ', {* functions *} 3.40 'getobject ', {* functions *} 4.00 'gets ', {* commands *} 'global ', {* commands *} 'go ', {* commands *} 'gosub ', {* commands *} 3.37 'goto ', {* commands *} 'homedir ', {* macro's *} 'homedrive ', {* macro's *} 3.40 'homeshr ', {* macro's *} 'hostname ', {* macro's *} 3.30 'if ', {* commands *} 'in ', {* commands *} 4.00 'ingroup ', {* functions *} 'instr ', {* functions *} 'inwin ', {* macro's *} 'ipaddress0 ', {* macro's *} 3.30 'ipaddress1 ', {* macro's *} 3.30 'ipaddress2 ', {* macro's *} 3.30 'ipaddress3 ', {* macro's *} 3.30 'keyexist ', {* functions *} 4.00 'kix ', {* macro's *} 'lanroot ', {* macro's *} 'lcase ', {* functions *} 3.44 'ldomain ', {* macro's *} 'ldrive ', {* macro's *} 'len ', {* functions *} 'lm ', {* macro's *} 'loadhive ', {* functions *} 3.46 'loadkey ', {* functions *} 'logevent ', {* functions *} 3.48 'logoff ', {* functions *} 3.30 'longhomedir ', {* macro's *} 3.40 'loop ', {* commands *} 3.15 'lserver ', {* macro's *} 'ltrim ', {* functions *} 3.37 'maxpwage ', {* macro's *} 'md ', {* commands *} 3.30 'mdayno ', {* macro's *} 'messagebox ', {* functions *} 3.20 'month ', {* macro's *} 'monthno ', {* macro's *} 'next ', {* commands *} 4.00 'olecallfunc ', {* functions *} 3.46 4.00 'olecallproc ', {* functions *} 3.46 4.00 'olecreateobject ', {* functions *} 3.46 4.00 'oleenumobject ', {* functions *} 3.61 4.00 'olegetobject ', {* functions *} 3.46 4.00 'olegetproperty ', {* functions *} 3.46 4.00 'olegetsubobject ', {* functions *} 3.46 4.00 'oleputproperty ', {* functions *} 3.46 4.00 'olereleaseobject ', {* functions *} 3.46 4.00 'open ', {* functions *} 3.30 'or ', {* boolean *} 3.15 'password ', {* commands *} 'play ', {* commands *} 'primarygroup ', {* macro's *} 3.36 'priv ', {* macro's *} 'productsuite ', {* macro's *} 4.00 'producttype ', {* macro's *} 4.00 'pwage ', {* macro's *} 'quit ', {* commands *} 3.40 'ras ', {* macro's *} 3.40 'rd ', {* commands *} 3.48 'readline ', {* functions *} 3.30 'readprofilestring ', {* functions *} 'readtype ', {* functions *} 'readvalue ', {* functions *} 'redirectoutput ', {* functions *} 3.20 'return ', {* commands *} 3.37 'rnd ', {* functions *} 3.48 'rserver ', {* macro's *} 'rtrim ', {* functions *} 3.37 'run ', {* commands *} 'savekey ', {* functions *} 'scriptdir ', {* macro's *} 3.46 'select ', {* commands *} 3.37 'sendkeys ', {* functions *} 3.60 'sendmessage ', {* functions *} 3.20 'serror ', {* macro's *} 3.46 'set ', {* commands *} 'setascii ', {* functions *} 3.61 'setconsole ', {* functions *} 3.17 'setdefaultprinter ', {* functions *} 'setfileattr ', {* functions *} 3.60 'setfocus ', {* functions *} 3.60 'setl ', {* commands *} 'setm ', {* commands *} 'setsystemstate ', {* functions *} 3.63 'settime ', {* commands *} 'settitle ', {* functions *} 4.00 'setwallpaper ', {* functions *} 3.35 'shell ', {* commands *} 'showprogramgroup ', {* functions *} 'shutdown ', {* functions *} 3.20 'sid ', {* macro's *} 3.36 'sidtoname ', {* functions *} 4.00 'site ', {* macro's *} 3.60 'sleep ', {* commands *} 'small ', {* commands *} 'split ', {* functions *} 4.00 'srnd ', {* functions *} 3.48 'startdir ', {* macro's *} 'step ', {* commands *} 4.00 'substr ', {* functions *} 'syslang ', {* macro's *} 3.53 'time ', {* macro's *} 'to ', {* commands *} 4.00 'ubound ', {* functions *} 4.00 'ucase ', {* functions *} 3.44 'unloadhive ', {* functions *} 3.46 'until ', {* commands *} 3.15 'use ', {* commands *} 'userid ', {* macro's *} 'userlang ', {* macro's *} 3.53 'val ', {* functions *} 3.37 'vartype ', {* functions *} 4.00 'vartypename ', {* functions *} 4.00 'wdayno ', {* macro's *} 'while ', {* commands *} 3.15 'wksta ', {* macro's *} 'writeline ', {* functions *} 3.46 'writeprofilestring ', {* functions *} 'writevalue ', {* functions *} 'wuserid ', {* macro's *} 'ydayno ', {* macro's *} 'year ' {* macro's *}
Why do you want to use an (very) old version of kixtart. Kixtart 3.63 is very stable and it doesn't contain real problems. Greetings.
------------------ Site map:
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 1160 anonymous users online.
|
|
|