Software execution fails - Exit Code 23

I am working to push software and execute a command against a utility. I built the package in the Windows Software Distribution Wizard and in the logs it shows it was able to prefetch, and then it says command succeeded (Exit Code=23) and the process did not take place. What am I missing here?

The command that’s failing is after the extraction:

wait __Download\BiosConfigUtility.exe /nspwd:"[REDACTED]" /setconfig:TPMEnable "REPSET"

The only thought I have is that the quotes are causing some king of issue. Any thoughts?

Thanks.

So is the command failing in the action? Does the line in the action info say, “Failed”? or is it just not running/not doing anything?

You could try a couple things – I prefer to write out a batch file:

delete run.bat
delete __createfile

createfile until _end_

"__Download\BiosConfigUtility.exe" /nspwd:"[REDACTED]" /setconfig:TPMEnable "REPSET"

_end_

move __createfile run.bat

wait run.bat

This will make a run.bat in the site in the __BESData folder of the client. You can run the action and you should find the run.bat – you can do further testing from there if it still doesn’t work

1 Like

I have seen problems in wait / waithidden command lines when using more than one set of doublequotes. I’ve made it a habit to use createfile instead.

1 Like

I was hitting my head against exactly this recently. It was super annoying to eventually discover this was the issue.