[PATCH 0/1] MR11055: loader: Add default SQMClient registry key
On Windows the key `HKLM\SOFTWARE\Microsoft\SQMClient` is populated with a random UUID when SQM is first used to identify each device. For now setting it to an empty value seems to satisfy applications that depend on it. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54021 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11055
From: Rose Hellsing <rose@pinkro.se> On Windows the key HKLM\SOFTWARE\Microsoft\SQMClient is populated with a random UUID when SQM is first used to identify each device. For now setting it to an empty value seems to satisfy applications that depend on it. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54021 --- loader/wine.inf.in | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/wine.inf.in b/loader/wine.inf.in index f66d4ead022..70972e2f38f 100644 --- a/loader/wine.inf.in +++ b/loader/wine.inf.in @@ -591,6 +591,7 @@ HKLM,Software\Microsoft\Rpc\SecurityService,68,2,"netlogon.dll" HKLM,Software\Microsoft\Rpc\SecurityService,9,2,"secur32.dll" HKLM,Software\Microsoft\Shared Tools\MSInfo,,16 HKLM,Software\Microsoft\SystemCertificates,,16 +HKLM,Software\Microsoft\SQMClient,"MachineId",2,"" HKLM,Software\Microsoft\TermServLicensing,,16 HKLM,Software\Microsoft\Transaction Server,,16 HKLM,Software\Microsoft\WBEM,"Installation Directory",2,"%11%\wbem" -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/11055
It is probably best to have it compatible with Windows? If the key is really needed (lets the app work at least in some way, not just start) I'd suggest to create it in programs/wineboot/wineboot.c with the random uuid and compatible format (if it is not present yet, so if it is initialized once in Wine prefix it is persistent like on Windows). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11055#note_141995
On Tue Jun 2 16:15:42 2026 +0000, Paul Gofman wrote:
It is probably best to have it compatible with Windows? If the key is really needed (lets the app work at least in some way, not just start) I'd suggest to create it in programs/wineboot/wineboot.c with the random uuid and compatible format (if it is not present yet, so if it is initialized once in Wine prefix it is persistent like on Windows). The app is able to work with it fully, I thought of creating a uuid but wasn't sure since SQM telemetry is disabled in wine either way, and from my (admittedly limited) testing just an empty value seems to be enough
I can make it create a random uuid if that's preferred though. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11055#note_141998
On Tue Jun 2 16:15:42 2026 +0000, Rose Hellsing wrote:
The app is able to work with it fully, I thought of creating a uuid but wasn't sure since SQM telemetry is disabled in wine either way, and from my (admittedly limited) testing just an empty value seems to be enough I can make it create a random uuid if that's preferred though. SQM telemetry is not implemented in Wine but looks like some app still depends on this key presence. IMO to make such a change potentially useful not only for this specific app it makes more sense to have it at least in compatible format (a constant value could still be added in wine.inf.in) and then having the compatible properties which is probably not too hard in this case: unique per system instance (Wine prefix in our case).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11055#note_142003
(a constant value could still be added in wine.inf.in) and then having the compatible properties which is probably not too hard in this case: unique per system instance (Wine prefix in our case).
To clarify, I don't mean adding it to both wine.inf and wineboot. Just that if wineboot will be considered too much of hassle for such a case it is better to have some UUID in compatible format hardcoded in wine.inf than empty string. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11055#note_142006
participants (3)
-
Paul Gofman (@gofman) -
Rose Hellsing -
Rose Hellsing (@axtlos)