A Easy way to enable or Disable the firewall by CMD or by creating icons .
By Cmd:-
-To disable the firewall
netsh advfirewall set currentprofile state off
-To enable the firewall
netsh advfirewall set currentprofile state on
By Creating icon:-
Click on Start/All Programs/Accessories/Notepad (or Start/Run/notepad/[OK])
Add the command:
netsh advfirewall set currentprofile state off
Click on File/Save As
In "File name" write "Disablefirewall.BAT"
Save directly on your desktop
Double-click this file to disable the firewall in Windows
Repeat the above operation, but now using the command
netsh advfirewall set currentprofile state on
In "File name" write "Activatefirewall.BAT"
Save directly on your desktop
Double-click this file to activate the firewall in Windows

0 comments:
Post a Comment