Page 3 of 3 <123
Topic Options
#29505 - 2002-10-02 11:29 PM Re: Drive Mappings - XP, etc
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Have you tried Brian's option of running
code:
net user %username% /domain

at the command prompt? If this doesn't give correct results either then it's most likely not a KiXtart issue in itself.
_________________________
There are two types of vessels, submarines and targets.

Top
#29506 - 2002-10-03 10:45 PM Re: Drive Mappings - XP, etc
sasifras Offline
Fresh Scripter

Registered: 2002-09-23
Posts: 16
C:\Documents and Settings\x1>net user %username% /domain
The request will be processed at a domain controller for domain remote.mydomain.com.

System error 1355 has occurred.

The specified domain either does not exist or could not be contacted.

Well well... that's not good. I can ping the DC, so I know that's in order and I never see a failed to login msg. Also, I can map drives manually off the DC - so what the heck is wrong?
_________________________
Thanks, Sasifras

Top
#29507 - 2002-10-03 11:00 PM Re: Drive Mappings - XP, etc
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
At least we now don't have to worry about something being broken in KiXtart.

I just had a similar problem during a contract job. there were a lot of problems with the AD, for example I couldn't install a second domain controller because of a 'domain not found' problem. There were also authentication problems.

However, after checking the domain trust, I found that the domain was set up for a two-way trust with itself. Removing this solved the problem. And just in case you wonder, that company had the systems administrator fired after a couple of months on the job. I'm just there to fix stuff ;-)

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

Top
#29508 - 2002-10-04 03:11 PM Re: Drive Mappings - XP, etc
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
I don't know if this is your issue, but a similar error message is obtained regarding missing sysvol shares... Here is the article from Microsoft:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q283133

Brian

Top
#29509 - 2002-10-31 08:01 AM Re: Drive Mappings - XP, etc
jbastete Offline
Fresh Scripter

Registered: 2002-06-23
Posts: 17
Loc: Houston
I am also having the same issue. When my XP pc logon and they do not get any mapped drives. We are in a 2k domain with AD. We use the Ingroup function also and in our .bat file that calls the script we use the %0\..\ scriptname.kix. We are about to rollout XP and just found this issue. Help!!!
_________________________
Net Admin

Top
#29510 - 2002-10-31 08:05 AM Re: Drive Mappings - XP, etc
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
j, don't see that this in any way related.
anyway, try calling your logonscript without the %0\..\ and xp should work just fine.

in logonbatch with nt/w2k/xp the correct/recommended way to call kix:
kix32 script.kix

and for win9x:
z:\kix32 z:\script.kix

the %0\..\ basically is just a workaround for compining those.
as the %0 does not work correctly in xp, the recommend way is recommended (how that sounded so stupid...)

cheers.
_________________________
!

download KiXnet

Top
#29511 - 2002-10-31 08:26 AM Re: Drive Mappings - XP, etc
jbastete Offline
Fresh Scripter

Registered: 2002-06-23
Posts: 17
Loc: Houston
Thanks I will try that tomorrow. Also for the issue with the 1355 error, try to remove the computer from the domain and then add it back. If that does not work I would check your FSMO roles and make sure that you can contact the PDC emulator. It is usually the first DC that was upgraded to Windows 2k but it can be changed.

I will check back tomorrow to see if my suggestion help. Thank all.
_________________________
Net Admin

Top
#29512 - 2002-10-31 08:06 PM Re: Drive Mappings - XP, etc
jbastete Offline
Fresh Scripter

Registered: 2002-06-23
Posts: 17
Loc: Houston
Still not getting anything from my login script. My .bat file is below:

echo off
Rem Detect OS (NT or other)
if (%OS%) == (Windows_NT) goto NT_XP

:9x
%0\..\kix32.exe jastete.kix
goto end

:NT_XP
kix32.exe jastete.kix
:end
EXIT

I see the winodow minimized and wait for the login script to complete but I do not get any drives. What am I doing wrong? I am pretty good at kix I thought but I guess not???
_________________________
Net Admin

Top
#29513 - 2002-10-31 08:38 PM Re: Drive Mappings - XP, etc
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
For starters, you could read the FAQ Forum, display the login window not minimized, and run a very simple KiXtart script that for example just displays a messagebox. Then you add code piece by piece and verify that it works by using either DEBUG ON and/or @ERROR evaluations.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 3 of 3 <123


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

Who's Online
0 registered and 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.077 seconds in which 0.026 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