Solved

TS 2008 RemoteApp GPO to Redirect Local c: Drive

Posted on 2009-07-04
6
5,860 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

758 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

20 Experts available now in Live!

Get 1:1 Help Now