Page 1 of 2 12>
Topic Options
#19192 - 2002-03-27 07:20 PM Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
After "launching custom scripts" shows I do not see my custom scripts, yet I do not get an error. I can run the scripts from the cmd line and they run ok. Any tips as to where to look for the problem???
Top
#19193 - 2002-03-27 07:25 PM Re: Cannot see custom scripts
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Lawrence,

I really hate to be a pain, but... you don't supply back the information for people to help you.

Case in point your previous post...
error reading config.ini file

No one here knows your system or specifics. You really need to supply much more detail on your issues in order for anyone to help you. Until you can supply this information we won't be able to help you. [Frown]

Top
#19194 - 2002-03-27 09:16 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
My first post: error reading config.ini file, I resolved by correcting some syntax errors.

I am running kix 2001 and my logon script runs ok with no errors, however I cannot see my custom scripts run. I'm running W2000 advance server and I'm running my script manully from the cmd line (DOS window)at the server. I have all of the kix files togeather in the winnnt\sysvol\sysvol\scripts folder. I hope this helps.

Top
#19195 - 2002-03-27 09:31 PM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
I think he is refering to my modular logon script...

Lawrence is this what you are talking about/trying to get to work?

Modular logon script?

Top
#19196 - 2002-03-27 10:02 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Yes I am using the modular logon script. [Big Grin]
Top
#19197 - 2002-03-27 10:19 PM Re: Cannot see custom scripts
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
Thanks Bryce.. [Smile] That helps... Lawrence, I'll beg off now and let the Master Bryce help you with this. Your in good hands with Bryce.
Top
#19198 - 2002-03-27 10:52 PM Re: Cannot see custom scripts
Guyver Offline
Lurker

Registered: 2002-03-27
Posts: 2
Loc: University of Virginia
There are several policy settings referring to scripts and whether or not they are visible while running.

Have you check this in the group policy?

Top
#19199 - 2002-03-27 11:12 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Yes I have check my group policy and I enabled them to run startup scripts visible. This is really puzzleing! [Frown]
Top
#19200 - 2002-03-28 01:10 AM Re: Cannot see custom scripts
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Have you checked "RunLogonScriptSync"?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#19201 - 2002-03-28 03:39 AM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Ok Lawrence,

i am going to assume that the Modular logon script is mapping drives, and doing everything else that it should be doing is this correct?

and that for some reason, it is not executing any custom scripts that you have instructed it to do.

1. the custon scripts are in the \scripts folder of the netlogon share right?

2. the config.ini file under [Other_Scripts] look some thing like this.

code:
[Other_Scripts]
;This is where you can tell your logon script launch other KiXtart scripts
;set status to ON if you want to run this Module
status = on

:Script library
ScriptLib = scripts\

;Set TotalActions to equal the total number of Scripts actions
TotalActions = 3

; you can specify by OS Type and Group Membership, to run only specific Scripts
; please see logon-readme.txt for a full explanation on "OS type" and "Group membership".
; action# = OS Type | Group Membership | script name

action1 = all|G!Domain users|inventory.kix
action2 = off|G!Domain users|xmas.kix
action3 = win9x|G!Domain users|mcafee.kix

Be sure to make Totalactions equal the total number of action/scripts that are to be ran.

if you could post this part of your config.ini... that could help.

Bryce

Top
#19202 - 2002-03-28 11:31 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Hey Bryce,

My config.ini looks like this:
;You may Modify the following parameters to select how your logon scipt will
;function.

[Module_run_order]
;Module Library
ModuleLib = modules\

;Set TotalModuleNumber to equal the total number of Modules
TotalModuleNumber = 8

; you can specify by OS Type and Group Membership, to run only specific Modules
; please see logon-readme.txt for a full explanation on "OS type" and "Group membership".
; Modue# = OS Type | Group Membership | Module

Module1 = all|l!Administrators|CTRL_C
Module2 = all|l!Users|legal_notice
Module3 = all|l!Users|Welcome
Module4 = all|G!Domain Users|PWExpire
Module5 = all|G!Domain Users|Set_Clock
Module6 = ALL|l!Users|Drives
module7 = ALL|G!Domain Users|Path
Module8 = All|G!Domain Users|Other_scripts

[ctrl_c]
;set status to ON if you want to run this Module
status = on
break = on

[legal_notice]
;set status to ON if you want to run this Module
status = on
force = yes
notice = "You are loggin on to the Edwards Air force Base Computer network.|Only authorised personell are allowed to access this system."

[welcome]
;set status to ON if you want to run this Module
status = off
timeout = 5
welcome = "Welcome to Civil Engineering|Have A Nice Day||We Really Mean It!!"

[PWexpire]
;set status to ON if you want to run this Module
status = off

;X number of days till Password Expire(start showing a notice)
days2PWE = 5

;how old a pasword is allowed to get
PWE = 90

;message box timeout
timeout = 10

[set_clock]
;set status to ON if you want to run this Module
status = on
timeserver = \\houston

[drives]
;set status to ON if you want to run this Module
status = on

;set the TotalActions to equal the total number of drive mappings action

TotalActions = 44

; The drive mapping entires should be in this format.
; please see logon-readme.txt for a full explanation on "OS type" and "Group membership".
; action# = OS Type | Group Membership | UNC path | Drive letter

action1 = all|G!ce_admin|\\testserver2k\admin|G:
action2 = all|G!95trans.ce|\\testserver2k\95trans|G:
action3 = all|G!command.ce|\\testserver2k\command|G:
action4 = all|G!eng_general.ce|\\testserver2k\eng_general|G:
action5 = all|G!contracts.ce|\\testserver2k\contracts|G:
action6 = all|G!environmental.ce|\\testserver2k\environmental|G:
action7 = all|G!ops.fire.ce|\\testserver2k\fire|G:
action8 = all|G!heavy_repair.ce|\\testserver2k\heavy_repair|G:
action9 = all|G!infrastructure.ce|\\testserver2k\infrastructure|G:
action10= all|G!labor_pool.ce|\\testserver2k\labor_pool|G:
action11= all|G!logistics.ce|\\testserver2k\logistics|G:
action12= all|G!maintenance.e|\\testserver2k\maintencae|G:
action13= all|G!manpower.ce|\\testserver2k\manpower|G:
action14= all|G!operations.ce|\\testserver2k\operations|M:
action15= all|G!readiness.ce|\\testserver2k\readiness|G:
action16= all|G!real_property.recs.ce|\\testserver2k\rea_propertyl|G:
action17= all|G!work_order.ce|\\testserver2k\workorder|G:
action18= all|G!shopmanager.ce|\\testserver2k\shopmanager|G:
action19= all|G!tech_service.ce|\\testserver2k\fire|G:
action20= all|G!briefings.ce|\\testserver2k\briefing|I:
action21= all|G!A76_team.ce|\\testserver2k\A76team|I:
action22= all|G!fire_restricted.ce|\\testserver2k\fire_restricted|J:
action23= all|G!eng_programs.ce|\\testserver2k\engineering\division\plans\programs|J:
action24= all|G!eng_design.ce|\\testserver2k\engineering\division\plans\design|J:
action25= all|G!com_planing.ce|\\testserver2k\engineering\division\plans\com_plan|J:
action26= all|G!eng_saber.ce|\\testserver2k\engineering\division\saber|T:
action27= all|G!eng_managment.ce|\\testserver2k\engineering|J:
action28= all|G!operations.ce|\\testserver2k\engineering\division\maintenance|K:
action29= all|G!ops_maint_programs.ce|\\testserver2k\engineering\division\maintenance|K:
action30= all|G!logistics_ro.ce|\\testserver2k\logistics|K:
action31= all|G!acquisition.ce|\\testserver2k\contracts_acquisition|K:
action32= all|G!bce_briefing.ce|\\testserver2k\bce_briefing|L:
action33= all|G!drawing.ce|\\testserver2k\dangerous|I:
action34= all|G!standby.ce|\\testserver2k\standby|M:
action35= all|G!slides.ce|\\testserver2k\slides|P:
action36= all|G!standup.ce|\\testserver2k\standup|P:
action37= all|G!networking.ce|\\testserver2k\networking|S:
action38= all|G!southbase_rp.ce|\\testserver2k\southbase_rp|S:
action39= all|G!ccas.ce|\\testserver2k\ccas|S:
action40= all|G!water.ce|\\testserver2k\water|W:
action41= all|G!division.ce|\\testserver2k\division|Y:
action42= all|G!fedlog.ce|\\testserver2k\volumes|O:
action43= all|G!afepl.ce|\\testserver2k\volumes|O:
action44= all|G!cbt_access.ce|\\testserver2k\volumes\access97|T:


