pmb6tz/windows-desktop-switcher

Switching desktops no longer works on new Windows 11 update. Build 22631.3007

Opened this issue · 11 comments

Switching desktops doesn't work, but creating and deleting them works fine.
This is on the new Windows 11 update 2024-01 Cumulative Update Preview for Windows 11 Version 23H2 for x64-based Systems (KB5034204) which was released yesterday on 1-23-2024

Ah! I've been attempting to troubleshoot this for like 45 minutes and was becoming exceedingly frustrated. Other scripts work fine. When something like this happens, is it likely someone figures it out and posts a fix here, relatively soon? [I'm rather new to AHK in general].

Ok, looks like the people behind the VirtualDesktopAccessor.dll that this project uses had just fixed this in the latest release https://github.com/Ciantic/VirtualDesktopAccessor/releases. So I guess until the owner of this repository updates the dll file on the repository, we're going to have to replace the dll file with the new one as a fix.

Can confirm - works again!

Hi, sorry newbie here, can someone explain how can I replace the DLL? Thank you

Download it from the link provided above, figure out where you initially put the script - the original DLL should just be with it. Copy/paste the new one (and allow it to overwrite the old one), or simply delete the old one and move the new one to the folder.

Thanks, I have done this (I check the DLL properties to make sure it was the new one, it is was the one created on the 29th), I tried even to fork a version of the repository and included the new dll download it and still not working, only able to delete and create desktops.

Ah weird. It was basically just plug-and-play for me. Did you do all the other obvious things (restart script, restart computer)? If that doesn't fix it, then it's already above my pay grade!

yes restarted both, i tried even to restore the windows before the update. Thanks for the help. I will try one more time to restart.

Glad I checked here. Just updated Windows 11 and this script stopped working and I didn't realize how difficult I find using the OS without this script. (have it bound to a side button on my mouse for desktop profile; so easy to navigate desktops that I can't be bothered hitting a hotkey combination lol) Needless to say, I love this script!

I can report that for me it broke following the below updates, but downloading the dll from the 3rd post fixed it again.
image

Windows is completely unusable without this functionality.

Seems to be broken again in 23H2 22635.3350
Thing happens when running the script and trying to switch desktops.