We're trying to run a pre-deployment script using a batch file before deploying the agent - command as follows:

"cmd.exe /c RegAdd.bat" (and then upload RegAdd.bat) - which should add a simple registry entry.

Deployment status changes to "Installing - Excuting pre-deployment actions". After about 15-20 minutes then times out "Timeout waiting for device. Check the Application Event Log (Windows) or the syslog (Linux) on the target device".

If we try without pre-deployment script - agent gets deployed no problems. Nothing in event viewer to suggest why.

Have ensured firewall is off and have removed AV in case this was blocking with no results.

Using Zcm 10.3.

Am i missing something? Possibly with the command for the pre-deployment?