Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

TS 2008 RemoteApp GPO to Redirect Local c: Drive

Posted on 2009-07-04
6
Medium Priority
?
6,333 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 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
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…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
Suggested Courses

704 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