Hi,
I have a question about a strange occurrence with logon scripts. Each
machine on our network runs the same script from the Netlogon share. A
program called Kix32 is also used. A batch file is executed which is
then supposed to run the Kix32 program and launch the called kix
script. Recently, we noticed a problem with a laptop user's script
running incorrectly at logon. The message he got was "Script error:
failed to find/open script !". When I checked the batch file that calls
Kix32, I found it laid out like this:
%0\..\kix32.exe allusers.kix
Now, to my mind there was a problem present straight away. I was fairly
convinced that the executable for kix32 could not find the script due
to a path error. I created a new batch file called tempfix.bat which
looks like this:
%0\..\kix32.exe "\\ourserver\netlogon\allusers.kix"
This now works correctly.
Now the weird bit .........
Every other user on the network calls the Kix script using:
%0\..\kix32.exe allusers.kix
.... which is called from a batch file pointed to in the Profile
settings in Active Directory, and it works! However, on each of the
machines, if you attempt to execute the same batch file directly you
receive the same script error.
My first question is why does running the script using the file
specified in the Profile settings for each user in Active Directory not
cause this error?
My second question is why does it look as though, for this one user,
the script is being called as though the file is being executed
directly?
I hope this isn't too much of a mess for people to understand!
Thanks in advance,
Alex
|