Solved Disable firewall via registry

jvuz

New member
Member
Local time
4:43 PM
Messages
38
Hello,

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

Jvuz
 

My Computer My Computer

At a glance

XP
OS
XP
Any reason why you want is disabled via registry and not the control panel?
 

My Computer My Computer

At a glance

Windows 7 x86/x64, Server 2008r2, Web Server ...i7 v2 3930K Steping stone 2G.SKILL Ripjaws Z Series 32GBAMD HD 5770
Computer Manufacturer/Model Number
SMN-Productions
OS
Windows 7 x86/x64, Server 2008r2, Web Server 2008
CPU
i7 v2 3930K Steping stone 2
Motherboard
ASUS Rampage IV Extreme
Memory
G.SKILL Ripjaws Z Series 32GB
Graphics Card(s)
AMD HD 5770
Monitor(s) Displays
Acer 21" and Samsung 20"
Hard Drives
Patriot Pyro 80GB
PSU
1000 Watt
Case
HAF-X
Cooling
4 Fans
Keyboard
Black Widow Ultimate
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 Computer My Computer

At a glance

XP
OS
XP
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/enable-and-disable-windows-firewall-quickly-using-command-line/

http://www.sevenforums.com/tutorials/84189-convert-reg-files-bat-files.html

Dwarf's tutorial would give you the equivalences between the reg and the bat files.
 

My Computer My Computer

At a glance

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
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 Computer My Computer

At a glance

XP
OS
XP
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 Computer My Computer

At a glance

XP
OS
XP
why not disable it via GPO instead?
 

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
We're not using Windows servers, but Linux servers with Samba.
 

My Computer My Computer

At a glance

XP
OS
XP
gotcha :)
 

My Computer My Computer

At a glance

Windows 7 ProP4 3.4 GHz2 GBNVIDIA Quadro FX 1400
Computer Manufacturer/Model Number
Dell Precision 380
OS
Windows 7 Pro
CPU
P4 3.4 GHz
Memory
2 GB
Graphics Card(s)
NVIDIA Quadro FX 1400
Sound Card
Audigy 2 ZS
Monitor(s) Displays
Dell 1907FP
Screen Resolution
1280x1024
Hard Drives
WDC WD800JD 80 GB
Seagate FreeAgent Pro 320GB
Seagate FreeAgent 1T
Internet Speed
10mb cable
Back
Top