Firewall at Certain Times?

Hi,

I have a rule on my Windows firewall that I only want to be active at night. Is there a way to schedule it to automatically enable and disable at certain times?

Thanks,

Nathan

May 23rd, 2015 1:39am

Hi,

I suggest you schedule a task to run batch file to enable or disable firewall:

How to schedule a Batch File to run automatically in Windows 7 | 8
http://www.thewindowsclub.com/how-to-schedule-batch-file-run-automatically-windows-7

The commands you can use in batch file to enable or disable firewall:

To Turn Off:
NetSh Advfirewall set allprofiles state off

To Turn On:
NetSh Advfirewall set allrprofiles state on

Hope these could be helpful.

Free Windows Admin Tool Kit Click here and download it now
May 25th, 2015 3:57am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics