stop wasting your time
Download
Use TR-069 standard to configure you devices. A lot of vendors implements it on their devices
Make sure your devices have the latest firmware
With task scheduling you can easly make changes in service window