Dear,
Please verifies the permissions on file "@lserver\netlogon\cpu.exe".
Please run following script. We have add some debugging code to it.
Put output of file c:\kixdebug.log on the board.
Please run SET >c:\setenv.txt from a DOS box and put output of
file c:\setenv.txt on the board.
code:
CLS
COLOR C+/N
AT (1,1) " "
IF RedirectOutput("c:\kixdebug.log")
ENDIF
? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.04e script starting."
? "-"
? "-curdir: "+LCASE(@curdir)
? "-scriptdir: "+LCASE(@scriptdir)
IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0)
? "-scriptname: "+LCASE(@scriptname)
ENDIF
? "-startdir: "+LCASE(@startdir)
? "-"
? "-userid: "+LCASE(@userid)+"/"+LCASE(@wuserid)
? "-user priv: "+LCASE(@priv)
IF (instr("-4.xx-","-"+substr(@kix,1,2)+"xx-") <> 0)
? "-version: inwin="+@inwin+"/dos="+@dos"/productsuite="+@productsuite+"/producttype="+@producttype"/csd="+LTRIM(RTRIM(@csd))
ELSE
? "-version: inwin="+@inwin+"/dos="+@dos
ENDIF
? "-"
?"- start-"+@time+"- @error @serror "?
?"- 1-"+@time+"- @error @serror "? ; IF setconsole("hide")
?"- 2-"+@time+"- @error @serror "? ; ENDIF
?"- 3-"+@time+"- @error @serror "? ;
?"- 4-"+@time+"- @error @serror "? ; NT/95 calculates cpu type + processor speed - Kixtart 3.63, 4.00
?"- 5-"+@time+"- @error @serror "? ;
?"- 6-"+@time+"- @error @serror "? ; (c) scripting@wanadoo.nl - 2001
?"- 7-"+@time+"- @error @serror "? ;
?"- 8-"+@time+"- @error @serror "? ; vs 1.02 - program
?"- 9-"+@time+"- @error @serror "? ;
?"- 10-"+@time+"- @error @serror "? ; 1.00 (20010525) original version.
?"- 11-"+@time+"- @error @serror "? ; 1.01p (20010525) add - warning message by missing external program
?"- 12-"+@time+"- @error @serror "? ; 1.02p (20011120) add - "windows XP"
?"- 13-"+@time+"- @error @serror "? ; add - suppress SetConsole("hide")
?"- 14-"+@time+"- @error @serror "? ;
?"- 15-"+@time+"- @error @serror "? ; SPECIAL version for F1-4790
?"- 16-"+@time+"- @error @serror "? ;
?"- 17-"+@time+"- @error @serror "? ; external programs: cpu.exe
?"- 18-"+@time+"- @error @serror "? ;
?"- 19-"+@time+"- @error @serror "? $prgrm_version="1.02"
?"- 20-"+@time+"- @error @serror "? ;
?"- 21-"+@time+"- @error @serror "? $tmp_directory=ExpandEnvironmentVars("%tmp%")
?"- 22-"+@time+"- @error @serror "? IF (substr($tmp_directory,len($tmp_directory),1) = "\")
?"- 23-"+@time+"- @error @serror "? $tmp_directory=substr($tmp_directory,len($tmp_directory)-1)
?"- 24-"+@time+"- @error @serror "? ENDIF
?"- 25-"+@time+"- @error @serror "? $cpu_file=$tmp_directory+"\kix-cpu.tmp"
?"- 26-"+@time+"- @error @serror "? ;
?"- 27-"+@time+"- @error @serror "? IF (@inwin = 1)
?"- 28-"+@time+"- @error @serror "? $nt_mode="yes"
?"- 29-"+@time+"- @error @serror "? ELSE
?"- 30-"+@time+"- @error @serror "? $nt_mode="no"
?"- 31-"+@time+"- @error @serror "? ENDIF
?"- 32-"+@time+"- @error @serror "?
?"- 33-"+@time+"- @error @serror "? ; ---------------------------------------------------------------------------
?"- 34-"+@time+"- @error @serror "? ; - site defined settings -
?"- 35-"+@time+"- @error @serror "? ; ---------------------------------------------------------------------------
?"- 36-"+@time+"- @error @serror "?
?"- 37-"+@time+"- @error @serror "? $debug_mode="yes" ; - no/yes - for additional information about checking registry keys -
?"- 38-"+@time+"- @error @serror "? ; - yes = temporary files will not be deleted -
?"- 39-"+@time+"- @error @serror "? $cpu_program="@lserver\netlogon\cpu.exe"
?
? "$$cpu_program = "+$cpu_program
?
?"- 40-"+@time+"- @error @serror "? ; - specifies path of cpu.exe program. -
?"- 41-"+@time+"- @error @serror "? ; - f.e. c:\winnt\cpu.exe or c:\windows\cpu.exe -
?"- 42-"+@time+"- @error @serror "?
?"- 43-"+@time+"- @error @serror "? ; ---------------------------------------------------------------------------
?"- 44-"+@time+"- @error @serror "? ; - -
?"- 45-"+@time+"- @error @serror "? ; ---------------------------------------------------------------------------
?"- 46-"+@time+"- @error @serror "?
?"- 47-"+@time+"- @error @serror "? $os=""
?"- 48-"+@time+"- @error @serror "? $os_dos=@dos
?"- 49-"+@time+"- @error @serror "? SELECT
?"- 50-"+@time+"- @error @serror "? CASE
($nt_mode = "yes") AND ($os_dos = "5.1") ; - Windows XP -
?"- 51-"+@time+"- @error @serror "? $os="XP"
?"- 52-"+@time+"- @error @serror "? CASE
($nt_mode = "yes") AND ($os_dos = "5.0") ; - Windows 2000 -
?"- 53-"+@time+"- @error @serror "? $os="W2K"
?"- 54-"+@time+"- @error @serror "? CASE
($nt_mode = "yes") ; - Windows NT -
?"- 55-"+@time+"- @error @serror "? $os="NT4"
?"- 56-"+@time+"- @error @serror "? CASE
($nt_mode <> "yes") AND ($os_dos = "4.90") ; - Windows ME -
?"- 57-"+@time+"- @error @serror "? $os="ME"
?"- 58-"+@time+"- @error @serror "? CASE
($nt_mode <> "yes") AND ($os_dos = "4.10") ; - Windows 98 -
?"- 59-"+@time+"- @error @serror "? $os="W98"
?"- 60-"+@time+"- @error @serror "? CASE
($nt_mode <> "yes") AND ($os_dos = "4.0") ; - Windows 95 -
?"- 61-"+@time+"- @error @serror "? $os="W95"
?"- 62-"+@time+"- @error @serror "? CASE
1
?"- 63-"+@time+"- @error @serror "? $os="???" ; - undetermined -
?"- 64-"+@time+"- @error @serror "? ENDSELECT
?"- 65-"+@time+"- @error @serror "?
?"- 66-"+@time+"- @error @serror "? ; - :script_cpu_processor
?"- 67-"+@time+"- @error @serror "?
?"- 68-"+@time+"- @error @serror "? $cpu="??? MHz"
?"- 69-"+@time+"- @error @serror "? $processor="???"
?"- 70-"+@time+"- @error @serror "? ;
?"- 71-"+@time+"- @error @serror "? MD "c:\temp"
?"- 72-"+@time+"- @error @serror "? IF (@error <> 0)
?"- 73-"+@time+"- @error @serror "? ENDIF
?"- 74-"+@time+"- @error @serror "? IF (exist($cpu_program) = 1)
?"- 75-"+@time+"- @error @serror "? ;CPU Type Identifier/C Version 2.07 Copyright(c) 1996-98 by B-coolWare.
?"- 76-"+@time+"- @error @serror "? ;Processor: Intel Pentium Pro (P6), 812MHz
?"- 77-"+@time+"- @error @serror "? ;Math unit: Internal
?"- 78-"+@time+"- @error @serror "? IF (Exist($cpu_file) = 1)
?"- 79-"+@time+"- @error @serror "? DEL $cpu_file
?"- 80-"+@time+"- @error @serror "? ENDIF
?"- 81-"+@time+"- @error @serror "? SHELL "%comspec% /c "+$cpu_program+" >"+$cpu_file
?"- 82-"+@time+"- @error @serror "? IF (Open(9,$cpu_file) = 0)
?"- 83-"+@time+"- @error @serror "? $result=ReadLine(9) ; - skip -
?"- 84-"+@time+"- @error @serror "? $result=ReadLine(9)
?"- 85-"+@time+"- @error @serror "? IF (Len($result) > 3)
?"- 86-"+@time+"- @error @serror "? $cpu=LTRIM(RTRIM(Substr($result,Instr($result,",")+1,Len($result)-Instr($result,","))))
?"- 87-"+@time+"- @error @serror "? $processor=LTRIM(RTRIM(Substr($result,Instr($result,":")+2,Len($result)-Instr($result,":")-2+1)))
?"- 88-"+@time+"- @error @serror "? ENDIF
?"- 89-"+@time+"- @error @serror "? IF (Close(9) <> 0)
?"- 90-"+@time+"- @error @serror "? ENDIF
?"- 91-"+@time+"- @error @serror "? ENDIF
?"- 92-"+@time+"- @error @serror "? IF (Exist($cpu_file) = 1)
?"- 93-"+@time+"- @error @serror "? IF ($debug_mode <> "yes")
?"- 94-"+@time+"- @error @serror "? DEL $cpu_file
?"- 95-"+@time+"- @error @serror "? ENDIF
?"- 96-"+@time+"- @error @serror "? ENDIF
?"- 97-"+@time+"- @error @serror "? ? "CPU: "+$cpu
?"- 98-"+@time+"- @error @serror "? ? " "+$processor
?"- 99-"+@time+"- @error @serror "? ELSE
?"- 100-"+@time+"- @error @serror "? ? "Abort CPU.KIX: missing program '"+LCASE($cpu_program)+"' for "+UCASE($os)+"."
?"- 101-"+@time+"- @error @serror "? EXIT
?"- 102-"+@time+"- @error @serror "? ENDIF
?"- 103-"+@time+"- @error @serror "? ;
?"- 104-"+@time+"- @error @serror "? ; result: $cpu
?"- 105-"+@time+"- @error @serror "? ; $processor
?"- end-"+@time+"- @error @serror "?
? "-"
? "-"+LCASE(@day)+" "+@date+" "+@time+"- kixtart "+@kix+"/3.04e script ending."
? "-"
IF (instr("-4.1x-","-"+substr(@kix,1,3)+"x-") <> 0)
? "-"+@cpu+" ("+@mhz+" Mhz, memory "+MemorySize()+" MB)"
ENDIF
? "-"
;($begin)
;
; fri 24-may-2002 09:08:14 (kix 4.10 vs 3.04e)
;
;Informative KIXSTRIP: no errors found (input=105 output=105 skip=0).
;
;Informative KIXSTRIP: 11 block_structures found.
;Informative KIXSTRIP: no UDF's found.
;Informative KIXSTRIP: no labels found.
;Summary KIXSTRIP: BREAK CALL DEBUG DISPLAY ENDFUNCTION EXECUTE EXIT FUNCTION GET GETS GOSUB GOTO OLExxx PLAY QUIT RETURN RUN SHELL SLEEP THEN USE
;Informative KIXSTRIP: 1 EXIT
;Informative KIXSTRIP: 1 SHELL
;
;($end)
greetings.