Disable firewall via registry


  1. Posts : 38
    XP
       #1

    Disable firewall via registry


    Hello,

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

    Jvuz
      My Computer


  2. Posts : 1,849
    Windows 7 x86/x64, Server 2008r2, Web Server 2008
       #2

    Any reason why you want is disabled via registry and not the control panel?
      My Computer


  3. Posts : 38
    XP
    Thread Starter
       #3

    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


  4. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #4

    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 Computer


  5. Posts : 38
    XP
    Thread Starter
       #5

    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


  6. Posts : 38
    XP
    Thread Starter
       #6

    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


  7. Posts : 44
    Windows 7 Pro
       #7

    why not disable it via GPO instead?
      My Computer


  8. Posts : 38
    XP
    Thread Starter
       #8

    We're not using Windows servers, but Linux servers with Samba.
      My Computer


  9. Posts : 44
    Windows 7 Pro
       #9

    gotcha :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 05:19.
Find Us