Power options not working

The power options deployment task creates the neversleeponpower plan. But unless you enforce the policy (i.,e grey it out so user cant change it) it doesn’t set the new plan as default. so the dozen PCs i just tried to deploy all went to sleep after 5 minutes breaking a bunch of tasks. Can this be fixed?

And today it worked fine. Finding lots of works one way one day and different the next at the moment :frowning:

It would be nice if the “do not hibernate” option when setting up a provisioning package could also be in the power shell script so there was an easy way to make sure device don’t go to sleep when using autopilot to install the immy agent and then onboard the computer.