Page 2 of 2 <12
Topic Options
#19212 - 2002-04-01 10:27 PM Re: Cannot see custom scripts
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Lawrence:
'\\server\netlogon' is a generic statement. You will need to replace 'server' with the name of any of your domain controllers and 'netlogon' with the name of your netlogon share, by default 'netlogon'.
_________________________
There are two types of vessels, submarines and targets.

Top
#19213 - 2002-04-01 10:37 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Bryce- I typed in "\\terserver2k\netlogon", when I should have typed "\\testserver2k\scripts" I gor the directory list.
Top
#19214 - 2002-04-01 10:42 PM Re: Cannot see custom scripts
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Now try
code:
%logonserver%\scripts\kix.exe %logonserver%\scripts\dod.kix

This will only work against the server that autneticated you.

code:
\\testserver2k\scripts\kix.exe testserver2k\scripts\dod.kix

This will only work with the server TESTSERVER2K

[ 01 April 2002, 22:44: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#19215 - 2002-04-01 11:02 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
When I type "%testserver2k%\scripts\kix.exe %testserver2k%\scripts\dod.kix" I get "the system could not find the path specified" I think my problem is the default logon share.
Top
#19216 - 2002-04-01 11:26 PM Re: Cannot see custom scripts
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
%TESTSERVER2K% will try to resolve a variable that has been set with the DOS SET command. If the variable is empty, it'll return the error you just specified.

Lawrence, it seems you are very, very new to administering Windows NT/2000 domains. I would suggest you take a break and go back to square one.

I assume you do have a clean install of your Windows 2000 domain controller. Now, start with the most simple login script, e.g. LOGIN BAT
code:
ECHO Running login script

The login script must be set up in the user manager as LOGIN.BAT. The script should run when a user logs into the testserver2k domain.

The next step is to put KIX32.EXE and a clean LOGIN.KIX into the same directory where you already have LOGIN.BAT. Modify LOGIN.BAT to read
code:
%0\..\KIX32 %0\..\LOGIN.KIX

and modify LOGIN.KIX to read
code:
? 'Running Kixtart login script'

Once you get that running, start implementing gradually more complicated scripts.

Finally, if you try to implement our tips from the board, make sure that you type it incorrectly, w.g. I never suggested to use %TESTSERVER2K% but wrote %LOGONSERVER%.

I would also suggest to read the Windows manuals about implementing logon scripts and about command line usage like variable syntax and so on.

[ 01 April 2002, 23:26: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#19217 - 2002-04-01 11:46 PM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
quote:

Bryce- I typed in "\\terserver2k\netlogon", when I should have typed "\\testserver2k\scripts" I gor the directory list.

Laurance,

could please post what you got for a directory listing?

and i am a tad bit confused about it being \scripts when it should be \netlogon.

The modular logon script looks for custom scripts in the \\server\netlogon\scripts\ folder.

here is am example of how/where your files should be

quote:

C:\>dir \\server\netlogon /s/b /a-d

\\server\netlogon\config.ini
\\server\netlogon\kix32.exe
\\server\netlogon\Kix_Logon_script.zip
\\server\netlogon\kx16.dll
\\server\netlogon\KX32.dll
\\server\netlogon\KX95.dll
\\server\netlogon\Logon-ReadMe.txt
\\server\netlogon\logon.bat
\\server\netlogon\logon.kix
\\server\netlogon\logon.zip
\\server\netlogon\wkix32.exe
\\server\netlogon\Applications\winset.exe
\\server\netlogon\Functions\Custom_Variables.kix
\\server\netlogon\Functions\kix_functions.kix
\\server\netlogon\Modules\ctrl_c.kix
\\server\netlogon\Modules\Drives.kix
\\server\netlogon\Modules\Legal_Notice.kix
\\server\netlogon\Modules\Module_template.kix
\\server\netlogon\Modules\Other_Scripts.kix
\\server\netlogon\Modules\Path.kix
\\server\netlogon\Modules\pwexpire.kix
\\server\netlogon\Modules\set_clock.kix
\\server\netlogon\Modules\welcome.kix
\\server\netlogon\Scripts\inventory.kix
\\server\netlogon\Scripts\mcafee.kix
\\server\netlogon\Scripts\xmas.kix

if you notice my custom scripts inventory.kix, mcafee.kix and xmas.kix are in the \\server\netlogon\scripts folder.

This is where you need to put your custom scripts if you are using the modular logon script I made.

[ 01 April 2002, 23:49: Message edited by: Bryce ]

Top
#19218 - 2002-04-01 11:59 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Bryce - Thank you and everyone else for all of your help. I am going to back off, read up on logon scripts, and reinstall my server(it is a test box)Please close out this posting.

[Cool]

Top
#19219 - 2002-04-04 06:00 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Ok now you can close this posting. My scripts are working and I know now where I went wrong. Thanks everyone for all of your help! Life is GOOD! [Razz] I will continue to work with Kix and hopefully get better at using it. I'll be back.
Top
#19220 - 2002-04-04 06:43 PM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
glad to hear it!

if i may ask for future reference, what was wrong?

Bryce

Top
#19221 - 2002-04-04 10:46 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Well... The first thing I did wrong was move the logon share and give it a share name "scripts" when I should have named it "netlogon" then I did not have my custom scripts in my sub folder "scripts", I had them in my sciprt folder with all of the other kix files. But because of the problem I created, I learned more about Kix and W2K. My next challenge is to learn the scripting language (any tips)so I'm not so dependant on modules, I could then be more creative and effective.

-Lawrence [Cool]

Top
Page 2 of 2 <12


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

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.063 seconds in which 0.025 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