The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Tweak the Windows Firewall in Windows Vista SP1 - From the command prompt

    Discussion in 'Windows OS and Software' started by MaXimus, Feb 14, 2008.

  1. MaXimus

    MaXimus Notebook Deity

    Reputations:
    432
    Messages:
    1,906
    Likes Received:
    0
    Trophy Points:
    0
    In Vista SP1 make sure to open a command prompt with elevated privileges. Type " cmd" in the search box under the Start menu and then either hit CTRL + SHIFT + Enter or simply right click the highlighted result and select " Run as administrator". As far as the Windows Firewall in Vista SP1 is concerned, the " netsh advfirewall" command is your best tool. With this command you will be able to enable or disable programs and ports, as well as Windows Firewall itself.
    In order to play around with the default Firewall in Vista SP1 enter the " netsh advfirewall /?" command to get an idea of the options available to you. The general parameters of the Windows Firewall can be accessed via " netsh advfirewall set currentprofile /?" This will display a list of commands that will permit you to configure everything from the status of the firewall to the inbound and outbound connections behaviour. Type " netsh advfirewall set currentprofile state on" to turn the Windows Firewall on, and " netsh advfirewall set currentprofile state off" to switch it off. And " Nesth advfirewall set currentprofile state on" followed by " netsh advfirewall set currentprofile firewallpolicy blockinboundalways,allowoutbound" to block inbound connections, but to allow outbound ones.
     
  2. Fade To Black

    Fade To Black The Bad Ass

    Reputations:
    722
    Messages:
    3,841
    Likes Received:
    1
    Trophy Points:
    106
    That can be done manually through Local Security Policy without the use of the command prompt.
     
  3. MaXimus

    MaXimus Notebook Deity

    Reputations:
    432
    Messages:
    1,906
    Likes Received:
    0
    Trophy Points:
    0
    won't reply to u. im sure you know why
     
  4. Fade To Black

    Fade To Black The Bad Ass

    Reputations:
    722
    Messages:
    3,841
    Likes Received:
    1
    Trophy Points:
    106
    Anyway, you are pointing to a more difficult direction. It's better to understand the things you're telling people to do before pasting.
     
  5. n0elia

    n0elia Come on Haswell...

    Reputations:
    345
    Messages:
    1,361
    Likes Received:
    0
    Trophy Points:
    55
    Fade To Black; you're still pissed because MAximus777 also made a thread about SP1 download... get over it. What are you, 12 years old?
     
  6. MaXimus

    MaXimus Notebook Deity

    Reputations:
    432
    Messages:
    1,906
    Likes Received:
    0
    Trophy Points:
    0
    lol he will never get over it in his life.........he runs to any thread i create to make the first reply and bash me........

    i'm reporting this to a mod now
     
  7. Fade To Black

    Fade To Black The Bad Ass

    Reputations:
    722
    Messages:
    3,841
    Likes Received:
    1
    Trophy Points:
    106
    Kids, grow up.
    OK, I said that because it can be done easily without eating your heart out to understand the commands that need to be used with the command prompt. It can get very tricky and it's a waste of time when you can do it from the Local Security Policy. Other than that it is useful for those wanting to know how this thing works (from a Linux terminal point of view) and want to learn some commands.
    I don't give a damn about whether you like me or not. I'm still here and I'll always be as long as I want.
     
  8. MaXimus

    MaXimus Notebook Deity

    Reputations:
    432
    Messages:
    1,906
    Likes Received:
    0
    Trophy Points:
    0
    next please
     
  9. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    I agree with Fade, doing almost anything in Windows via the command line is unnecessary; the GUI was designed for that.