Page 1 of 1 1
Topic Options
#121800 - 2004-06-24 05:29 PM Script Error : failed to find/open script !
scit Offline
Fresh Scripter

Registered: 2004-06-24
Posts: 9
In Active Directory Users and Computers, the group policy for our Windows 03 domain is set to run a log-in batch file that references KIX32. The batch file launches during log-in but when it comes to the line that opens a kix script it displays the following message on screen: Script error : failed to find/open script !.

I have done much research on the internet. I reviewed an article on the MS Knowledgebase (#318689) and tweaked my batch file accordingly--no go.

In posting here, I hope to find somebody who has experienced this problem and can relay to me what they did to fix it.

Thank you.

Top
#121801 - 2004-06-24 05:57 PM Re: Script Error : failed to find/open script !
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If you don't show us what is in the BATch file and don't tell us where the BATch file, KiX32.exe, and the script is, how are we to advise?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#121802 - 2004-06-24 05:58 PM Re: Script Error : failed to find/open script !
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Means that it cant find the script. Make sure the path to where the script resides is correct

Aaron
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#121803 - 2004-06-24 07:01 PM Re: Script Error : failed to find/open script !
scit Offline
Fresh Scripter

Registered: 2004-06-24
Posts: 9
First of all, this login batch file (file extension BAT) works fine on our Win NT domain. And, yes, I am positive it is pointing to the right location. The code in error is:

kix32 system1

where system1 is the name of the kix file it is to be executing.

I have tried putting specific paths:
\\servername\netlogon\kix32 \\servername\netlogon\system1

It still does not work.

Top
#121804 - 2004-06-24 09:16 PM Re: Script Error : failed to find/open script !
dmarussi Offline
Fresh Scripter

Registered: 2004-05-11
Posts: 15
try runiing it with the file extension of the script whether it be .kix or.txt

example: kix32 system1.kix

Top
#121805 - 2004-06-24 09:34 PM Re: Script Error : failed to find/open script !
scit Offline
Fresh Scripter

Registered: 2004-06-24
Posts: 9
I tried that already. Any other suggestions?
Top
#121806 - 2004-06-24 10:24 PM Re: Script Error : failed to find/open script !
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

I have tried putting specific paths:
\\servername\netlogon\kix32 \\servername\netlogon\system1



Maybe you are not waiting long enough for replication?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#121807 - 2004-06-25 02:28 PM Re: Script Error : failed to find/open script !
scit Offline
Fresh Scripter

Registered: 2004-06-24
Posts: 9
I don't see how it could be an issue of replication. There is only one server in the domain at this point.
Top
#121808 - 2004-06-25 03:39 PM Re: Script Error : failed to find/open script !
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Okay this might sound odd but humour me....create a batch file on your pc and enter the location to the files

\\servername\netlogon\kix32 \\servername\netlogon\system1

Now run the file as the user. What happens?

_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#121809 - 2004-06-25 04:32 PM Re: Script Error : failed to find/open script !
scit Offline
Fresh Scripter

Registered: 2004-06-24
Posts: 9
It still doesn't work. What will work, is if you go into active directory, users, select properties, profile tab and put the batch file name in the logon script path. My question is, why won't this work on any level in the AD hierarchy (ie right-click domain (or any other OU in the folder hierarchy), select properties, group policy tab, edit default domain policy, User Config-Windows Settings-Scripts-Logon/Logoff).
Top
#121810 - 2004-06-25 04:59 PM Re: Script Error : failed to find/open script !
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
Is the batch file there when you press the SHOW FILES button ?
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#121811 - 2004-06-25 05:00 PM Re: Script Error : failed to find/open script !
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Why don't you give us all the details instead of just snippets? This is the same issue as your other topic Request For Kix32 Group Policy Walk-Though where I advised you on how to implement.

I know it works because I tested it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#121812 - 2004-06-25 08:48 PM Re: Script Error : failed to find/open script !
scit Offline
Fresh Scripter

Registered: 2004-06-24
Posts: 9
OK--I figured it out. In my kix file there were two calls being made to other kix files. Even though the batch file, kix32.exe, and all the kix files resided in the same directory, the AD domain needed me to spell out exactly where they were, meaning \\servername\netlogon\kixfilename or %logonserver%\netlogon\kixfilename. So as soon as I spelled out the paths to the kix file in my logon batch file and spelled out the paths in the kix file to the other kix files everything worked fine. Thanks for all your help.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 503 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.086 seconds in which 0.031 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org