command line turn on /off windows firewall

With the command line

Under Windows XP SP2, it is possible to enable or disable the firewall with the following command lines.

First open the command prompt: (Windows + R keys) and type : cmd
Disable the Windows XP firewall:
netsh firewall set opmode disable
Enable the Windows XP firewall:
netsh firewall set opmode enable

0 0 votes
Article Rating

You may also like...

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x