Set windows Proxy
Verfasst: 25 Mai 2018, 12:48
Hello,
I wonder if it is somehow possible so set the proxy server on a Windows 7 client via Opsi.
I've already tried
[DosBatch_3]
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /T REG_DWORD /d 00000001 /f
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /T REG_DWORD /d 00000001 /f
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /T REG_SZ /d a-proxy:8080 /f
and
[Registry_TestPatch]
openkey [HKEY_Current_User\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]
set "ProxyEnable" = REG_DWORD:00000001
set "MigrateProxy" = REG_DWORD:00000001
set "ProxyServer" = "a-proxy:8080"
But it seems it's executed without administrator rights. To all the creative minds, is there any way to set the proxy for a domain user who doesn't have admin rights. System wide (for all users) would be ok as well.
I wonder if it is somehow possible so set the proxy server on a Windows 7 client via Opsi.
I've already tried
[DosBatch_3]
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /T REG_DWORD /d 00000001 /f
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v MigrateProxy /T REG_DWORD /d 00000001 /f
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /T REG_SZ /d a-proxy:8080 /f
and
[Registry_TestPatch]
openkey [HKEY_Current_User\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]
set "ProxyEnable" = REG_DWORD:00000001
set "MigrateProxy" = REG_DWORD:00000001
set "ProxyServer" = "a-proxy:8080"
But it seems it's executed without administrator rights. To all the creative minds, is there any way to set the proxy for a domain user who doesn't have admin rights. System wide (for all users) would be ok as well.