Please make sure that the issue you're planning to report is not already registered :)
2026-01-24 13:48:22.854 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning current desktop: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:48:22.856 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning all desktops information: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:48:23.624 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning current desktop: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:48:23.624 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning all desktops information: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:48:23.806 +01:00 [INF] [MQTT] Initial registration completed
2026-01-24 13:48:38.808 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning current desktop: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:48:38.809 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning all desktops information: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:48:53.940 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning current desktop: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:48:53.941 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning all desktops information: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:49:09.071 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning current desktop: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:49:09.072 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning all desktops information: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:49:24.256 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning current desktop: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
2026-01-24 13:49:24.258 +01:00 [ERR] [VIRTDESKT] Unhanded exception returning all desktops information: Could not load file or assembly 'WinRT.Runtime, Version=2.2.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Das System kann die angegebene Datei nicht finden.
Please make sure that the issue you're planning to report is not already registered :)
Describe the bug
Since upgrading to the latest Version 2.2.0 my sensor in Home Assistant for the virtual desktop IDs do not work anymore. The attributes for DesktopName and availableDesktops are empty and the state too.
Expected behavior
Attributes should contain the IDs and state. Before upgrading this worked
Screenshots


Misc info (please complete the following information):
winver.exeoutput): Win11 Pro 25H2Please check what's applicable (multiple answers possible):
Additional context
Add any other context about the problem here.
Logs
Log has a lot of VIRTDESKT Errors. Here are a few of them: