Skip to content

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

@vinceprofeta

Description

@vinceprofeta

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions