Change registry key value

Hi Itarians,

I am looking for a script to change a registry key value. As an example, I wish to change:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions]
“DenyUnspecified”=dword:00000001

to:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceInstall\Restrictions]
“DenyUnspecified”=dword:00000000

regards,

Brian

Hi @IT-Tech ,

You may download a procedure that Set registry value using this link: https://scripts.itarian.com/frontend/web/topic/set-registry-value