How to Repair Windows Firewall Files

A problem with the Windows Firewall files is usually a result of a faulty update or third-party firewall that caused a bug or conflict. The most common and obvious sign of a problem is when the Windows firewall refuses to turn on or off. In other cases, the Windows firewall may not save any changes, such as a modification to the exemptions. Fortunately, in most cases you can correct this problem from within the Command Prompt.

...
Repair firewall bugs and errors by resetting and repairing associated files.

Step

Click on “Start,” then “All Programs” and select “Accessories.”

Step

Right-click “Command Prompt,” and select “Run as administrator.”

Step

Type “netsh firewall reset” if you are using Windows XP. If using Windows Vista or 7 type “netsh advfirewall firewall reset.” Press “Enter” after typing the command. This resets all of your firewall settings to the default values.

Step

Type “netsh winsock reset” and press “Enter.” This resets all of your network settings to their default values.

Step

Type "netsh firewall set opmode mode = disable" and press "Enter."

Step

Insert your Windows installation disc.

Step

Type “sfc /scannow” and press “Enter.” This will scan Windows system files and replace damaged ones with the default from your Windows installation disc.

Step

Press "Cancel," if prompted to reboot your computer.

Step

Type "netsh firewall set opmode mode = enable exceptions = enable" and press "Enter."

Step

Type "Exit." This closes the Command Prompt.

Step

Press "Windows" key and "R" key simultaneously.

Step

Type "Services.msc" and press "Enter."

Step

Click the "Extended" tab.

Step

Scroll down and cick to highlight "Windows Firewall."

Step

Click "Restart the service" on the top-left.

Step

Restart your computer.