Avatar of BBrayton
 asked on

How to allow a remote app to see mapped drives

I am setting up a new 2019 RDP server.

Its all setup, We want the users to utilize the remote desktop APPS feature instead of the FULL RDP.

When i run programs that need mapped drives it will not run. or find the database.

My question is how to I allow the apps to use Mapped drives?
The user I'm logging into has Mapped drives on its profile on the RDP server.
DatabasesDesktops* mapped drive* remote app

Avatar of undefined
Last Comment

8/22/2022 - Mon
David Johnson, CD

are they mapped via group policy OR part of the users profile?  i.e. remote user logged into server and mapped drives?

I tried both.
They have a sage program that everyone uses. internally they all have a mapped drive to the data.
on the remote app there is no option to setup mapped drives.

the full remote desktop app does. that works great.
David Johnson, CD

have you tried using the unc address vs the mapped drive/
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.

Where would I input the UNC address for the Remote APP?

the gui only creates mapped drives for a locally logged on user.

there are many ways to make the same work in remote desktops. one of them is to stick the proper net use command in a startup script. note that the run and runonce keys in the registry are different for local and remote logons

i am unsure but setting the shares to be available for all users might do the trick as well

Do you agree that just setting up RDP to remote onto the RDP server is the best way for remote users to utilize mapped drives.

Instead of using remote apps
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

i am unsure there is a "best" way.

but pretty sure remote apps will not "see" the user's mapped drives.

there is most definitely a way to allow remote apps to use a mapped drive. there should be many ways including create a basic batch script that will "net use ..." whatever required resource and subsequently spawn the program.

I did see that using net use but I just don't see how that will work.
Do you have an article on how to get this to work?

nope, but that is as trivial as it gets : the net use command will mount the drive in the current context, and the app will inherit that context including the mounted drive.

there are certainly other ways to do the same thing. i'm not much of a windows expert so i'm only advising what i know should work, is rather easy to test, and does not put your setup at risk.
Your help has saved me hundreds of hours of internet surfing.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question