Protecting electrical enclosures