Page 2 of 3 <123>
Topic Options
#143070 - 2005-07-06 07:46 PM Re: kixtart on a windows 2003 server platform
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11567
Loc: CA
What do you have specifically set for the GPO?
Top
#143071 - 2005-07-06 07:55 PM Re: kixtart on a windows 2003 server platform
ekainyah Offline
Getting the hang of it

Registered: 2005-07-05
Posts: 51
Loc: Ghana
NTDOC,in the GPO, under the user configuration\windows settings\Scripts(logon/logoff), then i go into the logon properties and add all the 3 scripts from the netlogon folder. So that is what i have in there
Top
#143072 - 2005-07-06 08:02 PM Re: kixtart on a windows 2003 server platform
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Edmund,
There are several topics and at least one FAQ dedicated to running KiX as a GPO script. I suggest you have a go at the board search.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#143073 - 2005-07-06 08:05 PM Re: kixtart on a windows 2003 server platform
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22333
Loc: OK
ekainyah, like said, you should only have that bat there.
_________________________
!

download KiXnet

Top
#143074 - 2005-07-06 08:07 PM Re: kixtart on a windows 2003 server platform
Les Offline
KiX Master
*****

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

ekainyah, like said, you should only have that bat there.



Huh?
Just the opposite... put the BAT in the GPO GUID folder and leave KiX and the script in NetLogon.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#143075 - 2005-07-06 08:11 PM Re: kixtart on a windows 2003 server platform
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22333
Loc: OK
Quote:

Quote:

ekainyah, like said, you should only have that bat there.



Huh?
Just the opposite... put the BAT in the GPO GUID folder and leave KiX and the script in NetLogon.




huh huh?
Quote:

NTDOC,in the GPO, under the user configuration\windows settings\Scripts(logon/logoff), then i go into the logon properties and add all the 3 scripts from the netlogon folder. So that is what i have in there


_________________________
!

download KiXnet

