Mapped drives not working when using RemoteApp

I have a program that I am trying to deploy using TS RemoteApp. This application requires a mapped network drive. I have a logon script that works perfect when a user logs into a computer or remotely using remote desktop, but it does not work when I try using RemoteApp. The logon script is deployed through group policy.How can i get this logon script to run so the application will work using RemoteApp?
LVL 24
andrew_aj1Asked:
Who is Participating?
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.

subliferCommented:
Have a copy of your script handy on the server, Follow the instructions here ( http://technet.microsoft.com/en-us/library/cc730673.aspx#BKMK_CustomRDPSettings ) to get the rdp settings for your deployment, and while you're creating your settings, expand the options, go to the programs tab, select the box to "start program on connection" and point to your drive map script.
0
andrew_aj1Author Commented:
It looks like the setting I want to copy and apply is this:
alternate shell:s:\\s1dc01\NETLOGON\logonScript.vbs
 This issue now is that when I do this is that I get an error that states 'The following RDP settings cannot be overridden.'
How can I get this to work?
0
subliferCommented:
Did you see step 4) ?

If the Error with Custom RDP Settings dialog box appears, do the following:

Click Remove to automatically remove the settings that are either not valid or cannot be overridden, or click OK to remove the settings manually.
After the settings are removed, click Apply again.

Not sure if this applies but it sounds right.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

andrew_aj1Author Commented:
Yes, I do see that. I need that line though. It is the line that runs the logon script.
0
subliferCommented:
Ahhh... its funny how I overlook the notes they try to make stand out

You cannot override settings that are available in the global deployment settings in TS RemoteApp Manager. If you do so, you will be prompted to remove those settings when you click Apply.

So you need to either remove the respective "alternate shell..." line from your global deployment settings or add it in its entirety there in the RemoteApp manager.
0
andrew_aj1Author Commented:
Where do I add this information?
0
subliferCommented:
It looks like it didn't take my last comment...

You should look to add that when you create the rdp or msi package from the RemoteApp program that you are trying to deploy.

If all else fails, create the rdp as it will, then manually edit the rdp to change that line.
0
andrew_aj1Author Commented:
I added 'alternate shell:s:\\s1dc01\NETLOGON\logonScript.vbs' (replacing the line currently in there) by opening the rdp file in notepad. I launched it and the script did not run. I could not access the mapped drives.
0
subliferCommented:
perhaps rdp is incapable of running vb script... can you create a batch file to call the vbs?
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
andrew_aj1Author Commented:
Thanks for the help. This is not the exact solution I was hopeing for, but I made a batch file to open a local copy of the script and then the program. It is the only way that I could figure out how to get it to work. Thanks again.
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
Microsoft Server OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.