Failover Script Permission
On this topic:
By default, script execution by the standby 3CX host, are executed with the permission level of the service “3CXSystemService01”. This is set to “Local System”.
In cases batch, shell or powershell script require a different permission level, example Microsoft DNS dnscmd or psexec, the “3CXSystemService01” service must be started with a user allowing to call such operations.
Note: The “Local System” Log On user has full rights on the local system, therefore the minimal account type which the service can be changed to must have local administrative right and in case of dnscmd administrator privileges on the DNS management. It is advisable to create a dedicated user within the active directory just for this purpose and set the password not expire!
Run ‘services.msc’ and locate the “3CX PhoneSystem 01 System Server”.
Double click the entry and change to the tab “Log On”. Change the logon type from “Local System account” to “This account”. Browse for a user with the required permission level and enter the password for this user accordingly. Save with OK.
Restart the service after manually.