给windows所有用户添加http代理

在组策略中, 配置用户的登录脚本

脚本内容

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 代理服务器地址 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d <local> /f

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注