Top
#143076 - 2005-07-06 08:17 PM Re: kixtart on a windows 2003 server platform
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
GPO scripts like to run from the current dir, which is under the \\domain.tld\SYSVOL\domain.tld\Policies\{GUID}\User\Scripts\Logon folder
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#143077 - 2005-07-07 09:00 AM Re: kixtart on a windows 2003 server platform
Kat Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 15
Loc: Melbourne - Australia
Well Not quite sure if I understood it right: you got the .bat and the scripts in the netlogon folder - should be fine I got this as well and my mapping works fine.
so have a look on the policy: how did you pur in the logon.bat? edit the policy and ad the logon.bat by browsing to the netlogon folder. (if you don't do that the default location is in the policy it self) If there is nothing else in the .bat file than calling the kix32.exe than don't use the .bat file at all and put in the logon script kix32.exe logon.kix in (again navigate to the right place and check if the path is OK) this will call your kix script instandly. I am not sure with the drive mapping as I use e newer version and don't know the syntax in the older one - I just assume that it is right.
(in mine is just use o: \\servername\share) I am running it an mixed plattform 2000/2003 and it works fine. (got it as a logon policy as well)
Hope this helps.
Kat

Top
#143078 - 2005-07-07 09:01 AM Re: kixtart on a windows 2003 server platform
Kat Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 15
Loc: Melbourne - Australia
Oops forgot:
all my scripts and kix files are netlogon as well

Top
#143079 - 2005-07-07 09:43 AM Re: kixtart on a windows 2003 server platform
ekainyah Offline
Getting the hang of it

Registered: 2005-07-05
Posts: 51
Loc: Ghana
Kat,
Now i have only the logon.bat in the GPO and then have the kix32.exe and the logon.kix in the netlogon folder.

Top
#143080 - 2005-07-07 10:25 AM Re: kixtart on a windows 2003 server platform
ekainyah Offline
Getting the hang of it

Registered: 2005-07-05
Posts: 51
Loc: Ghana
Guys,
Where should the logon.bat be physically be place? Is it in the netlogon folder or it can be anywhere on the server?

Top
#143081 - 2005-07-07 10:27 AM Re: kixtart on a windows 2003 server platform
Kat Offline
Fresh Scripter

Registered: 2005-06-22
Posts: 15
Loc: Melbourne - Australia
did you the specify the path where kix32.exe is in the batch file? It will look for it in the same folder if you don't tell to look in a different (netlogon) location. and why don't you type the kix32.exe dicrectly into the logon instead of the batch file?
Top
#143082 - 2005-07-07 10:37 AM Re: kixtart on a windows 2003 server platform
ekainyah Offline
Getting the hang of it

Registered: 2005-07-05
Posts: 51
Loc: Ghana
can you explain a little bit further
Top
#143083 - 2005-07-08 04:21 AM Re: kixtart on a windows 2003 server platform
sixdoubleo Offline
Starting to like KiXtart

Registered: 2004-02-06
Posts: 118
Loc: California, US
Go to your GPO screen. Go to User Configuration, Windows Settings, Scripts, Logon.

Remove what you have. Then click Add. Now, do NOT browse to the script. This wont work because your clients to not see the same thing you do. Microsoft shouldnt have even put the option in there.

Instead, type %logonserver%\netlogon\logon.bat as your script name. Leave the parameters field blank.

Save this. Then drop to a command line and do a gpupdate. Then go log off and back on. Should work.

And by the way, for simplicity's sake, I find it best to put EVERYTHING in the "scripts" root directory. Not taking anything away from Les as his method works fine...but when you get multiple GPO's going it can get hard to figure out which script is beneath which GUID directory. So for the above to work you'll need all three files in the scripts root (where you had them to begin with).


Edited by sixdoubleo (2005-07-08 04:34 AM)

Top
#143084 - 2005-07-08 04:24 AM Re: kixtart on a windows 2003 server platform
sixdoubleo Offline
Starting to like KiXtart

Registered: 2004-02-06
Posts: 118
Loc: California, US
Also, as kat suggested, I would eliminate the batch file altogether (once you have this working.)

To do that you would put the script as: %LOGONSERVER%\NETLOGON\kix32

and the script parameters as: %LOGONSERVER%\NETLOGON\mylogon.kix

This is how I run mine and it works fine.


Edited by sixdoubleo (2005-07-08 04:26 AM)

Top
#143085 - 2005-07-08 07:06 AM Re: kixtart on a windows 2003 server platform
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11567
Loc: CA
Okay guy ONE of these links has got to get you going. Please take your time and read up on this and you should be up and going well in no time.

 
GPO Change-over

Frequently Asked Questions About Logon Scripts

How to assign scripts in Windows 2000

Batch-less (or remove NTLOGON.BAT) Login script

Sequence of events during logon

Use of %0\..\ to launch KiX

Description of the Windows XP Professional Fast Logon Optimization feature

W2k+ - Keep the Window visible on login?

Windows NT Login Script Tricks and Tips

How to apply System Policy settings to Terminal Server

Group Policy may not be applied to users belonging to many groups

Environment variables in Windows NT

How To Assign a Logon Script to a Profile for a Local User in Windows 2000

Assigning Scripts Using Group Policy in Windows 2000

How to run a logon script one time when a new user logs on

Understanding Group Policies on Windows Server 2003

Step-by-Step Guide to Understanding the Group Policy Feature Set

 

Top
#143086 - 2005-07-08 11:17 AM Re: kixtart on a windows 2003 server platform
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22333
Loc: OK
that many?
doc, do you expect us to read them all?
huh, can't be that hard.

and just like sixdoubleo said, clean for everyone's sake the logonscript value and set it like it should be.
_________________________
!

download KiXnet

Top
#143087 - 2005-07-08 06:08 PM Re: kixtart on a windows 2003 server platform
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
Ekainyah,
If you're having trouble setting up your logon script via GPOs perhaps you should look at an alternative method for deploying this script.

For example:

Logon script and KIX executable file locations should be..
File Location: C:\WINNT\SYSVOL\sysvol\damain.name\scripts\

Place the following text in your User Account's Properties
User Account properties>Profiles TAB>Logon Script>"kix32.exe logon.kix"

When logging in, your user's accounts will automatically run the "kix32.exe logon.kix" command from the closest domain controller's NETLOGON share.

If you have many user accounts that you need to change this value on and want to automate the process, you can use a kix script on your Domain Controller that will make the appropriate change for you. (be sure to test this in your environment before running on production servers)

Code:
 CLS
BREAK ON
; change DomainString to match your organization's NetBIOS domain name
$DomainString='Domain'
; change GroupString to equal the appropriate security group to affect
$GroupString='TEST'
$GroupObj = GetObject('WinNT://' + $DomainString + '/' + $GroupString)
For each $UserObj in $GroupObj.Members
;Look for the word NTLOGON in case of NTLOGON OR NTLOGON.BAT
;(change NTLOGON string if different in your environment)
IF $UserObj.AccountDisabled<>'True' AND INSTR($UserObj.LoginScript,'NTLOGON')
?$UserObj.Name
?$UserObj.FullName
$UserObj.LoginScript = 'WKIX32.EXE LOGON.KIX'
$UserObj.SetInfo
$error=@error
$logshare='H:'
$logfile=$logshare+'\'+$DomainString+'CHANGESCRIPT.CSV'
$logdata=$UserObj.Name+','+$UserObj.FullName+','+$error+@CRLF
LOGGER($logfile,$logdata)

ENDIF
Next
?'--'
?'Script complete'
SLEEP 4

FUNCTION LOGGER($logfil,$logdat)
$result=0
$n=0
DO
$result=Open(1, $logfil, 5)
IF $result<>0
IF $n=0
;First wait
?'Please wait'
ELSE
;follow waits
'.'
ENDIF
SLEEP 3
ELSE
$result=WriteLine(1, $logdat)
$result=Close(1)
ENDIF
$n=$n+1
UNTIL $result=0 OR $n=5
ENDFUNCTION

_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
#143088 - 2005-07-08 08:50 PM Re: kixtart on a windows 2003 server platform
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11567
Loc: CA
Quote:

that many




Quote:

Okay guy ONE of these links




No you don't have to read any of them. There not for you as you understand already. There for those that DON'T understand and are asking for help.

Personally I think this link explains it as well or better then most.
http://www.rlmueller.net/LogonScriptFAQ.htm

Just posted those links so that if he has trouble understanding one, maybe another would help.

Not sure you know or have noticed but many teachers in the World don't have the same results with all students, some students learn better from other methods or other teachers. That doesn't mean the teacher is not good, only that some have different learning needs.
 


Edited by NTDOC (2005-07-08 08:52 PM)

Top
#143089 - 2005-07-08 09:13 PM Re: kixtart on a windows 2003 server platform
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22333
Loc: OK
and that some are bad teachers

doc, don't get sad, I wasn't really picking on you.
just tried to lift up the atmosphere with some little "picking"
_________________________
!

download KiXnet

Top
Page 2 of 3 <123>


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

Who's Online
0 registered and 35 anonymous users online.
Newest Members
thequeen, ameliaryan, shalomsalami, dkdssdk, Vroon
17639 Registered Users

Generated in 0.041 seconds in which 0.011 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