how do I get citrix session to show loginscript box?

as the title says.
how do i get a citrix session to display my loginscript when a application is runned?
my terminal server does not display anything at the moment, so if the script waits for keypress, the user will have to wait for ever because the black box is not displayed
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carl WebsterCitrix Technology Professional - FellowCommented:
Do you have your Logon script Group Policy Object set to show logon scripts?

User Configuration
Administrative Templates
Run logon scripts visible

I just tested this in my lab but it has two flaws.  It will show the logon script but the CMD windows does NOT get focus and the application does not wait on the logon script to complete.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thor918Author Commented:
I do not on these terminalservers.
Only thing I can find in the mess that looks like something similar is:
Run legacy logon scripts hidden: enabled
however the display of loginscript works on some of the terminalservers that does not have this policy.

What is the default behaveior of a citrix terminal server? to display or hide loginscript from the user?
thor918Author Commented:
i ment that does have this policy
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

thor918Author Commented:
i ment that it displays loginscript that does have the policy I mentioned....
Carl WebsterCitrix Technology Professional - FellowCommented:
In my lab, I started with NO group policies and didn't alter the local policies.  My XenApp servers do not show the login scripts.  Only when I created a sample login script GPO and enabled the show login scripts did it display the CMD window.
thor918Author Commented:
Thanks for checking that out ;)
Group policy can be just awfull to navigate throug. there where 4 gpo's on a ou with computers. tried to run gpresult on one of the ts-servers, and it showed that only two of the gpo was applied.  I just can't understand why two of theme got filtered out. anyways thats a different story.

my conclusion is that would be better to have all loginscripts dump them self to file to a hidden share. if a share/printer mapping fails it would be much simpler to just read a dump file.

thanks again for swift replies.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.