Page 1 of 1 1
Topic Options
#173696 - 2007-02-07 12:41 AM Citrix Presentation Server/Scripts for users with only Published Apps
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
I have a Citrix server that is in the beginning stages of implementation. We are moving from a strictly Terminal Server environment to Citrix Presentation server. We are only going to Publish one or two apps without giving users access to a desktop. I've got a login script that will execute and do what I would expect as long as I've published the desktop and the user opens it. If I only publish an application, the script doesn't run. I'm executing the script via local gpo as we are still in the middle of an AD migration, but not complete.

Does a user that only has a published app have access to HKCU?

Any help/pointers would be appreciated of course.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain

Top
#173705 - 2007-02-07 09:50 AM Re: Citrix Presentation Server/Scripts for users with only Published Apps [Re: brewdude6]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
I think that you have another issue.

I have a Citrix Metaframe XP farm with only published applications, and the login script is fine.

The user accounts are the same that they use for their desktop logins, and the login script is the same one. The only difference is that some branches in the script are taken for Citrix logins and some for non-Citrix logins.

Although the script is now VBS it ran fine when it was KiXtart.

When you start the first published application for a session on Citrix the login process is (near) identical to a desktop login. The major difference is that explorer.exe is not started. This means that all login scripts should be executed (including usrlogon.cmd), anything in the "run" registry entries will run and if you have roaming profiles they will be copied to the server.

Subsequent applications which start in the same session don't go through the login or other startup processes, because they session is already established. If however you start a new session because you connect to a different server or the published application settings are different (audio, colour depth) then you will go through the login again.

Maybe your script is abending or failing to start.

Top
#173710 - 2007-02-07 01:24 PM Re: Citrix Presentation Server/Scripts for users with only Published Apps [Re: Richard H.]
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
Have you got any ideas what would cause the script to abend if the desktop wasn't present? I keep thinking there is some setting within Citrix that I need to change or grant the user, but I'm at a loss.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain

Top
#173711 - 2007-02-07 01:27 PM Re: Citrix Presentation Server/Scripts for users with only Published Apps [Re: Richard H.]
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
Ooh...I just realized..I'm not actually running just a script. I'm using a packaged .exe via adminscripteditor. I'll change this to start from a batch file and see where that gets me.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain

Top
#173716 - 2007-02-07 02:29 PM Re: Citrix Presentation Server/Scripts for users with only Published Apps [Re: Richard H.]
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
I'm trying to use UNC paths in my script. Would this explain why the script would run if the desktop was available, and not for a profile with only a published application?
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain

Top
#173730 - 2007-02-07 04:43 PM Re: Citrix Presentation Server/Scripts for users with only Published Apps [Re: brewdude6]
Witto Offline
MM club member
*****

Registered: 2004-09-29
Posts: 1828
Loc: Belgium
AFAIK, the logon script should run...
How is the logon script implemented?
Is it set in the properties of the user object?
Is it set in a group policy?
What is the command to start the script?
If a batch file is used, what is written in it?

Top
#173736 - 2007-02-07 07:22 PM Re: Citrix Presentation Server/Scripts for users with only Published Apps [Re: Witto]
brewdude6 Offline
Hey THIS is FUN

Registered: 2000-10-21
Posts: 280
Loc: Nashville, TN
I found out that somebody monkeyed with with usrlogon.cmd file on one of the farm servers. This was interfering with what I was trying to do. Thanks anyway.
_________________________
I could have made a neat retort but didn't, for I was flurried and didn't think of it till I was downstairs.
-Mark Twain

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, 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.104 seconds in which 0.074 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