Skip to content

(2025.06 and 2025.06.01) Windows DCV session created before reboot causing DCV session connection failure #124

@Murielxun

Description

@Murielxun

Bug description

During Windows VDI bootstrap process, the DCV session is created before the reboot completion sometimes. This causes the DCV session lost after DCV server restart.

Affected versions

2025.06 and 2025.06.01

Mitigation

  1. Download patch.py and windows_reboot.patch by replacing <output-directory> with the directory to download the patch script and patch file and <environment-name> with the name of your RES environment in the command below:
    1. The patch applies to RES 2025.06 and 2025.06.01
    2. The patch script requires AWS CLI v2, Python 3.9.16 or above, and Boto3.
    3. Configure the AWS CLI for the account / region where RES is deployed, and make sure that you have S3 permissions to write to the bucket created by RES.
OUTPUT_DIRECTORY=<output-directory>
ENVIRONMENT_NAME=<environment-name>
RES_VERSION=<res-version>
ACCOUNT_ID=<account-id>

mkdir -p ${OUTPUT_DIRECTORY}
curl https://research-engineering-studio-us-east-1.s3.amazonaws.com/releases/${RES_VERSION}/patch_scripts/patch.py --output ${OUTPUT_DIRECTORY}/patch.py
curl https://research-engineering-studio-us-east-1.s3.amazonaws.com/releases/${RES_VERSION}/patch_scripts/patches/windows_reboot.patch --output ${OUTPUT_DIRECTORY}/windows_reboot.patch
  1. Navigate to the directory where the patch script and patch file are downloaded. Run the following patch commands:
python3 ${OUTPUT_DIRECTORY}/patch.py --environment-name ${ENVIRONMENT_NAME} --res-version ${RES_VERSION} --module virtual-desktop --patch ${OUTPUT_DIRECTORY}/windows_reboot.patch

Note that the patch only applies to newly launched VDIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions