New
#10
Thank you @Matthew Wai. Now added as option 1.![]()
Both methods seem far more complicated than required. This works for non-admin users as well.
To allow yourself to edit (change or add values) to a key in HKCR where the exisiting key is in HKLM\Software\Classes, you need to add the corresponding key in HKCU\Software\Classes
You can now edit HKEY_CLASSES_ROOT\DesktopBackground\Shell\PersonalizeCode:Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Classes\DesktopBackground\Shell\Personalize]
Add an empty REG_SZ value named: ProgrammaticAccessOnly
This should work straight away. Adding the value in the .reg file above or directly editing HKCU\SOFTWARE\Classes\DesktopBackground\Shell\Personalize work just as well, but seeing this happen by editing in HKCR emphasizes that this is how HKCR works. https://learn.microsoft.com/en-us/wi...asses-root-key