Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

how to Disable windows 7 firewall service via command line or register

Posted on 2013-06-17
9
3,839 Views
Last Modified: 2013-06-18
I need to disable the firewall service via command or registry entry
0
Comment
Question by:Harry_NZ
9 Comments
 
LVL 14

Expert Comment

by:Tribus
ID: 39255213
Does this work?

netsh firewall set opmode disable

Open in new window

0
 

Author Comment

by:Harry_NZ
ID: 39255218
this does not disable the service.
0
 
LVL 14

Expert Comment

by:Tribus
ID: 39255228
Was there an error?  Did you run your command prompt as administrator?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:Harry_NZ
ID: 39255230
No error , it was successful  but like i said it did not STOP the windows firewall service.

I found another command

sc config MpsSvc start= disabled     testing this now .
0
 
LVL 14

Expert Comment

by:Tribus
ID: 39255231
Maybe this?

 netsh firewall set opmode mode = disable

Open in new window

0
 
LVL 14

Expert Comment

by:Tribus
ID: 39255235
There is also this one too:

netsh advfirewall set profiles state off

Open in new window


Where "profiles" is AllProfiles, CurrentProfile, DomainProfile, PrivateProfile, or PublicProfile.
0
 
LVL 6

Expert Comment

by:xeroxzerox
ID: 39255236
best way to disable firewall follow that steps:

At the command prompt, type the following command:

>netsh advfirewall set profiles state off

2nd option
1. Click Start, click Control Panel, click Network and Internet, and then under Windows Firewall, click Turn Windows Firewall on or off.
2. On the General tab of the Windows Firewall Settings dialog box, select Off (not recommended), and then click OK.


3rd
Disable firewall service in computer management
open the Start Menu, type services.msc  in the search box, press Enter
and disable window firewall in it...

Registry path is
HKEY_LOCAL_MACHINE \ SOFTWARE \ Policies \ Microsoft \ WindowsFirewall.

Regards,
xerox
0
 
LVL 14

Accepted Solution

by:
Rob Miners earned 500 total points
ID: 39255264
To disable the Firewall Service, in an elevated Command Prompt window, enter the following commands:

net stop MpsSvc

sc config mpssvc start= Disabled

To enable

sc config mpssvc start= Auto

net start MpsSvc

eXample:


C:\>net stop MpsSvc
The Windows Firewall service is stopping.
The Windows Firewall service was stopped successfully.


C:\>sc config mpssvc start= Disabled
[SC] ChangeServiceConfig SUCCESS

C:\>sc config mpssvc start= Auto
[SC] ChangeServiceConfig SUCCESS

C:\>net start MpsSvc
The Windows Firewall service is starting.
The Windows Firewall service was started successfully.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 39255397
The Windows Firewall Service is integral part of the TCP stack starting with Vista, and you should NOT disable it. Or expect strange behaviour of network operations.
All you should do is switch the firewall off in the active or all profiles.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question