Page 1 of 1 1
Topic Options
#179236 - 2007-08-13 04:25 PM Strange things with logon script
pvanwelt Offline
Fresh Scripter

Registered: 2006-10-11
Posts: 17
Loc: Zierikzee, the Netherlands
I'm using an kix script for our Terminal Server.
The user has the following script in his user profile:
kix logon.kix

and he has an "homedrive mapping to the U drive"

Some code of the script

 Code:

--- LOGON.KIX ---
SetConsole("hide")

if @HOSTNAME = "citrixts.hoofdkantoor.local"
  call mps40login.kix
  Quit
EndIf
------------------

--- mps40login.kix ---

USE H: /D 
USE Q: /D 

USE H: '\\NAS01\Data\Product\Prisma' 
If @error =0
 ? "H succesfully connected"
Else
  WriteLog2("\\nas01\log$\kix.log", + @USERID + "" + " , error connecting H : " + @error + " " + @serror  ,1) 
EndIf

USE Q: '\\NAS01\DATA'
If @error =0
 ? "Q succesfully connected"
Else
  WriteLog2("\\nas01\log$\kix.log", + @USERID + "" + " , error connecting Q : " + @error + " " + @serror  ,1) 
EndIf

-----------------


When i logon with the "/d" flag after the logon script i see what's happening.

He creates the mappings, i see :
"H succesfully connected and Q succesfully connected"
and when i'm logged on i'm going to the windows explorer ...

The only drive i see is "U" (my home drive), but no Q and no H.

After re-logging on some times i get the mappings, but i can't explain why kix says "succesfully connected" and afterwards i don't see them in the explorer ?

Can anybody help me out ?


tnx in advance!

Top
#179239 - 2007-08-13 05:52 PM Re: Strange things with logon script [Re: pvanwelt]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
What versions of what are you using?
  • KiXtart
  • Windows

Top
#179258 - 2007-08-14 08:35 AM Re: Strange things with logon script [Re: Witto]
pvanwelt Offline
Fresh Scripter

Registered: 2006-10-11
Posts: 17
Loc: Zierikzee, the Netherlands
I'm using Windows 2003 Server (without Servicepack) and Kix 4.53

It is an citrix server. I went to the dos prompt to the dos prompt , typed net use. and saw the mappings indeed !
But they just weren't visible in the explorer ?

Top
#179261 - 2007-08-14 10:09 AM Re: Strange things with logon script [Re: pvanwelt]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Strange indeed, I have not experienced this problem yet.
Top
#179262 - 2007-08-14 10:11 AM Re: Strange things with logon script [Re: Witto]
pvanwelt Offline
Fresh Scripter

Registered: 2006-10-11
Posts: 17
Loc: Zierikzee, the Netherlands
I have found an microsoft knowledgebase article which describes a simular problem.
link

I've called microsoft to get the hotfix, maybe that is the sollution ...


Edited by pvanwelt (2007-08-14 10:12 AM)

Top
#179263 - 2007-08-14 10:35 AM Re: Strange things with logon script [Re: pvanwelt]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
Good luck.
Apparently it is not on The Hotfix Share (yet).

Top
#179269 - 2007-08-14 01:10 PM Re: Strange things with logon script [Re: Witto]
pvanwelt Offline
Fresh Scripter

Registered: 2006-10-11
Posts: 17
Loc: Zierikzee, the Netherlands
The problem seems to be solved with the hotfix!

I didn't knew the above site, I have registred on it and will post the hotfix.

Top
#179288 - 2007-08-14 08:51 PM Re: Strange things with logon script [Re: pvanwelt]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Just a note that this is for a VERY specific condition and most users should not run into it.

Mapped drives do not appear to connect or disconnect in Windows Explorer - KB 812933
 Quote:
CAUSE
This issue occurs if the "Hide and disable all items on the desktop" system policy is enabled. Mapped network drive functionality in Windows Server 2003, Windows XP, and Windows 2000 does not work as expected in Windows Explorer when the "Hide and disable all items on the desktop" system policy is enabled.

Top
#179290 - 2007-08-14 09:43 PM Re: Strange things with logon script [Re: NTDOC]
pvanwelt Offline
Fresh Scripter

Registered: 2006-10-11
Posts: 17
Loc: Zierikzee, the Netherlands
Except in terminal server / citrix environments where tight policy's are active ....
Top
#179311 - 2007-08-15 03:17 AM Re: Strange things with logon script [Re: pvanwelt]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Well but in Citrix (when I used it in the past) we only published applications so there was no need to hide or lock the items on the server as the user didn't have access to them anyways.

But that's cool - just didn't want someone to come along that was having a basic syntax type error (that happens a lot to new users) then thinking maybe something like this was their issue.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.067 seconds in which 0.03 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