Re: Proxyeinstellungen in der Registry

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Marcus Zwandula (mz_at_zwandula.de)
Date: 04/01/04


Date: Thu, 01 Apr 2004 23:27:31 +0200

Nachricht vom '01.04.2004 11:56' von 'MiSi':

> ich habe folgende Frage. Ich habe mehrere Client-Rechner mit
> unterschiedlichen Betriebssystemen.
> Unter anderem sind vorhanden : Win NT4, Win 2000, Win XP
> Um mit den Rechnern ins Internet zu gelangen, ist es u.a. notwendig, im
> Internet Explorer
> (ebenfalls verschiedene Versionen ab V.4) Proxyeinträge vorzunehmen. Das
> sind z.B. Proxyserveradresse incl Port,
> lokale Adressen die der Proxy umgehen soll,...
> Gibt es eine Möglichkeit diese Einstellungen, die ja bei allen gleich sind,
> in eine Art Registrykey zu schreiben
> und so schnell an den betreffenden Plätzen zu aktivieren.
> Das Problem hierbei ist sicherlich die Verwendung unterschiedlicher
> Betriebsysteme.

Du kannst Das einfach per Logon-Script einbauen, da die IE-Versionen die
Proxyeinstellungen alle an der gleichen Stelle haben - hier als Beispiel
für einen lokalen Proxy (localhost, 127.0.0.1) auf Port 8080:

echo REGEDIT4 >"%temp%\proxy.reg"
echo. >>"%temp%\proxy.reg"
echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\->
CurrentVersion\Internet Settings] >>"%temp%\proxy.reg"
echo "proxyserver"="ftp=127.0.0.1:8080;gopher=127.0.0.1:->
8080;http=127.0.0.1:8080; https=127.0.0.1:8080;->
socks=127.0.0.1:8080" >>"%temp%\proxy.reg"
regedit /s "%temp%\proxy.reg"
del "%temp%\proxy.reg"

Hier sind durch den Mailclient natürlich Zeilenumbrüche die da nicht
reinsollen, daher "->" entsprechend mit dem Zeilenumbruch danach
zusammen entfernen.

Alternativ kannste auch eine REG-Datei mit dem Inhalt ablegen:

---snip---
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\->
CurrentVersion\Internet Settings]
"proxyserver"="ftp=127.0.0.1:8080;gopher=127.0.0.1:8080;->
http=127.0.0.1:8080; https=127.0.0.1:8080;socks=127.0.0.1:8080"
---snip---

und dann importieren. Geht natürlich auch manuell - Die User einfach
bitten, die Datei doppelt zu clicken. Es müssen natürlich nicht alle
Proxies angegeben werden - wenn z.B. nur HPPT und HTTPS vorhanden sein
sollen, kann die letzte Zeile auch so lauten:

"proxyserver"="http=127.0.0.1:8080;https=127.0.0.1:8080"

-- 
Benutzt Mozilla statt IE und manches
Problem erledigt sich von selbst ;-)


Relevant Pages

  • Re: Proxyeinstellungen in der Registry
    ... > unterschiedlichen Betriebssystemen. ... > Um mit den Rechnern ins Internet zu gelangen, ist es u.a. notwendig, im ... > lokale Adressen die der Proxy umgehen soll,... ... auf Port 8080: ...
    (microsoft.public.de.german.windowsxp.registry)
  • RE: ncacn_http/1.0
    ... prevented from accessing the internet could be piped out a public IP on ... port 80 ... the IIS server that is acting as the application proxy. ... This list is provided by the SecurityFocus ARIS analyzer service. ...
    (Incidents)
  • Re: Pix snort and a DOS
    ... 3372-port may be coincidence (arbitrary port usage above 1024). ... > is that I have the rule to block all connections, inbound to the proxy from ... > the internet. ... > machine does not have any service running on port 1214. ...
    (comp.security.firewalls)
  • Re: Norton Internet Security and HTTP access
    ... > Windows XP Pro machine running all the updates. ... > When I try to open my Internet Explorer I get a website found waiting ... Why are you using network proxy? ... If your client uses port 80, then don't use proxy: to use port 80 is to ...
    (comp.security.firewalls)
  • RE: FTP Solution
    ... important thing to note is that WinInet FTP APIs do not work if Internet ... access is accomplished via CERN type proxy. ... WinInet API or add the "Proxy-Connection: ... Using FTP WinInet APIs in Visual Basic with SimpleFtp and how to enumerate ...
    (microsoft.public.vb.enterprise)