App Volumes: Invalid Session cookie

Published by Richard on

You might run into the following error with VMware App Volumes after logging on to a Horizon View desktop which is NVidia vGPU enabled:

Error from Manager FQDN [error code: 401]: Invalid session cookie: Session key xxx does not match active computer session xxx on Computer <VDI FQDN>
Virtualization is disabled

This issue is caused by the Instant Clone mechanism for ESXi 6.5 in combination with NVidia vGPU. As you might know a parent virtual machine doesn’t get a vGPU attached so whenever an instant clone virtual desktop is spawned the vGPU needs to be added to the virtual machine. This process requires an extra reboot of the VM which will eventually lead to the App Volumes session cookie mismatch.

This issue can be fixed by manually disabling the agent session cookie in the App Volumes SQL database.

  1. Start SQL Server Management studio
  2. Look for the settings table and add a row with the following values:
    1. key: “disable_agent_session_cookie”
      If this key already exists then you can update it
    2. value: “1”
  3. You can also specify the created_at and updated_at dates, these can just be the current time.

This will prevent the error being displayed to all users which logon to their VDI session.


10 Comments

VMware App Volumes, NVIDIA, InstaClones, And The Invalid Session Cookie Error | VCloudInfo · June 23, 2020 at 22:13

[…] originally found the solution in this blog post and this forum thread.The fix is basically to manually disable the agent session cookies in the SQL […]

ciprofloxacin hcl 500 mg · March 7, 2026 at 20:44

ciprofloxacin hcl 500 mg

ciprofloxacin hcl 500 mg

doxycycline 100 mg capsule · March 10, 2026 at 12:42

doxycycline 100 mg capsule

doxycycline 100 mg capsule

levitra price · March 20, 2026 at 08:56

levitra price

levitra price

lasix 40 mg · March 20, 2026 at 17:47

lasix 40 mg

lasix 40 mg

zoloft without dr prescription · April 3, 2026 at 14:23

zoloft without dr prescription

zoloft without dr prescription

amoxicillin clavulanate potassium · April 4, 2026 at 02:39

amoxicillin clavulanate potassium

amoxicillin clavulanate potassium

diflucan 150 mg oral tablet · April 10, 2026 at 10:40

diflucan 150 mg oral tablet

diflucan 150 mg oral tablet

furosemide 40 mg tablet oral · April 10, 2026 at 18:15

furosemide 40 mg tablet oral

furosemide 40 mg tablet oral

doryx 200 mg · April 14, 2026 at 12:51

doryx 200 mg

doryx 200 mg

Comments are closed.