Merge #17065: Use process-unique key for winreg test.

Patch by Jeremy Kloth.