Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Registry entry 1

Status
Not open for further replies.

DazzaC

Programmer
Jun 10, 2002
209
GB
I have created a login script that modifies the registry of a client machine.
The script modifies the Internet Exceptions option within Windows and contains the following:

172.27*;10.128.2.*;*.tm-gnet.com;10.66.*;192.9.*

When the script executes it copies all of the entries EXCEPT 192.9.*???

We have recently switched to a new 10.'s network that replaced our old 192.9* network. Is there any reason why this entry should not show up in the list of exceptions?
 
Hello DazzaC,

How the script looks like?

regards - tsuji
 
I have a batch file that contains:

@ECHO OFF
IF EXIST C:\REGUPDATE.TXT GOTO END
REGEDIT /S Z:\PROXY.REG
ECHO UPDATE APPLIED > C:\REGUPDATE.TXT
:END
exit

And the reg file contains:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyOverride"="10.128.2.*;*.tm-gnet.com;10.66.*;192.9.*;172.27.*"

Thanks
 
DazzaC,

I would doubt it, but... Just to make sure, make sure there is blank line after the setting. Do not leave the end-of-file just after the ...;172.27.*"

- tsuji
 
DazzaC,

Any thing I can learn from your experience here?, except some "stupid" mistake that's what I guess it be.

- tsuji
 
The guy who claimed it was not working had not realised that the VLAN that his machine was on was 192.*. Therefore the machine obviously thought that no entry needed to reside in the by pass for this entry?
As soon as he switched the machine to DHCP on the new 10.2 addressing the machine picked up the entry and included it in the proxy bypass.

While we are on the topic, do you know which registry keep you need to enable to insert the 'tick' in the 'option box' for 'bypass proxy server for local addresses'? Thanks
 
DazzaC,

I think it is still the "proxyoverride" value. When it is set to "xxxx.yyyy..." being the local, the check box is checked. If none, the check box is unchecked.

- tsuji
 
Sorry bit consfused, can you please type in what the registry key value would look like?

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyOverride"="10.128.2.*;*.tm-gnet.com;10.66.*;192.9.*;172.27.*"

 
DazzaC,

Try this.
Code:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyOverride"="<local>;10.128.2.*;*.tm-gnet.com;10.66.*;192.9.*;172.27.*"
- tsuji
 
I have tried entering this into the REG file and this does not insert a tick into the tick box?
Any ideas? Thanks for the continued help.
 
DazzaC,

What happens for simplistic settings to an experimental box?
Code:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyOverride"="<local>"
Does it tick?

- tsuji
 
Will this overwrite those addresses I have specified already in the registry file?
 
Hi DazzaC;
besides;
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride: ";<local>"

Have a look at these Keys (Binary) values as well;

HKEY_LOCAL_MACHINE\Config\0001\Software\Microsoft\windows\CurrentVersion\Internet Settings\ProxyEnable: 01 00 00 00

HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyEnable: 01 00 00 00

I assume this will affect ALL the Users, not just the Current

TT4U

Notification:
These are just my thoughts....and should be carefully measured against other opinions.
Backup All Important Data/Docs
 
DazzaC,

As such, ProxyEnable should be already there, so overwrite or not is not an issue. I put there just to make sure you're enabling proxy.

The Proxyoverride sure will overwrite your that particular setting. Restoration is simple just put your line back. No chain-reaction.

- tsuji
 
TekTippy4u,

I have looked at the reg keys that you specified and both are enabled.

Still cannot seem to automate the tick in the bypass for local addresses though?

I have had a look in the registry for keys that contain the string 'bypass' but none of them seem appropriate?

Any other ideas?

Thanks
 
Do you have that SemiColon in front of <local>
;<local>

this is the extent of my knowledge in this area...though maybe something in a logon script elsewhere is conflicting...using TweakUI???(Clear logon info setting etc..)...and/or Sytem Policies???(same area of settings from within GUI, just Dword instead of hex, and also more areas to look)

more later..sorry, a bit busy right now

TT4U

Notification:
These are just my thoughts....and should be carefully measured against other opinions.
Backup All Important Data/Docs
 
Ohh,....also check under Profiles (for User,in REG) though HKEY_Current_ User should void/overrride that..

and the Paranoia tab, IE tab, and Network tabs in TweakUI if you're using it

TT4U

Notification:
These are just my thoughts....and should be carefully measured against other opinions.
Backup All Important Data/Docs
 
This is now working.

Many thanks for your continued support and time.

Kind regards
 
You're quite welcome.
would you mind telling us if any measure suggested, either fixed it directly or indirectly led to a fix and how??
We can all use more knowledge....the usa press just ain't nothin but a hot ole windbag.

TT4U

Notification:
These are just my thoughts....and should be carefully measured against other opinions.
Backup All Important Data/Docs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top