Comments (6)
How did you start the console? It's not only the user who must have admin, also the process must be launched with "elevated" rights. For me this works by right clicking the console shortcut and selecting the item with the shield icon in front of it, called something like "run as admin" (I run my Windows in German language). Apart from that I'm not able to reproduce your error.
from node-winreg.
I started it exactly like that, with the shield saying "Run as administrator".
I think this specific error is related to global user rights, as in system admin because I can change other things but not the keys I was looking for.
from node-winreg.
That's weird. Could it be some antivirus program blocking access to it? Or maybe you can configure it using Windows policies. But I can't really help you there.
from node-winreg.
I know, figured i'd just add this here so you've got it logged for future users. If i manage to find out if that's the case and how to detect it i'll update.
from node-winreg.
I added some notes on this to the README file. We can leave this open for now.
from node-winreg.
This might be unrelated, however judging by the comments, I saw similar characteristics while trying to write to HKLM\Software\ and the values were not being set (although stdout and return codes indicated success). Turns out, I was not specifying x64 so the keys were under HKLM\SOFTWARE\WOW6432Node. Kokarn, which keys were you attempting to write to?
from node-winreg.
Related Issues (20)
- Promises HOT 9
- Cannot write to HKCR HOT 2
- Stubbing Registry method HOT 8
- @angular/cli HOT 1
- read a key synchronously? HOT 2
- path error when using host option
- the "read the documentation online" links to the exact same file HOT 3
- Problem with 'pkg' HOT 1
- Error when packaged in electron app HOT 5
- error in proc.on('close', function (code) HOT 2
- WSL interop
- Default value on get HOT 1
- keyExists does not throw error when Registry editing has been disabled by your administrator. HOT 4
- Export ProcessUncleanExitError from module
- process.env.windir is undefined in some shells
- Calling .get for a key with a space (" ") as its value returns null as the result
- Can't create key, if name or value have spaces
- Version 1.2.5 breaks on complex registry value HOT 1
- RangeError: Invalid string length
- Error at SET if space in key or value HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-winreg.