#112100 - 2004-01-20 07:21 PM
KiXtart working well, with a few exceptions.
|
justinm101
Fresh Scripter
Registered: 2004-01-20
Posts: 5
|
I've been using KiXtart for about 6 or 7 months for drive mapping, and it's doing the job. The only problem is that for some users they need to login 2 or 3 times for it to work. The problem occurs on 1 windows 2000 and one windows XP box (there may be more, but some users don't like complaining). Heres my enviroment and script info:
Windows 2000 domain with 2000 pro SP3 and XP SP1 clients.
I use group policy. The policy i've set is at the domain level and it uses the following script for logons:
logon.bat
Code:
echo %0 | find """" > nul if errorlevel 1 goto NOQUOTES if errorlevel 0 goto HASQUOTE
:NOQUOTES set PERCENT0=%0 goto CONTINUE
:HASQUOTE set PERCENT0=%~0 goto CONTINUE
:CONTINUE %0\..\kix32 %0\..\logon.kix
As you can see, logon.bat calls logon.kix. Code:
IF INGROUP("GDPLCA-payroll") use s: /delete /persistent use S: "\\vnsv20007\payroll" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
IF INGROUP("Domain Users") use g: /delete /persistent use g: "\\vnsv20007\server" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
IF INGROUP("DPRLCA-accpac") use p: /delete /persistent use p: "\\vnsv20007\accpac" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
IF INGROUP("DPRLCA-FinanceShare") use f: /delete /persistent use f: "\\vnsv20007\finance" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
IF INGROUP("Domain Admins") use i: /delete /persistent use i: "\\vnsv20002\DFSROOT" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
If anyone has any input please let me know. Thanks for taking the time to read this.
Justin
|
|
Top
|
|
|
|
#112102 - 2004-01-20 08:21 PM
Re: KiXtart working well, with a few exceptions.
|
justinm101
Fresh Scripter
Registered: 2004-01-20
Posts: 5
|
Stupid question- can I see the code that does that? I looked through the manual but they only describe debug mode...
|
|
Top
|
|
|
|
#112105 - 2004-01-20 09:49 PM
Re: KiXtart working well, with a few exceptions.
|
justinm101
Fresh Scripter
Registered: 2004-01-20
Posts: 5
|
The GPO has been set up for months. How could they not have it? Could it be because they are logging on before the GPO has been fully refreshed?
There are 2 domain controllers, and the two netlogon shares have all the required files.
|
|
Top
|
|
|
|
#112107 - 2004-01-20 10:01 PM
Re: KiXtart working well, with a few exceptions.
|
justinm101
Fresh Scripter
Registered: 2004-01-20
Posts: 5
|
I see what you're saying. It's possible that this user isn't getting the GPO- i could test this by waiting until the next time the logon script doesn't run, then see if "log out" is on the start menu since the GPO adds that. (also if the preference is there to enable the log off button on the start menu i know the GPO didn't run because the GPO would have taken that off.)..
So if all of this is true then I wonder how I could solve this problem of GPO's not always running. This GPO is never really edited. I just set it up when we created the 2000 domain.
|
|
Top
|
|
|
|
#112108 - 2004-01-20 10:05 PM
Re: KiXtart working well, with a few exceptions.
|
justinm101
Fresh Scripter
Registered: 2004-01-20
Posts: 5
|
FYI- the GPO doesn't run from netlogon, but the logon script does.
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 781 anonymous users online.
|
|
|