Link to home
Create AccountLog in
Windows Server 2008

Windows Server 2008

--

Questions

--

Followers

Top Experts

Avatar of quinnwyo
quinnwyo๐Ÿ‡บ๐Ÿ‡ธ

TS 2008 RemoteApp GPO to Redirect Local c: Drive
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?

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of tigermatttigermatt๐Ÿ‡ฌ๐Ÿ‡ง


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

Avatar of quinnwyoquinnwyo๐Ÿ‡บ๐Ÿ‡ธ

ASKER

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

SOLUTION
Avatar of tigermatttigermatt๐Ÿ‡ฌ๐Ÿ‡ง

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

ASKER CERTIFIED SOLUTION
Avatar of quinnwyoquinnwyo๐Ÿ‡บ๐Ÿ‡ธ

ASKER

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.

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


Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of TrilliumPCTrilliumPC๐Ÿ‡จ๐Ÿ‡ฆ

Excellent. ย This workaround is better that allowing all users to automap local drives is TS.
Windows Server 2008

Windows Server 2008

--

Questions

--

Followers

Top Experts

Windows Server 2008 and Windows Server 2008 R2, based on the Microsoft Vista codebase, is the last 32-bit server operating system released by Microsoft. It has a number of versions, including including Foundation, Standard, Enterprise, Datacenter, Web, HPC Server, Itanium and Storage; new features included server core installation and Hyper-V.