Configuring Filtered File Storage Redirection (Windows Embedded CE 6.0)

1/5/2010

With file storage redirection, a thin client user can view and manage folders on a local drive during a remote session with a server that is running Terminal Services.

Note

This feature applies to Windows thin clients that support local storage of files. If the thin client you are developing supports access to only files that are stored on a server, do not enable this feature.

File storage redirection works by using an internal virtual channel.

If file storage redirection is enabled in the run-time image, you can use filtered file storage redirection to determine the local directories that will be available to the user in an RDP session.

Note

File Storage Redirection and Filtered File Storage Redirection are both selectable in the catalog under Core OS\CEBASE\Applications - End User\Remote Desktop Connection folder.

File System Root Path

You can specify the root of the local file system to which the redirection filter applies in the HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FilterFsd registry key. This registry key is defined in rdp.reg at %_WINCEROOT%\PUBLIC\RDP\OAK\FILES. The following table shows the named values.

Value Description

RootPath

Indicates the root of the file system to which the redirection filter applies.

To configure filtered file storage redirection

  1. In Platform Builder, on the File menu, select Open, and then select File.

  2. Set Files of Type to All Files.

  3. Navigate to %_WINCEROOT%\PUBLIC\RDP\OAK\FILES.

  4. Select rdp.reg and click Open.

  5. In rdp.reg, locate the HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FilterFsd registry key.

  6. In the FilterFsd registry key, specify a directory path for RootPath. If you specify "\\", the whole file system comes under the scope of this filter. To reduce the scope of file storage redirection, you can specific a specific directory path.

  7. On the File menu, select Save rdp.reg.

During the build process, makeimg.exe processes all .reg files in the build directories to create a single file, Reginit.ini. Reginit.ini forms the basis for the system registry.

For more information about drive redirection, see RDP Registry Settings.

Clipboard Redirection

If you enable file storage direction, you can also enable clipboard redirection. Clipboard redirection enables a user to copy bitmaps, text, and files from a remote computer to the clipboard on the local computer during an RDP session.

To include clipboard direction, add the Cut/Copy/Paste Clipboard Redirection Catalog item (SYSGEN_RDP_CLIPBOARD) to the operating system (OS) design.

The HKEY_LOCAL_MACHINE\Explorer registry key can be used to enable or disable clipboard direction. This registry key is located in rdp.reg at %_WINCEROOT%\PUBLIC\RDP\OAK\FILES.

The following table shows the named value for this registry key.

Value Description

Use2ndClipboard

Indicates whether to use clipboard redirection for copying files from one computer to another.

See Also

Concepts

Configuring a Thin Client

Other Resources

Customizing a Thin Client
Filtered File Storage Redirection
Virtual Channels Implementation