|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| Proxy Server reset At work I set a proxy server using a .reg file. I sometimes forget to remove the proxy server settings before giving the computer back to the customer. Is there any "easy" way to delete the proxy server settings automatically? I've been fussing around with a batch file for this, but I get errors when trying to turn the proxy on. I'd really like a .reg file that will: 1) Turn the proxy on, and 2) Remove the proxy on the next reboot. Here's the .reg files that I'm using: ------------------------------------------ Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings] "ProxyEnable"=dword:00000001 "ProxyServer"="xxx.xxx.xxx.xxx:8080" ------------------------------------------ Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet Settings] "ProxyEnable"=dword:0000000 "ProxyServer"="" ------------------------------------------ |
| |||
| Re: Proxy Server reset You could use your "proxy_enable.reg" file to load the "run once" key here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnce with something like "regedit /s proxy_disable.reg" (I hope that makes sense) Louis "C1SG" <C1SG@discussions.microsoft.com> wrote in message news:86D3B637-DD29-4B37-A1C6-F9E42214BD58@microsoft.com... > At work I set a proxy server using a .reg file. I sometimes forget to remove > the proxy server settings before giving the computer back to the customer. > Is there any "easy" way to delete the proxy server settings automatically? > > I've been fussing around with a batch file for this, but I get errors when > trying to turn the proxy on. I'd really like a .reg file that will: > 1) Turn the proxy on, and > 2) Remove the proxy on the next reboot. > > Here's the .reg files that I'm using: > ------------------------------------------ > Windows Registry Editor Version 5.00 > > [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet > Settings] > "ProxyEnable"=dword:00000001 > "ProxyServer"="xxx.xxx.xxx.xxx:8080" > > ------------------------------------------ > Windows Registry Editor Version 5.00 > > [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet > Settings] > "ProxyEnable"=dword:0000000 > "ProxyServer"="" > ------------------------------------------ > |
| |||
| Re: Proxy Server reset I'm trying to write a batch file to: 1) Turn the proxy on with a .reg file 2) Add the proxy off to the RunOnce key. I keep getting errors when trying to run the batch file. It won't run the ProxyOn.reg file (which runs fine when it's double clicked on). I was browsing around and found a difference in how the backslash keys were used in the .reg file (some are double backslashes rather than single backslashes). Any ideas on how to fix that? Thanks for the help! - John "3c273" wrote: > You could use your "proxy_enable.reg" file to load the "run once" key here: > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnce > with something like "regedit /s proxy_disable.reg" (I hope that makes sense) > Louis > > "C1SG" <C1SG@discussions.microsoft.com> wrote in message > news:86D3B637-DD29-4B37-A1C6-F9E42214BD58@microsoft.com... > > At work I set a proxy server using a .reg file. I sometimes forget to > remove > > the proxy server settings before giving the computer back to the customer. > > Is there any "easy" way to delete the proxy server settings automatically? > > > > I've been fussing around with a batch file for this, but I get errors when > > trying to turn the proxy on. I'd really like a .reg file that will: > > 1) Turn the proxy on, and > > 2) Remove the proxy on the next reboot. > > > > Here's the .reg files that I'm using: > > ------------------------------------------ > > Windows Registry Editor Version 5.00 > > > > [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet > > Settings] > > "ProxyEnable"=dword:00000001 > > "ProxyServer"="xxx.xxx.xxx.xxx:8080" > > > > ------------------------------------------ > > Windows Registry Editor Version 5.00 > > > > [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet > > Settings] > > "ProxyEnable"=dword:0000000 > > "ProxyServer"="" > > ------------------------------------------ > > > > > |
| |||
| Re: Proxy Server reset I've been on vacation did you get this sorted out yet? Louis "C1SG" <C1SG@discussions.microsoft.com> wrote in message news:BBED8B3F-2260-4AE4-9CC6-941136C6DCCC@microsoft.com... > I'm trying to write a batch file to: > 1) Turn the proxy on with a .reg file > 2) Add the proxy off to the RunOnce key. > > I keep getting errors when trying to run the batch file. It won't run the > ProxyOn.reg file (which runs fine when it's double clicked on). I was > browsing around and found a difference in how the backslash keys were used in > the .reg file (some are double backslashes rather than single backslashes). > > Any ideas on how to fix that? > > Thanks for the help! > > - John > > "3c273" wrote: > > > You could use your "proxy_enable.reg" file to load the "run once" key here: > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnce > > with something like "regedit /s proxy_disable.reg" (I hope that makes sense) > > Louis > > > > "C1SG" <C1SG@discussions.microsoft.com> wrote in message > > news:86D3B637-DD29-4B37-A1C6-F9E42214BD58@microsoft.com... > > > At work I set a proxy server using a .reg file. I sometimes forget to > > remove > > > the proxy server settings before giving the computer back to the customer. > > > Is there any "easy" way to delete the proxy server settings automatically? > > > > > > I've been fussing around with a batch file for this, but I get errors when > > > trying to turn the proxy on. I'd really like a .reg file that will: > > > 1) Turn the proxy on, and > > > 2) Remove the proxy on the next reboot. > > > > > > Here's the .reg files that I'm using: > > > ------------------------------------------ > > > Windows Registry Editor Version 5.00 > > > > > > [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet > > > Settings] > > > "ProxyEnable"=dword:00000001 > > > "ProxyServer"="xxx.xxx.xxx.xxx:8080" > > > > > > ------------------------------------------ > > > Windows Registry Editor Version 5.00 > > > > > > [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Internet > > > Settings] > > > "ProxyEnable"=dword:0000000 > > > "ProxyServer"="" > > > ------------------------------------------ > > > > > > > > > |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Proxy Server | joshua siew | Windows Vista | 1 | 06-11-2008 03:10 AM |
| Server Reset | Grandad | Internet Explorer | 0 | 02-15-2008 10:30 AM |
| IE via proxy server | DD | Internet Explorer | 0 | 10-23-2007 11:30 PM |
| Proxy Server for PIE | Andrew Prior | Pocket PC General | 1 | 04-28-2007 03:30 AM |
| Know about a proxy server? | CharlesBlackstone | Windows XP | 7 | 01-04-2007 07:08 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |