A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Dual network settings



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 17th 08, 11:54 AM posted to microsoft.public.windows.vista.networking_sharing
Alan
external usenet poster
 
Posts: 41
Default Dual network settings

My Vista (Buiness. Edition) connects to a network through a proxy
server at work. How can I set up a separate "profile" (not sure of
right term) so I can use other network settings at home (no proxy) but
not mess up my work network configuration?

I get "cache access denied" in Internet Explorer. I researched
this, but the other problems with this symptom do not appear to
apply. I think the problem is the proxy setup.

hanks, Alan



  #2 (permalink)  
Old May 17th 08, 01:53 PM posted to microsoft.public.windows.vista.networking_sharing
Robert L. \(MS-MVP\)[_812_]
external usenet poster
 
Posts: 1
Default Dual network settings

Your administrator should take care of this issue. For example he should
setup domain group policy so that the proxy settings only apply when you
logon the domain. If you do have administrator privilege, you may disable
the proxy manually or or create a batch file to make the change when you are
at home. This how to may help.

how to troubleshoot internet access issues
If you can ping the public IP and web site, make sure no proxy server
in the LAN settings to block to access the Internet. ...
http://www.howtonetworking.com/Inter...etaccessa4.htm


--
Bob Lin, MS-MVP, MCSE & CNE
Networking, Internet, Routing, VPN Troubleshooting on
http://www.ChicagoTech.net
How to Setup Windows, Network, VPN & Remote Access on
http://www.HowToNetworking.com
"Alan" wrote in message
...
My Vista (Buiness. Edition) connects to a network through a proxy
server at work. How can I set up a separate "profile" (not sure of
right term) so I can use other network settings at home (no proxy) but
not mess up my work network configuration?

I get "cache access denied" in Internet Explorer. I researched
this, but the other problems with this symptom do not appear to
apply. I think the problem is the proxy setup.

hanks, Alan




  #3 (permalink)  
Old May 17th 08, 03:43 PM posted to microsoft.public.windows.vista.networking_sharing
Jack \(MVP-Networking\).
external usenet poster
 
Posts: 551
Default Dual network settings

Hi
May be this can Help.
How to Configure a Laptop (or any computer) to connect to more than one
Network? http://www.ezlan.net/faq.html#fewtcp-ip
Jack (MVP-Networking).

"Alan" wrote in message
...
My Vista (Buiness. Edition) connects to a network through a proxy
server at work. How can I set up a separate "profile" (not sure of
right term) so I can use other network settings at home (no proxy) but
not mess up my work network configuration?

I get "cache access denied" in Internet Explorer. I researched
this, but the other problems with this symptom do not appear to
apply. I think the problem is the proxy setup.

hanks, Alan




  #4 (permalink)  
Old May 17th 08, 08:20 PM posted to microsoft.public.windows.vista.networking_sharing
Alan
external usenet poster
 
Posts: 41
Default Dual network settings

May be this can Help.
How to Configure a Laptop (or any computer) to connect to more than one
Network? *http://www.ezlan.net/faq.html#fewtcp-ip
Jack (MVP-Networking).

Jack,
It was not obvious to me how to specify all the proxy, etc.
settings for the Alternate Configuration, i.e., all the settings you
can make for the primary network, TCP/IP, etc. (like proxies). Can
all that be set up?

After trying several other suggestions with no luck, I changed
Internet Explorer to turn off the use of the proxy server. Then the
Internet connection worked.

Is there any way to control all of these settings in Windows and
IE with the flip of a switch or by running a script? (This is a real
pain.)

Thanks, Alan

  #5 (permalink)  
Old May 18th 08, 01:55 PM posted to microsoft.public.windows.vista.networking_sharing
john_cena
external usenet poster
 
Posts: 67
Default Dual network settings


Hi Alan,
Copy paste this script into notepad. And then read it this put the
proxy according to the network that your connected to. put in your ip
ranges. and configure it. its commented so you could read and understad
what to do once your done save the file with the .vbs extention. you
should only click to run the file.

'Runs script on local computer.
strComputer = "."
'Specifies the beginning ip for schools network.
sIPSubnet = "10."
'Change values for proxy settings
sProxyURL = "proxy.server.address.here"
sProxyPort = "proxy.port.here"
'Finds IP addresses of all network adapters on machine and stores in
sIPAddress
Set refWMI = GetObject("WinMgmts:\\.\root\cimv2")
Set colNetworkAdapters = refWMI.ExecQuery("Select * From
Win32_NetworkAdapterConfiguration Where IPEnabled=True")
Set objReg = GetObject("winmgmts:\\" & strComputer &
"\root\default:StdRegProv")
Set WshShell = CreateObject("Wscript.Shell")

For Each oNetworkAdapter in colNetworkAdapters
If oNetworkAdapter.IPAddress(0) "0.0.0.0" Then
sIPAddress = oNetworkAdapter.IPAddress(0)
Exit For
End If
Next
'Checks to see if the IP address begins with 172.
If InStr(sIPAddress,sIPSubnet) Then
'If true then sets proxy settings specified above.
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\In ternet
Settings\ProxyServer",sProxyURL & ":" & sProxyPort,"REG_SZ"
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\In ternet
Settings\ProxyEnable",1,"REG_DWORD"
'If true then sets internet explorer home page to intranet site.
strKeyPath = "SOFTWARE\Microsoft\Internet Explorer\Main"
ValueName = "Start Page"
strValue =
"http://intranetaddress.int"
objReg.SetStringValue HKEY_CURRENT_USER, strKeyPath, ValueName,
strValue
Else
'If false then clears proxy settings flag to none.
WshShell.RegDelete
"HKCU\Software\Microsoft\Windows\CurrentVersion\In ternet
Settings\ProxyServer"
WshShell.RegWrite
"HKCU\Software\Microsoft\Windows\CurrentVersion\In ternet
Settings\ProxyEnable",0,"REG_DWORD"
'If false then sets internet explorer home page to external site.
strKeyPath = "SOFTWARE\Microsoft\Internet Explorer\Main"
ValueName = "Start Page"
strValue =
"http://externaladdress.org.uk"
objReg.SetStringValue HKEY_CURRENT_USER, strKeyPath, ValueName,
strValue
MsgBox"Internet Explorer Setting Change Completed", vbInformation,
"Complete"
End If
'Cleanup
Set refWMI = Nothing
Set colNetworkAdapters = Nothing
Set WshShell = Nothing
Const HKEY_CURRENT_USER = &H80000001


Hope this helps

Cheers !!


--
john_cena

-Shihan Sylvester Pietersz-
-(MCP,MCSA,MCSE+Security,MCSE+Messeging-
-MCTS,MCITP)-
-Systems -::-Engineer / Consultant Trainer- ::
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:04 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.