I'm in the process of fixing some other problems, and notice that disabling 50 devices at once is quick, but enabling 50+ devices takes forever. Sometimes I hit the php maximum runtime. Hopefully this isn't necessary and it could be sped up or could be run in parallel or in the background.