KACE script failing - Can't find the file specified
I am running a simple script to re-register machines on our WSUS server.
The script fails when it tries to run the following command, saying that it cannot find the file specified:
C:\Windows\System32\wuauclt.exe /resetauthorization /detectnow
The file is present and the command can be run manually from the command line, but fails in the script?!?!
See screenshot of the commands in the script. Any ideas on how to get this command to run?