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
Technology Tips and News
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
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.