Solved

TS 2008 RemoteApp GPO to Redirect Local c: Drive

Posted on 2009-07-04
6
5,924 Views
Last Modified: 2016-05-05
We have deployed our first RempteApp application and need to have our users be able to save to their local workstation.  I know I can edit their RDP client to redirect their C: drive, or any other device, but how could I configure this through a GPO so not to touch each users RDP client settings?
0
Comment
Question by:quinnwyo
6 Comments
 
LVL 58

Expert Comment

by:tigermatt
ID: 24780355

In short, you can't.
When the RemoteApp is virtualised from the server, it acts as if the program was actually running from the server. This means the disks being presented are the server's disks, not the local workstation disks.

Without using disk redirection to redirect the connecting client's C:\ drive to the server (so it can be accessed from the server using the \\tsclient\C share), you cannot access the client's local C: drive nor can you redirect any data to it.

-Matt
0
 

Author Comment

by:quinnwyo
ID: 24789475
How can I redirect the clients C: drive, or some path on the clients local PC so they can save data from the RemoteApp session to their local PC.  I have redirected drives enabled on the TS server, but don't understand how to map/redirect a users local resources?

Please advise?

Thanks
0
 
LVL 58

Assisted Solution

by:tigermatt
tigermatt earned 500 total points
ID: 24833986

I'm not near a TS RemoteApp server to test this. However, when opening a session to a TS RemoteApp, somewhere there should be an 'Options' area which you can expand. You can check to redirect local drives to the server here.

Alternatively, if you connect using an RDP file, open that file in Notepad or some other text editor and add the following line:

drivestoredirect:s:C:;

This will cause only the local C: drive to be redirected.

-Matt
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Accepted Solution

by:
quinnwyo earned 0 total points
ID: 24854935
My research tells me that the RemoteApp MMC does not have the ability to granulate redirected drives - its all or none within the RemoteApp management console.  I did the following within the RemoteApp Management Console:

enable drive redirection
deployed to an RDP icon


edit the RDP icon changing drivestoredirect:s:* to drivestoredirect:s:C:;
repackage to an MSI and GPO to clients.

Accomplishes what I want.
1
 

Expert Comment

by:TikTek-IT
ID: 37773553
I have seen written from a MS moderator that specific drive redirection (by modifying the RemoteApp rdp file) in RemoteApp is not supported and will not work. I have tested extensively and no matter what I try if I change the line:

drivestoredirect:s:*

to:

drivestoredirect:s:C:; or drivestoredirect:s:X:; (for example)

it will not redirect any of the drives. I have resorted to just having all the drives mapped.

In response to the OP's question, if you want users to be able to save to their local C drive, you can either point your program to save in \\tsclient\c or you can write a script that maps a network drive to their local machine.

Since drive redirection takes a few seconds, if you write the script to execute on startup it may not work. I have created a workaround script and I have pasted it below. I hope it helps anyone out there.

@echo off
:map
cls
CHOICE /T 1 /C W /CS /D W /m "Please wait while the W drive is mapped to your local C drive..."
net use w: \\tsclient\c
IF EXIST W:\NUL GOTO Exit
::If we got here it means there is still no W drive mapped to the client C drive
GOTO map
:Exit
cls
echo "SUCCESS! The W drive has been mapped to your local C drive."
exit

Open in new window

1
 

Expert Comment

by:TrilliumPC
ID: 41580759
Excellent.  This workaround is better that allowing all users to automap local drives is TS.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now