Pushed Windows Domain policies are periodically pushed by the Domain Controller to your machine. Typically all these settings are stored in the Windows registry.
So in order to remove this unsafe configuration when you are not connected to the domain, it is possible to remove the pushed Windows Firewall configuration from the registry so that you can enable your firewall.
You can do this using the following steps: