Have any of you ever tried talking someone through disabling the bundled Windows Firewall? It’s pretty easy to do if your end-user knows what their Control Panel is and if they know the difference between an icon and an iPod, but sometimes, it’s just not that simple and you can spend 15 minutes trying to describe to the user what “doodads” and “thingamajigs” to click on. Allow me to introduce you to
netsh
– a nifty command line tool designed to interface with the Windows networking stack. For example, to disable the firewall, enter the following command in the Run dialog, or from a Command Line:
netsh firewall set opmode disable
There are tons of other options as well. Just go to a Command Line and type netsh help
to see all of the things you can manipulate using netsh. For the record, it took my user all of 30 seconds to copy/paste the command into the Run dialog and execute it, disabling the firewall and enabling my remote access to their machine.
Nice tip, didn’t know about that. Nice find!
Thanks for the tip. Very useful.
Good tip, just wanted to point out a typo.
Your example says that the following command will disable the Windows Firewall, but actually, this will turn it on.
netsh firewall set opmode enable
To disable the firewall, it should be,
netsh firewall set opmode disable
Thanks,
Tachyon
yea that tip didn’t work it said access denied how do I get around that?
Apricot,
You must have administrator rights on your PC to be able to disable the firewall.
Thanks it worked
if your computer is a domain member you must to use this command:
netsh firewall set opmode mode = DISABLE profile = ALL
to disable DOMAIN mode and Local mode
Hi, Yohnah
I am a new member here!
The above command netsh firewall set opmode = DISABLE profile = ALL
to disable DOMAIN mode and local mode.
Its doesn’t worked!in my domain environment. Can pls tell What ll b d actual command.I badly needs this one. Searching from long time.
Thnx in advance
thank you, works like a charm
Of course, there is always the following method:
sc config mpssvc start= Disabled
net stop mpssvc
So now the firewall service is set to disabled, and isn’t running, not sure if this disables the firewall for all profiles, but it works fine in our domain environment
C:\Windows\System32\netsh.exe “firewall set opmode = DISABLE profile = ALL”
Tanks It is very useful
TANKS
thanks
well it does not work with mines ya got any new methods to disable the firewall and i have another problem everytime i download something from the internet a sign pos up and says this policy is blocked by a group of people ya got anyway to stop this pleaseeeee help
netsh advfirewall set allprofiles state off
SC stop MpsSvc
SC config MpsSvc start= disabled
i want to know how i will block any site by firewall
Cool tip, thanks!
I am on windows 2008 R2 core and this(http://techibee.com/windows-7/disable-windows-firewall-from-command-line/1043) worked for me
tnx much
netsh is such a powerful cmd i am always learning new ways to use it, even still… a whole book could be written about netsh
Great……! Thankyou for this share………….!
everytime i try to get netsh to work all the computer says is access denied, no matter which command line i use. how do i get past that? any other tips?