RadAd / RMVirtualDesktop

Virtual desktop functionality for Rainmeter
MIT License
19 stars 3 forks source link

Pluging broken in Windows 11, 22H2 #6

Open trasdahl-stb opened 6 months ago

trasdahl-stb commented 6 months ago

This plugin broke for me after my latest Windows update. I am now on Windows 11, 22H2 (build 22621.3155). The plugin now shows zero desktops, and the arrows don't work. The log says that the error is "GetDesktopManagerInternal".

I have tried versions 1.3, 1.3.2, 1.4.2 and 1.4.3, but the error remains the same. Any idea what this could be?

RadAd commented 6 months ago

Microsoft has probably changed the API again. It will take a bit of investigation to find the new details.

RadAd commented 6 months ago

I think I have found the new GUIDs for the interfaces. Could you install this https://github.com/tyranid/oleviewdotnet And then execute this powershell script? Win11VirtualDesktopInterfaces.zip Thanks.

trasdahl-stb commented 6 months ago

I don't think I'm able to, due to lacking admin rights on my laptop. I am able to run OleViewDotNet.exe from https://github.com/tyranid/oleviewdotnet/releases/tag/v1.11 (not sure if that was the right one, but it ran at least), but trying to run your power shell script gives me an unauthorized access error: `.\Win11VirtualDesktopInterfaces.ps1 : File cannot be loaded. The file Win11VirtualDesktopInterfaces.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1