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.
-
That can be done manually through Local Security Policy without the use of the command prompt.
-
won't reply to u. im sure you know why
-
Anyway, you are pointing to a more difficult direction. It's better to understand the things you're telling people to do before pasting.
-
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?
-
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 -
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. -
next please
-
I agree with Fade, doing almost anything in Windows via the command line is unnecessary; the GUI was designed for that.
Tweak the Windows Firewall in Windows Vista SP1 - From the command prompt
Discussion in 'Windows OS and Software' started by MaXimus, Feb 14, 2008.