XenApp Mapped drives

We have a remote office that is in our network with a login script to mapped network drives in our main office and the remote's local server... drives H, S and T.
They use Citrix XenApp (server at main office) to access our ERP system located at he main office.  Desktop is published instead of individual apps for several reasons. Our issue is that when a user connects to Citrix Desktop, they get their login script again. So a users sees H, S and T and again H,S, T (on user local computer). Any ideas how to avoid seeing the double mapped drives?

Thanks
roxyndallasAsked:
Who is Participating?

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

x
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:
Can you show us the login script?

Do you use "if not exist h:\nul net use h: ...?
0

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
roxyndallasAuthor Commented:
@echo off

echo Mapping Shared Directory - S Drive ...
net use s: \\server\shared /persistent:no

echo Mapping Dept  Directory - T Drive ...
net use t: \\server1\shared /persistent:no
0
Carl WebsterCitrix Technology Professional - FellowCommented:
If would check for the existance of the drive before it is mapped and either not remap or delete the current mapping and then remap.
0
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
Citrix

From novice to tech pro — start learning today.