Natural EMPs, from giant solar flares and coronal mass ejections (world wide CMEs) we will have a minimum of three days notice. That is plenty of time to shut the grid down to keep it from total destruction. Whether those in control choose to do it or not is the question. The man made (HEMPs) varieties from high altitude nuclear blasts (over 30 miles up) will provide no notice and they will destroy the infrastructure.
They will take out the electronic controls first (in the first nanosecond) and then the transformers, wires and generators before anything can be done to protect the grid. There will be very little remaining an hour or so after the bright light in the sky. Although there is no blast or radiation threat it will kill a lot of people due to the lack of power. No electricity means no fuel, no transportation, no food, no water, no sewage controls, and no hospitals that can function beyond a walk in clinic type of care. The banking system will shut down so no credit, no transactions at all. The internet will be unavailable and your computers won't work anyway. It will take decades to recover from a total HEMP attack and years for a local recovery. (if a small area is attacked) A "small area" would be about a 50 mile radius of total destruction of the infrastructure with less damage going out about 750 miles around that. I am assuming that the deep state would use that kind of "attack" for a false flag event.
The event would be a satellite de-orbiting and at about 30 to 40 miles up it detonates. A small (25 pound) nuclear device is all it would take to do limited damage at that altitude. There would be no way to detect it or even identify it from the other junk orbiting the planet. A planted message that makes the claim of some terrorist group taking the credit for it and we are off to fight another war. Unless we can trace it to the real culprits we could cause WWIII. That would put the deep state back in control. That needs to be prevented at all cost.