Cannot delete registry keys in HKLM with Administrator privilege
Hi everyone,
I'm currently making a portable version of Adobe Photoshop CC. It's working fine now. However, some of the registry keys are generated and stored in HKLM (just trash keys and not important). I want to delete all these keys when the application exit to make it truely portable and leave no trace behind. I tried to run the program as Admin, put "RunAsAdmin" in Launch section, put the keys in [RegistryCleanupIfEmpty], [RegistryCleanupForce] but no help.
Is this a bug or I'm missing something?
Thank!