Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant change the Proxy config in internet settings on Windows 7 #2

Open
vinceprofeta opened this issue Feb 1, 2018 · 0 comments
Open

Comments

@vinceprofeta
Copy link

vinceprofeta commented Feb 1, 2018

Im trying to change the Proxy in internet settings on Windows 7 but am getting the following error.

Ive tried a few different libraries as well as use childProcess to run it but no luck. It works fine when I just run the command in CMD, but when running through node, I havent had any luck? ideas?

command failed reg add /? for usage - invalid key name

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 192.168.1.1:8080 /f

*note proxy is fake in this example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant