moldimolt / NoNahimic

Disable the A-Volute/Nahimic "audio effects service" auto-installed with Realtek audio drivers on certain PCs
21 stars 1 forks source link

Denied Devices Not Being Added from .reg File? #1

Closed dreamsyntax closed 2 years ago

dreamsyntax commented 2 years ago

Apologies if this is a non-issue as I'm not very familiar with windows registry.

When executing the .reg I do see the new directories get created and the two dwords: DenyDeviceIDs DenyDeviceIDsRetroactive

get added with the value of 1.

However the below line:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions\DenyDeviceIDs]
"17"="SWC\VEN_AVOL&AID_0400"

Seems to do nothing? I see no dword/string or any form of key that contains the value 17 or the SWC string.

scrs

Sourcing this: https://www.tenforums.com/tutorials/146562-prevent-windows-update-updating-specific-device-driver.html

~~Was the '7' in '17' a typo? '1' would be string type, like the example: "1"="HDAUDIO\\FUNC_01&VEN_10EC&DEV_0235"~~

Additionally, it mentions \\ is required for device IDs with strings. It seems when adding the extra slash to the "17"="SWC\VEN_AVOL&AID_0400" -> "1"="SWC\\VEN_AVOL&AID_0400"

Now properly gets added.


Update: After reading more I see 17 was an arbitrary value picked, and has no effect on the result. The real issue was the missing double slashes. It does mention to do incrementing keys, but I assume any int is valid.