node-regedit icon indicating copy to clipboard operation
node-regedit copied to clipboard

Altering HKLM hive values is not working if not administrator

Open anaszgh opened this issue 8 years ago • 1 comments

its a known thing that for modifying any key's value under HKLM you need a privileged user (Administrator), when trying to put a value which is under HKLM hive, the change will not be saved on the registry, yet the code will complete the process without any errors indicating that the operation succeeded.

Also note that the test defined in the project's source doesn't check the lack of permission for editing values under HKLM.

anaszgh avatar Oct 08 '17 09:10 anaszgh

@anaszgh Thanks for the input! It will be really great if you can submit a PR to correct this, or even some sketch code.

kessler avatar Apr 30 '18 14:04 kessler