Solved

TS 2008 RemoteApp GPO to Redirect Local c: Drive

Posted on 2009-07-04
6
6,144 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Know what services you can and cannot, should and should not combine on your server.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

739 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