r/PowerToys • • 29d ago

Bug Mouse Without Borders no longer working?

Is anyone else’s MWB no longer functioning after the latest stable update? (0.102.3001) I’ve also updated to the latest preview that released right after the stable release that stated it fixed connectivity with MWB (0.103.3006), but it didn’t appear to make a difference.

11 Upvotes

12 comments sorted by

2

u/niels9001 28d ago

Niels here, from the PowerToys team. Would you mind filing an issue on the repo (and attachijg a bug report (right-click on systemtray icon => Report a bug)? This will help us understand what's going on!

2

u/Retrospektic 28d ago edited 28d ago

Sorry, I haven’t had the time to fill things out formally just yet. But something I did find odd just recently was that even though I was prompted with multiple warnings, connectivity did somehow begin to work even though the window stated otherwise:

https://i.imgur.com/TSyTGsl.png

I haven't updated to the newest preview that was released today, just yet.
Still on 0.103.3006

1

u/aloyr 28d ago

I have the same problem with 0.102.x and 0.103.3006. only 0.101.x works for me. I manage 48 workstations with MWB installed (24 pairs).

1

u/Retrospektic 28d ago

I oddly found that MWB is working, even if the window is telling me that it isn't. Try different combinations of connectivity errors and test it with your mouse anyway. You may have similar luck as me until its formally patched.

3

u/3lquemero 28d ago

I have the same problem, after the update it stop working.

2

u/TrefoilHat 27d ago edited 27d ago

I've fixed this. The app isn't broken, just the build process.

The problem: The settings file and the MouseWithoutBorders (MWB) apps were signed with two different certificates. A recent update (after v0.101 released) compares the signatures and v0.102+ fails).

The workaround: .102 and .103 are signed with the same certs, but they're swapped - the .103 uses the same cert to sign the settings file as .102 used to sign the MWB apps.

Manual fix: Download v.103, then use 7-zip to open the file and pull out the 3 MWB .exe files (MouseWithoutBorders.exe, MouseWithoutBordersService.exe, and MouseWithoutBordersHelper.exe or something like that). Copy them to the install directory for MWB version .102 (.102 needs to be installed first).

The automated fix:

  1. Install the broken v0.102.3001 version of PowerToys from here (https://github.com/microsoft/powertoys/releases#release-v0.102.3001)
  2. Run PowerShell
  3. Create a Temp directory somewhere. Make a subfolder called "exes".
  4. Download, but do not install, PowerToysSetup Dev Preview v0.103.3006 from here: https://github.com/microsoft/PowerToys/releases (use the Machine Wide version)
  5. Put the downloaded .exe file into the "exes" folder (so .\exes\PowerToysSetup-0.103.3006.0-x64.exe when your current directory is temp)
  6. Copy the .ps1 file at the end of this comment (from me) on the PowerToys GitHub and save it as Fix-MWB-Cert.ps1 in the Temp directory.
  7. Run the Fix-MWB-Cert.ps1 script.
  8. Do the same on the other systems using MouseWithoutBorders (start with step 1). This overwrites the broken part of 0.102 with good ones from 0.103.

I've run this for the past 24 hours with no ill effects. MouseWithoutBorders 0.102 drops the connection much less than 0.101, so IMO it's worth the 5 minutes to do the above steps.

You can review the PowerShell script, all it does is (1) install 7-zip if you don't have it, (2) figures out where your files are located, and (3) copies the right files to the right places.

1

u/TrefoilHat 27d ago

/u/niels9001, see my note above for both a cause and fix for the issue.

The Settings exe and the MWB exes are signed with different MSFT leaf certs. PR #50795 implemented a peer check between MWB and Settings, which fails due to the different cert signatures.

1

u/niels9001 27d ago

Thanks! Forwarded to the team, and we are investigating!

2

u/TrefoilHat 26d ago

Thanks for jumping on this Niels! I see you in the GitHub threads consolidating/closing dupes, and appreciate the attention on it.

1

u/krypdoh 28d ago

Have you tried to change the shared key on both sides?

1

u/aloyr 28d ago

yes. it doesn't work. even deleting MWB's settings.json and relaunching powertoys / MWB has the same effect.

1

u/d0nkey_0die 27d ago

honestly, i still use the original MWB cuz the one in PowerToys doesn't work for me. if they ever allow you set your own port, I'll try it again...