thebookisclosed / ViVe

C# library and console app for using new feature control APIs available in Windows 10 version 2004 and newer
GNU General Public License v3.0
4.89k stars 298 forks source link

Settings Header Banner Disabling #26

Closed the-j0k3r closed 2 years ago

the-j0k3r commented 2 years ago

I literally had this work once, until Windows was patched recently the header came back again and wont be disabled hidden anymore.

Capture

Commands ran on admin powershell

.\ViveTool.exe addconfig 18299130 1
.\ViveTool.exe addconfig 31950543 1

ViveTool Query all after reboot.

> .\vivetool.exe queryconfig all
ViVeTool v0.2.1 - Vibranium feature configuration tool

[0x011738FA / 18299130]
Group: 4
EnabledState: Disabled (1)
EnabledStateOptions: 1
Variant: 0
VariantPayloadKind: 0
VariantPayload: 0

[0x016B553E / 23811390]
Group: 0
EnabledState: Enabled (2)
EnabledStateOptions: 0
Variant: 0
VariantPayloadKind: 0
VariantPayload: 0

[0x01A4258C / 27534732]
Group: 0
EnabledState: Disabled (1)
EnabledStateOptions: 0
Variant: 0
VariantPayloadKind: 0
VariantPayload: 0

[0x01E786CF / 31950543]
Group: 4
EnabledState: Disabled (1)
EnabledStateOptions: 1
Variant: 0
VariantPayloadKind: 0
VariantPayload: 0

Its shows 18299130 and 31950543 as disabled but the header is still visible

Capture

the-j0k3r commented 2 years ago

Ah should have read #21

Microsoft, Oh Microsoft.

the-j0k3r commented 2 years ago

Worth noting that under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FeatureManagement\Overrides\4

neither of the configs added as above are listed.

Capture

alwaysaheadofMS commented 2 years ago

It just happened on my main computer. I uninstalled the optional update KB5011543 and the ads on the settings banner is gone again. It's an optional update so it won't automatically reinstall. I am on Win 10 Ver 21H2 build 19044.1387.

the-j0k3r commented 2 years ago

KB5011543 is some gimmick https://support.microsoft.com/en-us/topic/march-22-2022-kb5011543-os-builds-19042-1620-19043-1620-and-19044-1620-preview-4fe2d1c0-720f-47fe-9523-75339bc107a1

Search Highlights. Seriously?

In any case I dont have that update installed.

Capture

as above Im on 20H2 19042.1586

https://support.microsoft.com/en-us/topic/march-8-2022-kb5011487-os-builds-19042-1586-19043-1586-and-19044-1586-8297eadb-3b8b-4ca5-9083-ca41a91c1c56

Which is before that update, but good to know I will not install that crap either.

thebookisclosed commented 2 years ago

Worth noting that under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FeatureManagement\Overrides\4

neither of the configs added as above are listed.

Features stored in registry have IDs deliberately obfuscated, thank Microsoft. You can see the algorithm in ViVe's source.

the-j0k3r commented 2 years ago

Obfuscated is one thing, not showing up at all... didnt know they could do that.... see my screenshot above.

thebookisclosed commented 2 years ago

Obfuscated is one thing, not showing up at all... didnt know they could do that.... see my screenshot above.

There are 4 overrides visible in your queryconfig all output. There are 4 overrides in the registry screenshot. I don't see anything missing. The IDs are obfuscated using this algorithm: https://github.com/thebookisclosed/ViVe/blob/master/ViVe/RtlDataHelpers.cs#L92

the-j0k3r commented 2 years ago

Yea the numbers dont match with vivetools output at all comparing to screenshot.