It would be helpful to be able to enable maintenance mode in a script and disable it in another script.   See if this makes sense.   Script 1 = turns on maintenance mode Script 2 = reboots computer Script 3 = turns off maintenance mode   Would this work, and how would one do this?  This would be a lot simpler than setting a time for maintenance mode in the agent and be more useful since maintenance mode wouldn't depend on a time, but on a script no matter when