Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

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

Dual network settings

microsoft.public.windows.vista.networking sharing



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 05-17-2008
Alan
 

Posts: n/a
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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-17-2008
Robert L. \(MS-MVP\)
 

Posts: n/a
Re: 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" <jalanthomas@verizon.net> wrote in message
news:488d83f4-fede-4864-b8c1-7d0360727569@34g2000hsf.googlegroups.com...
> 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
>
>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-17-2008
Jack \(MVP-Networking\).
 

Posts: n/a
Re: 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" <jalanthomas@verizon.net> wrote in message
news:488d83f4-fede-4864-b8c1-7d0360727569@34g2000hsf.googlegroups.com...
> 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
>
>
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-17-2008
Alan
 

Posts: n/a
Re: 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-18-2008
john_cena
 

Posts: n/a
Re: 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- ::
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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 Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista logon changes Dual monitor display settings =?Utf-8?B?c2drMDA=?= microsoft.public.windows.vista.general 16 2 Weeks Ago 16:11
Dual Boot and Network Settings gray2 microsoft.public.windows.vista.general 6 01-15-2008 00:45
Using Dual Monitors - Won't Retain Settings JessiRight77 microsoft.public.windows.vista.general 0 11-22-2007 15:40
Using Dual Monitors - Won't Retain Settings JessiRight77 microsoft.public.windows.vista hardware devices 0 11-22-2007 15:40
Dual Monitors don't keep settings after startup Joel microsoft.public.windows.vista hardware devices 2 07-04-2007 07:15


All times are GMT +1. The time now is 18:12.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119