Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Disable firewall via registry

03 Dec 2010   #1
jvuz

 
 
Disable firewall via registry

Hello,

is there a way to disable the firewall via the registry?

Jvuz


My System SpecsSystem Spec
.
03 Dec 2010   #2
mckillwashere

Windows 7 x86/x64, Server 2008r2, Web Server 2008
 
 

Any reason why you want is disabled via registry and not the control panel?
My System SpecsSystem Spec
03 Dec 2010   #3
jvuz

 
 

When installing and configuring our new systems, I created a reg file to already configure a lot instead of doing everything via the control panel. I have two files, one for Windows 7 and one for non-Windows 7 OS's.

Jvuz
My System SpecsSystem Spec
.

03 Dec 2010   #4
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

I assume you're talking about windows firewall. You mentioned you are using other OS's. For XP, take a look at this page.

How to Use Regedit to Turn the Windows Firewall Off

In win7, apart from the standard profile and domain profile, theres also a public profile so I'm not sure how this would work there.

One approach could be to make a batch file with the netsh command line to disable the firewall, then convert the batch to a reg file.

http://www.winhelponline.com/blog/en...-command-line/

Convert .reg files to .bat files

Dwarf's tutorial would give you the equivalences between the reg and the bat files.
My System SpecsSystem Spec
03 Dec 2010   #5
jvuz

 
 

A batch is good too. Thanks alot. I'll have a look. For XP there isn't a problem. That reg hack I already found.

I'll keep you posted.

Jvuz
My System SpecsSystem Spec
03 Dec 2010   #6
jvuz

 
 

Using the following command it worked (make sure UAC is disabled):

netsh advfirewall set currentprofile state off

Thanks everyone for helping me out here.
My System SpecsSystem Spec
03 Dec 2010   #7
lavee383

Windows 7 Pro
 
 

why not disable it via GPO instead?
My System SpecsSystem Spec
03 Dec 2010   #8
jvuz

 
 

We're not using Windows servers, but Linux servers with Samba.
My System SpecsSystem Spec
03 Dec 2010   #9
lavee383

Windows 7 Pro
 
 

gotcha
My System SpecsSystem Spec
Reply

 Disable firewall via registry




Thread Tools




Similar help and support threads
Thread Forum
should i disable windows 7 firewall ?
should i disable windows 7 firewall when installing kespersky anti-virus? thanks
System Security
Disable Windows 7 firewall service
Hi I am using a third party firewall and would like to know if I can disable windows 7 firewall? I notice some problem when I do turn it off though.. I can't use a remote access program, when I disable it... I use an app called Splashtop for streaming my desktop to my tablet etc..
System Security
disable firewall?
hey, if i install say kaspersky anti-virus (or any paid for anti-virus programs) do i then have to disable windows 7 firewall? thanks
System Security
Is it safe to disable Win7 firewall ?
Hi I've had many woes with my Logitech Duet network music system - lots of "no IP address" and "no valid DHCP.." messages. This was using the SqueezeServer software music server on my Win 7 netbook. I disabled Win 7 Firewall & AVG. This seemed to cure the issue (even after AVG had...
System Security
Disable Kaspersky's Firewall and use Comodos?
Will it still cause issues?
System Security
Disable windows firewall and notices
Hi guys, I can disable windows firewall easily but I still get an annoying notification in the taskbar from that new notification icon thing, which tells me I should enable it. Is there anyway to suppress this? In XP there was a tickbox in the security center that stopped all warnings that...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:42.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App