Link to home
Start Free TrialLog in
Avatar of trippa666au
trippa666au

asked on

How to map network drive for RemoteApp in terminal server 2008

Hi,

I can't find a way to connect to a mapped network drive within a RemoteApp.

I have a RemoteApp set up for Microsoft Access connecting to Microsoft Terminal Server 2008 VM that uses an SQL database running on a Microsoft SBS 2008 premium VM. The RemoteApp works fine and the database performs nicely but the problem is that the database needs to attach forms from a network share.

I've setup a user called 'apps' and created a logon script to net use the shared drive. If I log into the TS via RDC the script connects the mapped network drive and the database can access forms fine but I want to run the application as a RemoteApp only and in doing this the script doesn't run so the mapped drive doesn't exist.

If anyone knows a way to attached a mapped drive to a RemoteApp it would be greatly appreciated.

Cheers!
Avatar of Kruno Džoić
Kruno Džoić
Flag of Croatia image

Do you running RemoteApp only form one PC or ?

Where in RemoteApp do you command app to connect on mappeed drive ?
Avatar of trippa666au
trippa666au

ASKER

Yes just one remote PC via VPN. Can't find anywhere to run a command I've only tried logon script without success
SOLUTION
Avatar of Kruno Džoić
Kruno Džoić
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The user is in a local profile joined to the domain and they have mapped shares within their profile to the SBS 2008 VM where the resources are.

The RemoteApp is hosted on the T/S and because it's only the application itself that authenticates with the DC a user profile isn't loaded so a net use bat file (or logon script that I've already tried) isn't initialised.

So the user can browse the exact shares via windows explorer that the RemoteApp can't access from the TS where it's hosted
Can anyone help with this?
Avatar of lamaslany
@trippa666au:  I am not sure you have understood what M3rc74 was suggesting.  This script is *not* a 'login' script - rather it is the 'application' that gets run when the RemoteApp is launched.

Rather than launching the application directly the 'RemoteApp' would the the script file "remoteapp.cmd".  When the RemoteApp is started it'll run the script which maps the drive and starts the actual application.  

I'm not sure I understand how to do this. If I make a script file on the TS to map a drive then to run the remoteapp, it still maps the drive in the local user profile not on the TS host. The remoteapp doesn't use local mapped drive resources because it is running on the host.

I can't find anywhere to set a command in the remoteapp to map a network drive all you can do is set custom RDP settings. If iI'm not understanding can you explain how to do this?
"If I make a script file on the TS to map a drive then to run the remoteapp, it still maps the drive in the local user profile not on the TS host. The remoteapp doesn't use local mapped drive resources because it is running on the host."

When you say it 'maps the drive in the local user profile' do you mean that the script maps the drive on the local (client) machine?
Yes. I've created a Remoteapp of the script but it still only maps a drive on the local client machine. Maybe this is impossible to do...
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
you can use group policy preference user config drive mapping to map a share.
if you put a feed back whether the issue was resolved?
drive mapping is possible with remoteapps.
Sorry can I award points on this. I tried but said it was not possibe