Re: Proxy Server

From: Chris (Chris_at_discussions.microsoft.com)
Date: 03/23/05


Date: Wed, 23 Mar 2005 10:57:04 -0800

Trevor,
I've had a few instances where the ICON failed to update in the Taskbar.
However when I right click the Firewall Client Icon and choose configure, it
was in fact disabled (checkbox is cleared). Can you check and see if that's
the case?

Chris

"Trevor Clark" wrote:

> Chris,
>
> What a fantastic idea.
>
> I've tried your script and got it to work after fixing some of the line
> breaks. However, it doesn't seem to change the firewall client. The proxy
> settings change without issue, and the script does not error. But, my
> firewall client has a green arrow whether I tell it I'm in the office or
> not.
>
> I didn't load it into the startup group. I'm just running it directly for
> testing. Could that be my problem? I appreciate any feedback you can
> offer. Again, this is a great script idea.
>
> -Trevor
>
> "Chris" <Chris@discussions.microsoft.com> wrote in message
> news:8F8945CC-A15F-4258-A898-537C9C3BA5B0@microsoft.com...
> > Hellow Liam,
> > What I do with my customers is use a script that gives the laptop users a
> > prompt when they login. It's a simple prompt that asks them if they are in
> > the office. If they are, the script enables the firewall client and sets
> > the
> > proxy settings in IE. If they are not is disables the firewall client and
> > removes the IE proxy settings. I run the script from the startup group as
> > a
> > .VBS file. Some AV software will not like this and you will have to tell
> > it
> > to allow the script to run. Below is my script. You'll need to make
> > changes
> > were you see YOUR-SERVER-NAME-HERE and save the file with a VBS extension.
> > Hope this helps.
> >
> > <begin script - don't include this line in the scirpt>
> >
> > 'This script was written by Chris Mckinney of Chris Mckinney Consulting on
> > 8/24/04
> > '
> > 'This script could be used in a login script or in the Startup Group to
> > ask
> > the user on startup if they are in
> > 'the office. If they are (click yes) then intResponse will be 6 and we
> > enable the Firewall client and set the ISA server settings
> > 'If they click no, the Firewall client is disabled, and the proxy setting
> > in
> > IE is unchecked.
> >
> > intResponse=MsgBox("Are you in the office?", vbYesNo +
> > vbQuestion,"Firewall
> > Client Setup")
> > If intResponse=6 Then
> > Set WshShell = WScript.CreateObject ("WScript.Shell")
> > WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Firewall
> > Client\Disable","0","REG_DWORD"
> > WshShell.RegWrite
> > "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
> > Settings\ProxyEnable","1","REG_DWORD"
> > WshShell.RegWrite
> > "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
> > Settings\ProxyServer","YOUR-SERVER-NAME-HERE:8080","REG_SZ"
> > Else
> > Set WshShell = WScript.CreateObject ("WScript.Shell")
> > WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Firewall
> > Client\Disable","1","REG_DWORD"
> > WshShell.RegWrite
> > "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
> > Settings\ProxyEnable","0","REG_DWORD"
> > WshShell.RegWrite
> > "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet
> > Settings\ProxyServer","YOUR-SERVER-NAME-HERE:8080","REG_SZ"
> > End If
> >
> > <end script - don't include this line in the script>
> >
> > If the wrapping in this newsgoup breaks the script, send me a email at
> > chrismc_@hotmail.nospam.com (remove the nospam in the address) and I'll
> > forward it as a text file.
> >
> > Chris
> >
> > "Liam" wrote:
> >
> >> Hello
> >>
> >> We are running SBS2003, with ISA installed, because we have a lot of
> >> users using laptops we are finding that taking out proxy settings in
> >> IE is a bit to much for most of our users when they take there laptops
> >> out and about, we also have the firewall client installed and they can
> >> mange to do that ok.
> >>
> >> What i would like to do is turn off for needing the proxy server in
> >> the clients IE settings, I now this can be done after visting a few
> >> other SBS sites but there head IT man had just left and they had no
> >> clue.
> >>
> >> If any one can help that would be great
> >>
> >> Thanks
> >>
> >> Liam Broughton
> >> Liam@hantspcwizard.co.uk
> >>
>
>
>



Relevant Pages

  • Re: ISA > ISA Client > Configuring laptops
    ... create a new OU named Laptops under the SBSComputers ... script and disable_fwc.vbs as a shutdown script. ... should run and disable the firewall client & remove the proxy settings. ... >>> For disabling the firewall client-> ...
    (microsoft.public.windows.server.sbs)
  • Re: Enable / Disable the firewall client from a command line or script
    ... configuration". ... If you use the latest FWC from MS Downloads, ... ISA firewall client from either a command line or another script, ...
    (microsoft.public.isa)
  • Re: Proxy Server
    ... I've tried your script and got it to work after fixing some of the line ... it doesn't seem to change the firewall client. ... I didn't load it into the startup group. ... > removes the IE proxy settings. ...
    (microsoft.public.windows.server.sbs)
  • RE: Proxy Server
    ... the script enables the firewall client and sets the ... removes the IE proxy settings. ... > IE is a bit to much for most of our users when they take there laptops ...
    (microsoft.public.windows.server.sbs)
  • Re: XP client requires proxy server
    ... None of my Windows XP clients have proxy settings established. ... running with the firewall client without issue. ... Your DNS server should also be your sbs server's internal nic. ... > big deal but we use an application that connects to the internet and you ...
    (microsoft.public.windows.server.sbs)

Loading