Hacker News new | ask | show | jobs
by Already__Taken 2839 days ago
There's a hash of the registry key stored "securely" somewhere. Only the API the control panel default apps UI uses changes this registry key and updates the hash. When the application key is called to run and doesn't match the hash it's reset to the value from "C:\Windows\System32\OEMDefaultAssociations.xml"

It's terrible behavior.

2 comments

What sorts of locks/permissions does this file have?

Maybe you could make a tool that lets you make changes, schedules a modification of this file on next restart, and after the restart it propagates the changes in the registry too.

Yes, "please reboot to apply your new mouse position^W^W^Wfile association changes", yay, but that'd work.

Although I'd definitely hate it.

Does direct editing via regedit work as expected or does it also reset?
It will trigger a reset because you haven't updated the hash...