Certain commands and/or scripts may result in the following error message.
CreateProcessAsUser failed due to A required privilege is not held by the client.
The error CreateProcessAsUser means that user(s) needs to elevate the rights of the account. Elevate the rights by opening the Control Panel / Administrative Tools / Local Security
Policy and add the user(s) account to the "Replace a process level token" right.
Note: A reboot of system is required for change to take effect.