Hi,
As far as I know, it could not be done easily by configuring windows firewall, but you could have a try by setting up network devices to see if it works, such as your router. Please refer to the following article for more details:
http://www.makeuseof.com/tag/how-to-really-block-time-wasting-websites/
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards,
Wendy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.