How to Repair Windows Firewall Files

By Mike Benson

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.

Step 1

Click on "Start," then "All Programs" and select "Accessories."

Step 2

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

Step 3

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 4

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

Step 5

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

Step 6

Insert your Windows installation disc.

Step 7

Type "sfc /scannow" and press "Enter." This will scan Windows system files and replace damaged ones with the default from your Windows installation disc.Press "Cancel," if prompted to reboot your computer.

Step 8

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

Step 9

Type "Exit." This closes the Command Prompt.

Step 10

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

Step 11

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

Step 12

Click the "Extended" tab.

Step 13

Scroll down and cick to highlight "Windows Firewall."

Step 14

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

Step 15

Restart your computer.