[Path]
;**********************************************************
;---===this module is broken for win9x users....sorry.===--
;**********************************************************

;This is where you can tell your logon script add or remove statments from the Path
;set status to ON if you want to run this Module
status = off

;Set TotalActions to equal the total number of Actions
TotalActions = 4

; you can specify by OS Type and Group Membership, to add or remove the selected paths
; please see logon-readme.txt for a full explanation on "OS type" and "Group membership".
; action# = OS Type | Group Membership | A!path to add
; action# = OS Type | Group Membership | R!path to remove

action1 = NT|G!Domain Admins|a!w:\ntreskit
action2 = win2k|G!Domain Admins|a!w:\w2kreskit
action3 = NTx|G!Domain Admins|a!w:\ntsec
action4 = off|G!Domain Admins|a!w:\ntsec

[Other_Scripts]
;This is where you can tell your logon script launch other KiXtart scripts
;set status to ON if you want to run this Module
status = off

:Script library
ScriptLib = scripts\

;Set TotalActions to equal the total number of Scripts actions
TotalActions = 2

; you can specify by OS Type and Group Membership, to run only specific Scripts
; please see logon-readme.txt for a full explanation on "OS type" and "Group membership".
; action# = OS Type | Group Membership | script name

action1 = all|G!all_users.ce|dod.kix
action2 = off|G!all_users.ce|alphare.kix

Top
#19203 - 2002-03-28 11:34 PM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
set the status for Other_scritps to be on

[Other_Scripts]
;This is where you can tell your logon script launch other KiXtart scripts
;set status to ON if you want to run this Module
status = on

Top
#19204 - 2002-03-28 11:37 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Sorry... this is what you requested.
[Cool]
L

[Other_Scripts]
;This is where you can tell your logon script launch other KiXtart scripts
;set status to ON if you want to run this Module
status = on

:Script library
ScriptLib = scripts\

;Set TotalActions to equal the total number of Scripts actions
TotalActions = 2

; you can specify by OS Type and Group Membership, to run only specific Scripts
; please see logon-readme.txt for a full explanation on "OS type" and "Group membership".
; action# = OS Type | Group Membership | script name

action1 = all|G!all_users|dod.kix
action2 = all|G!all_users|alphare.kix

Top
#19205 - 2002-03-29 12:01 AM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
yep, that should fix things. [Wink]
Top
#19206 - 2002-03-29 12:05 AM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
I still do not see my scripts. Could it be something on my box?? If I run the scripts manually from the cmd window it works. Go figure!

[Confused]

Top
#19207 - 2002-03-29 01:13 AM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
how are you running manualy....

kix32 \\server\netlogon\scripts\dod.kix

Top
#19208 - 2002-03-29 04:34 PM Re: Cannot see custom scripts
lawrence Offline
Fresh Scripter

Registered: 2002-03-22
Posts: 18
Loc: California
Almost - from the scripts folder I'm running:
kix.exe\dod.kix [Cool]

Any ideas Bryce??

Top
#19209 - 2002-03-30 01:45 AM Re: Cannot see custom scripts
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
ok do this from a command line

dir \\server\netlogon /s

and show us what it gives you.

Top
#19210 - 2002-03-30 04:09 AM Re: Cannot see custom scripts
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Bryce/Lawrence,

Mind if I chime in here?

Lawrence - It appears that the execution is very close..

Try this, if the files are in the same directory:
Option (1)
kix.exe dod.kix

Option (2)
\\Server\share\kix.exe \\Server\share\dod.kix

Option (3)
%logonserver%\netlogon\kix.exe %logonserver%\netlogon\dod.kix

Option (4)
%0\..\kix.exe %0\..\dod.kix

One of these options should get your Kix file running via batch.

HTH,

- Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

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

Registered: 2002-03-22
Posts: 18
Loc: California
Bryce - when I run dir \\server\netlogon /s I receive "the network name cannmot be found" any clue??

Kent - option 1 works I did not try the other options, I'm also using modules in my script

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 415 anonymous users online.
Newest Members
SERoyalty, mytar, Gabriel, Alex_Evos, Dansen
17869 Registered Users

Generated in 0.083 seconds in which 0.034 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