Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Local Drives w/RDP

Status
Not open for further replies.

snootalope

IS-IT--Management
Jun 28, 2001
1,706
US
Hello

Here's the deal, I've got a number of terminal servers setup that many people access constantly. I have one user in particular that does NOT want her local drives connected when she signs into our terminal server. Here's the tough part; all the users that connect to our TS are connecting through an SSL/VPN box that allows the remote users to connect "clientless" like - in other words, the RDP is actually embeded in SSL/VPN box.

The SSL/VPN doesn't give me the option to not connect local drives or not. ONLY the application, RDP 5 and the IP address it connects to.

SO, does anyone know of a way IN THE REGISTRY or some other place to stop local drives from connecting when signed on through RDP to a terminal server? I need to change ONLY this one remote client. I can't make the change on my terminal server cause everyone needs their local drives. But, again, the RDP client is actually running on this SSL/VPN box and is pushed to the remote user via Internet Explorer, so I'm there's a way to lock it down on the client side.

Thanks for any info!
 
Ignore the VPN box for the moment.

If you are using mtsc.exe, the Microsoft TS and RD client, then you have the option in the client to disable the use of local drives. This changes the connectoid settings.

Connections are saved as Remote Desktop file (.rdp) files. An .rdp file contains all of the information for a connection to a terminal server, including the Options settings that were configured when the file was saved. You can customize any number of .rdp files, including files for connecting to the same server with different settings. For example, you can save a file that connects to MyServer in full screen mode and another file that connects to the same computer in 800×600 screen size. By default, .rdp files are saved as hidden files in My Documents. To edit an .rdp file and change the connections settings it contains, right-click the file and then click Edit.

The file you want to edit is a hidden file in that users profile. It is called "Default.rdp."

You can also approach this through Group Policy settings. Start, Run, gpedit.msc

In the console pane, double-click Computer Configuration, click Administrative Templates, click Windows Components, and then click Terminal Services.
Do not allow drive redirection
Disables mapping of client drives in Remote Desktop sessions.
Set to Enabled

Finally, you can push a registry edit in the user logon, or in a shortcut to the use of RD itself:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Wds\rdpwd]
"fAutoClientDrives"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp]
"fAutoClientDrives"=dword:00000001



____________________________
Users Helping Users
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top