Internet settiings batch file?

Soldato
Joined
7 Feb 2004
Posts
9,511
We have some home workers that dial in from home who get there proxy settings changed back to an old settings sometimes.

I was wondering if you could set up a batch file for when they log in that automatically maps the internet address to a certain addresss?

If so what would I need to do?

THanks
 
Proxy settings are a registry entry so you could just save the reg entry for the 'home' settings and tell them to run it.
 
Look at the link IAmATeaf posted: they're at HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

That link just gave me the impetus to put together a batch file to change proxy settings for me, so thanks.
FWIW:

@echo off
choice /C:ED /m "[E]nable or [D]isable proxy"
IF errorlevel 2 REG DELETE "hkcu\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v "AutoConfigURL" /f
IF errorlevel 1 REG ADD "hkcu\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v "AutoConfigURL" /t "REG_SZ" /d "URI to proxy config file" /f
 
That's what it is for networked machines, I'd expect it's the same for dialup - what I posted changes the value in Internet Options -> Connections -> LAN Settings -> Use automatic configuration script.
You could always open the location in regedit and change the values in the control panel applet and see what changed...
 
That's what it is for networked machines, I'd expect it's the same for dialup - what I posted changes the value in Internet Options -> Connections -> LAN Settings -> Use automatic configuration script.
You could always open the location in regedit and change the values in the control panel applet and see what changed...

Dial up and LAN settings are in different places though, thats why I asked. On our machines one could read something whilst the other could be an older setting.
 
Back
Top Bottom