Proxy-Einstellungen im Windows setzen
Verfasst: 12 Feb 2014, 15:53
Hallo zusammen,
ich möchte die Proxy-Einstellungen im Windows für jeden User eintragen. Mein Skript funktioniert allerdings nicht, wenn ich die Einstellungen übers Netzwerk installiere
Hoffe Ihr könnt mit weiterhelfen...
ich möchte die Proxy-Einstellungen im Windows für jeden User eintragen. Mein Skript funktioniert allerdings nicht, wenn ich die Einstellungen übers Netzwerk installiere

Hoffe Ihr könnt mit weiterhelfen...
Code: Alles auswählen
[Initial]
setLogLevel = 6
ExitOnError = false
ScriptErrorMessages = on
TraceMode = off
StayOnTop = false
[Actions]
requiredWinstVersion >= "4.11.2.6"
DefVar $LogDir$
DefVar $ProductId$
Set $LogDir$ = "%SystemDrive%\tmp"
Set $ProductId$ = "proxy"
; ----------------------------------------------------------------
comment "Show product picture"
ShowBitmap "%ScriptPath%\proxy.jpg" $ProductId$
comment "Setze Proxy-Einstellungen"
message "Bitte haben Sie einen Moment Geduld"
registry loadUnicodeTextFile("%scriptpath%\proxy_setzen.reg") /regedit
message "Einstellungen wurden erfolgreich gesetzt"
Windows Registry Editor Version 5.00
[Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"IE5_UA_Backup_Flag"="5.0"
"User Agent"="Mozilla/4.0 (compatible; MSIE 8.0; Win32)"
"EmailName"="User@"
"PrivDiscUiShown"=dword:00000001
"EnableHttp1_1"=dword:00000001
"WarnOnIntranet"=dword:00000001
"MimeExclusionListForCache"="multipart/mixed multipart/x-mixed-replace multipart/x-byteranges "
"AutoConfigProxy"="wininet.dll"
"UseSchannelDirectly"=hex:01,00,00,00
"WarnOnPost"=hex:01,00,00,00
"UrlEncoding"=dword:00000000
"SecureProtocols"=dword:000000a0
"PrivacyAdvanced"=dword:00000000
"ZonesSecurityUpgrade"=hex:f2,62,8c,e3,78,d4,ce,01
"DisableCachingOfSSLPages"=dword:00000000
"WarnonZoneCrossing"=dword:00000000
"CertificateRevocation"=dword:00000001
"EnableNegotiate"=dword:00000001
"MigrateProxy"=dword:00000001
"ProxyEnable"=dword:00000001
"EnableAutodial"=dword:00000000
"NoNetAutodial"=dword:00000000
"GlobalUserOffline"=dword:00000000
"ProxyHttp1.1"=dword:00000001
"ProxyServer"="192.168.77.253:3128"
"ProxyOverride"="<local>"
[Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
"DefaultConnectionSettings"=hex:46,00,00,00,3d,00,00,00,03,00,00,00,13,00,00,\
00,31,39,32,2e,31,36,38,2e,37,37,2e,32,35,33,3a,33,31,32,38,07,00,00,00,3c,\
6c,6f,63,61,6c,3e,00,00,00,00,01,00,00,00,00,00,00,00,b0,99,60,b6,24,a6,cd,\
01,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,02,00,00,00,c0,a8,4d,4c,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,17,00,00,00,00,\
00,00,00,20,01,00,00,9d,38,6a,b8,24,e1,3a,c1,3f,57,b2,b3,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"SavedLegacySettings"=hex:46,00,00,00,64,05,00,00,03,00,00,00,13,00,00,00,31,\
39,32,2e,31,36,38,2e,37,37,2e,32,35,33,3a,33,31,32,38,07,00,00,00,3c,6c,6f,\
63,61,6c,3e,00,00,00,00,01,00,00,00,00,00,00,00,b0,99,60,b6,24,a6,cd,01,00,\
00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,02,00,00,00,c0,a8,4d,4c,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,17,00,00,00,00,00,00,\
00,20,01,00,00,9d,38,6a,b8,24,e1,3a,c1,3f,57,b2,b3,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00