Programmable buttons reset

The office is just about done with the new system, but I’ve found that the programmable buttons on the phones are not consistent. How can I take one phone which is setup correctly and distribute that config to the rest of the phones in the office?

I am on an adhoc config where users login to phones depending on where they are for the day, using aastra phones, and the aastra scripts were used to deploy them. I would guess that there is some server-side location where the user preferences are stored that I could look into, but I am not sure where to find that.