NICE Desktop Cloud Visualization
Administrator Guide

Enabling Session Storage

Session storage is a folder on the NICE DCV server that clients can access when they are connected to a specific NICE DCV session. When you enable session storage for a session, clients can download files from, and upload files to the specified folder. This feature enables clients to share files while connected to a session.

Enabling Session Storage on a Windows NICE DCV Server

To enable session storage, you must create the folder to use for session storage and then configure the storage-root parameter using the Windows Registry Editor.

To enable session storage on Windows

  1. Create the folder to use for session storage. For example, c:\session-storage.

  2. Configure the storage-root parameter.

    1. Open the Windows Registry Editor.

    2. Navigate to the HKEY_USERS/S-1-5-18/Software/GSettings/com/nicesoftware/dcv/filestorage/ key and select the storage-root parameter.

      If there is no storage-root parameter in the registry key, create one:

      1. In the left-hand pane, open the context (right-click) menu for the file-storage key and choose New, String.

      2. For Name, type storage-root and press Enter.

    3. Open the storage-root parameter. For Value data, type the full path to the folder created in Step 1.

    4. Choose OK and close the Windows Registry Editor.

    5. Stop and restart the NICE DCV server.

  3. Start the session and specify the --storage-root option. For more information, see Starting NICE DCV Sessions.

Enabling Session Storage on Linux

To enable session storage, you must create the folder to use for session storage and then configure the storage-root parameter in the dcv.conf file.

To enable session storage on Linux

  1. Create the folder to use for session storage. For example, /opt/session-storage/.

  2. Configure the storage-root parameter.

    1. Navigate to /etc/dcv/ and open the dcv.conf with your preferred text editor.

    2. Locate the storage-root parameter in the [filestorage] section, and replace the existing path with the full path to the folder created in Step 1.

      If there is no storage-root parameter in the [filestorage] section, add it manually using the following format:

      [filestorage] storage-root="/opt/session-storage/"
  3. Save and close the file.

  4. Stop and restart the NICE DCV server.

  5. Start the session and specify the --storage-root option. For more information, see Starting NICE DCV Sessions.