Welcome to ISAserver.org
Forums |
Register |
Login |
My Profile |
Inbox |
RSS
|
My Subscription |
My Forums |
Address Book |
Member List |
Search |
FAQ |
Ticket List |
Log Out
vbs script help for web proxy clients
|
Users viewing this topic:
none
|
Logged in as: Guest
|
Login | |
|
vbs script help for web proxy clients - 27.Oct.2005 2:58:00 PM
|
|
|
smedeiro@sec.sanyo.com
Posts: 2
Joined: 27.Oct.2005
From: ca
Status: offline
|
Hello, I have the following script that I would also like to put in address exceptions for my web proxy clients to execute. Can someone please tell me how to go about doing this. Thanks in advance.
Option Explicit On Error Resume Next
Dim Enabled, Shell, Key
Const Policies = "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ProxySettingsPerUser" Const Proxy = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings" Const Server="\ProxyServer" Const OverRide = "\ProxyOverride" Const Enable = "\ProxyEnable" Const ISAServer ="10.216.140.51" Const ISAPort = "80"
Set Shell = Wscript.CreateObject("Wscript.Shell")
Key = Policies Shell.RegWrite Key, 0, "REG_DWORD" Key = Proxy & Server Shell.RegWrite Key, ISAServer & ":" & ISAPort, "REG_SZ" Key = Proxy & OverRide Shell.RegWrite Key, "<local>", "REG_SZ" Key = Proxy & Enable Shell.RegWrite Key, 1, "REG_DWORD" Set Shell = Nothing
|
|
|
|
RE: vbs script help for web proxy clients - 31.Oct.2005 8:33:00 AM
|
|
|
tshinder
Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
|
Hi Steven,
Will move to the programming section where you might get more input.
Tom
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|