Stopping NICE DCV sessions - NICE DCV
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Stopping NICE DCV sessions

A console session can only be stopped by the administrator on Windows NICE DCV servers, and the root user on Linux NICE DCV servers. A virtual session on a Linux NICE DCV server can only be stopped by the root user or the NICE DCV user who created it.

Note

Stopping a session closes all of the applications that are running in the session.

To stop a console or virtual session on a Windows or Linux NICE DCV server, use the dcv close-session command and specify the unique session ID.

Syntax

dcv close-session session-id

Example

For example, the following command stops a session with the unique ID of my-session.

dcv close-session my-session