Hi everyone,
We've noticed that the Veyon CLI sometimes crashes with exit code 0xC0000005 (Access Violation) when running config clear or config import, even after reporting [OK].
This becomes particularly problematic during remote installations using PowerShell and PsExec. When clear config and applyconfig are passed as separate installation options, a CLI crash during clear config causes the installer to abort before applyconfig can run. As a result, the client may be left without a valid Veyon configuration.
Our workaround:
We now separate installation and configuration. First, we install or update Veyon without applying the configuration.
Afterwards, we run config clear, config import, and config upgrade individually through PowerShell, checking the results of each command.
We also handle exit code 0xC0000005 separately if the CLI has already explicitly reported success.
This has made our remote deployments much more reliable, although it doesn't fix the underlying CLI issue.
Has anyone else noticed this behavior with the Veyon CLI? I'd be interested to hear whether you've encountered the same issue or found a different workaround.
I'm also happy to share a sanitized version of our PowerShell deployment script if anyone is interested.
Best regards,
Jens