Link to home
Start Free TrialLog in
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.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

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


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.
have you tried using the unc address vs the mapped drive/
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
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.
Avatar of BBrayton

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial