PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Mouse Without Borders KeysNotMatched Error

Open littletuna4 opened this issue 2 years ago • 8 comments

Microsoft PowerToys version

0.72.0.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Mouse Without Borders

Steps to reproduce

I have two machines that were connected. They have stopped working. Upon investigation I have found that they have spontaneously started failing to match the keys. Naturally, I have tried resetting everything and the error has persisted. Win 11 pro on one machine. Win 10 Home on the other. Again this hasn't been an issue in the past.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

Other Software

No response

littletuna4 avatar Aug 11 '23 03:08 littletuna4

Perhaps, the ui could display the received key to aid with debugging?

littletuna4 avatar Aug 11 '23 03:08 littletuna4

I've experienced the same issue, working setup, update and it broke. Various attempts in the user interface but only some of the computers would connect, and others failed. I found a workaround, when I manually changed encryption key to the same value on each computer in the settings file in:

%localappdata%/Microsoft/PowerToys/MouseWithoutBorders/

it all worked again. That suggests it's something in the user interface or one of the checks that's at fault.

cgravill avatar Oct 09 '23 07:10 cgravill

I've experienced the same issue, working setup, update and it broke. Various attempts in the user interface but only some of the computers would connect, and others failed. I found a workaround, when I manually changed encryption key to the same value on each computer in the settings file in:

%localappdata%/Microsoft/PowerToys/MouseWithoutBorders/

it all worked again. That suggests it's something in the user interface or one of the checks that's at fault.

I was having the same issue, but manually inputting the key did not fix the problem for me. The only thing that solved my issue was to delete the entire %localappdata%/Microsoft/PowerToys/MouseWithoutBorders/ folder in both computers.

Systems: Windows10 Pro 22h2 (22621.2134) Windows11 Home 22h2 (19045.3570)

MatheusPese avatar Oct 12 '23 17:10 MatheusPese

Ran into this issue recently, I couldn't figure out why Mouse Without Borders wouldn't work for me anymore as the ui would only flash the border color.

I was on PowerToys 0.77.0, tried uninstalling, reinstalling, both from the Windows executable from github and from the Microsoft Store, upgraded to PowerToys 0.78.0, no luck.

It wasn't until yesterday when I switched to using the original Mouse Without Borders UI that I was able to get the feedback about the Keys Not Matching, which thankfully allowed me to find this issue, after deleting the folder in localappdata I was able to get Mouse Without Borders to work again.

Systems: Windows 11 Pro 21h2 (22000.2538) Windows 11 Pro 23h2 (22631.3085)

06b avatar Jan 31 '24 22:01 06b

I noticed that the value for properties > SecurityKey > value in settings.json on one machine wasn't being properly updated. It still had an old key saved, not the latest one I had typed into the Connect fields. I had tried entering the security key using the old UI but it hadn't persisted to settings.json, either.

I managed to manually replace this in the file, Refresh Connections, and now I finally have control of my second machine. That only took about 3 hours to fix, and only 20 minutes after I found this post!

There's definitely a bug here, both in the new and old UI. A new security key isn't being written to settings.json, regardless of which UI is being used.

deanis74 avatar Apr 17 '24 18:04 deanis74

in version 0.80.1.0 editing the json file directly is what fixed it for me!

KindJon avatar Apr 26 '24 04:04 KindJon

Thank you for summarizing what I said. Manually replacing the security key in settings.json fixes the issue.

deanis74 avatar Apr 26 '24 06:04 deanis74

I had the same issue as well, it was connecting well before and one day it stopped connecting. Tried changing to old UI and it shows key did not match. Then i tried the above methods and the following one works: The only thing that solved my issue was to delete the entire %localappdata%/Microsoft/PowerToys/MouseWithoutBorders/ folder in both computers.

random-name-123 avatar May 06 '24 02:05 random-name-123

I was having the same issue. I had to manually edit the settings.json file and put the same key in there on my second machine. Once I did that it connected right away.

isaiahfranco avatar Jul 17 '24 20:07 isaiahfranco