Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 11 23H2 build 22631.2861 not working (v1.5.9) #48

Open
MorpheusUK opened this issue Nov 8, 2024 · 3 comments
Open

Windows 11 23H2 build 22631.2861 not working (v1.5.9) #48

MorpheusUK opened this issue Nov 8, 2024 · 3 comments

Comments

@MorpheusUK
Copy link

I have installed the latest version at time of writing (v1.5.9 and also tried the C# version v1.19) which is failing with the error on Windows 11 23H2 build 22631.2861.
In the case of the Powershell commands I am getting the following errors:

PS C:> Get-DesktopList
The type initializer for 'VirtualDesktop.DesktopManager' threw an exception.
At C:\Program Files\WindowsPowerShell\Modules\VirtualDesktop\1.5.9\VirtualDesktop.ps1:1242 char:16

  •     for ($I = 0; $I -lt [VirtualDesktop.Desktop]::Count; $I++)
    
  •                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:) [], TypeInitializationException
    • FullyQualifiedErrorId : System.TypeInitializationException
@MorpheusUK MorpheusUK changed the title Windows 11 23H2 build 22631.2861 not working Windows 11 23H2 build 22631.2861 not working (v1.5.9) Nov 8, 2024
@MScholtes
Copy link
Owner

Hello @MorpheusUK,

with version 22631.3085 Microsoft changed the Windows 11 API to access virtual desktops. Please update your Windows to a supported version.

Greetings

Markus

@MorpheusUK
Copy link
Author

Thanks for your speedy response, unfortunately it's actually a newly built and issued work laptop so I am unable to upgrade the OS independently as that is managed by our IT department.

@MScholtes
Copy link
Owner

Hello @MorpheusUK,

tell your management to fire the IT department: patching is mandatory!

Version 1.56 should work, but might have other flaws.

Greetings

Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants