Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Mapped drives not working when using RemoteApp

Posted on 2008-11-04
10
Medium Priority
?
5,646 Views
Last Modified: 2013-11-21
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?
0
Comment
Question by:andrew_aj1
  • 5
  • 5
10 Comments
 
LVL 10

Expert Comment

by:sublifer
ID: 22879712
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
 
LVL 24

Author Comment

by:andrew_aj1
ID: 22879864
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
 
LVL 10

Expert Comment

by:sublifer
ID: 22880140
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 24

Author Comment

by:andrew_aj1
ID: 22880155
Yes, I do see that. I need that line though. It is the line that runs the logon script.
0
 
LVL 10

Expert Comment

by:sublifer
ID: 22880251
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
 
LVL 24

Author Comment

by:andrew_aj1
ID: 22880275
Where do I add this information?
0
 
LVL 10

Expert Comment

by:sublifer
ID: 22881218
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
 
LVL 24

Author Comment

by:andrew_aj1
ID: 22881253
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
 
LVL 10

Accepted Solution

by:
sublifer earned 2000 total points
ID: 22881280
perhaps rdp is incapable of running vb script... can you create a batch file to call the vbs?
0
 
LVL 24

Author Closing Comment

by:andrew_aj1
ID: 31513218
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question