Nice Firewall Client On/Off Script from ISAServer.org Web boards

  • From: "Thomas W Shinder" <tshinder@xxxxxxxxxxxxxxxxxx>
  • To: "Thomas W Shinder" <tshinder@xxxxxxxxxxxxxxxxxx>, "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
  • Date: Wed, 7 May 2003 08:57:42 -0500

clauded 
Senior Member 
Member # 73 

Rate Member
<http://forums.isaserver.org/ultimatebb.cgi?ubb=get_profile;u=00000073>
  posted May 06, 2003 10:32 PM       
<http://forums.isaserver.org/ultimatebb.cgi?ubb=get_profile;u=00000073>
 
<http://forums.isaserver.org/ultimatebb.cgi?ubb=private_message;u=000000
73>        
<http://forums.isaserver.org/ultimatebb.cgi?ubb=edit_post;f=7;t=001079;r
eply_num=000002;u=00000073>    
<http://forums.isaserver.org/ultimatebb.cgi?ubb=reply;f=7;t=001079;reply
to=000002>   
  _____  

Save this as IsaOn.reg :
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Firewall Client]
"Disable"=dword:00000000

Also save this as IsaOff.reg : 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Firewall Client]
"Disable"=dword:00000001

Then create this batch file IsaOnOff.cmd

@echo off
goto %1
:on
regedit /s IsaOn.reg
goto exit
:off
regedit /s IsaOff.reg
goto exit
:exit

You can call the batch file with a parameter (on or off) in a
logon/logoff script. Regedit must be allowed to run on the user's
workstation. 
 
Thomas W Shinder
www.isaserver.org/shinder <http://www.isaserver.org/shinder>  
ISA Server and Beyond: http://tinyurl.com/1jq1
Configuring ISA Server: http://tinyurl.com/1llp
<http://tinyurl.com/1llp> 

 
 

GIF image

GIF image

GIF image

GIF image

GIF image

Other related posts:

  • » Nice Firewall Client On/Off Script from ISAServer.org Web boards