kessler / node-regedit

Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host
MIT License
279 stars 45 forks source link

Unsupported Hive #110

Closed chakafasano88 closed 1 year ago

chakafasano88 commented 1 year ago

I too am having the same issue. I am receiving the error "Unsupported Hive". The funny thing is that putValue() still writes to the registry and stores the value correctly. It feels like the error is being thrown incorrectly.


const HKCU_KEY = 'HKCU\\SOFTWARE\\MyApp'
await regedit.promisified.putValue({
          HKCU_KEY: {
            PAC: {
              value: PAC,
              type: 'REG_DEFAULT'
            }
          }
        })
      }
BSteffaniak commented 1 year ago

I am getting the same error. Did you ever find a workaround for this?

BSteffaniak commented 1 year ago

Reverting to 5.0.0 fixed this issue for me (https://github.com/ironSource/node-regedit/issues/109#issuecomment-1220119390).

I'd rather use the latest version, though.

chakafasano88 commented 1 year ago

I did not find a work around. I'll try reverting to 5.0.0. Latest version would be nice!

pash2048 commented 1 year ago

I am getting the same error. and reverting to 5.0.0 fixed my issue too, what's the problem with the latest version?

liangskyli commented 1 year ago

v5.1.1 the same error

kessler commented 1 year ago

this is fixed now, sorry for the delayed response to this. published on 5.1.2