Any idea’s why this could be happening???
Here is the start of the login script:
————————————————
@echo off
rem use /d after the .scr reference below to get into debug mode
Rem Detect OS (NT or other)
:NT_XP
kix32.exe login.scr
:end
Exit
———————————————
(This is login.scr)
———————————————
;cls
;TO CHECK FOR RAS
if @ras>1
“RAS, script will not be run”
exit
endif
;WINDOWS 9X SECTION
if @inwin = 2
“Windows 9x, script will not be run”
exit
;end 9x section
endif
function MemSize()
dim $
$=createobject(‘shell.application’)
$MemSize=$.GetSystemInformation(‘PhysicalMemoryInstalled’)
endfunction
;Get model description
;$rv_cpu=READVALUE(“\HKEY_LOCAL_MACHINE\software\Microsoft\Windows\CurrentVersion\WindowsUpdate\OemInfo”, “WbemProduct”)
;@rv_cpu
SET “fullname=@FULLNAME”
;at(1,1)
;log details
“Recording login details” + chr(13) + chr(10)
“Please wait until the script has finished” + chr(13) + chr(10)
shell “%comspec% /c echo @date, @time, @userid, @fullname, @address, @ipaddress0, @wksta >> \\
;SHELL ‘%comspec% /e:512 /c MEM | FIND “Total memory” >> \\
;SHELL ‘%comspec% /c MEM | FIND “Total memory” >> \\
;set time to the server
“Setting time” + chr(13) + chr(10)
settime “\\
;This will install Winsock client
:WINSOCK
;IF (EXIST (“C:\mspclnt\mspclnt.ini”) = 0)
;MESSAGEBOX (“Your system will now be updated and then restarted, click OK to continue”, “Winsock Install”, 0, 20)
;”Installing Proxy client” + chr(13) + chr(10)
;use \\
;Shell “%comspec% /e:1024 /c \\