Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TS 2008 RemoteApp GPO to Redirect Local c: Drive

Posted on 2009-07-04
6
Medium Priority
?
6,441 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 2000 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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 the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

927 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