Issue Trying to Run __Createfile

Hello

Trying to run the commands below. It appears to run from a agent perspective but in actuality the command does not succeed. Hoping someone will be able to see what I am doing wrong:

delete __createfile
delete run.bat

createfile until end

cd “windows\system32\dellutility”

cctl.exe --acpwrrcvry=on

end

move __createfile run.bat

action uses wow64 redirection {x64 of operating system}
override wait
hidden=true
completion=job

wait run.bat

All of the target systems are 64 bit desktops, and using BigFix client version 9.5.18


Sorry I messed up the this is the correct script
delete __createfile
delete run.bat

createfile until end

cd “windows\system32\dellutility”

cctl.exe --acpwrrcvry=on

end

move __createfile run.bat

action uses wow64 redirection {x64 of operating system}
override wait
hidden=true
completion=job

wait run.bat

All of the target sy

I’d give that a fully defined path, not assume the batch file will start with a pwd of the root folder of the windows drive

I think you are also intending to turn 32-bit redirection off

action uses wow64 redirection {not x64 of operating system}

1 Like

Yes, the current working directory will be the site directory so that definitely wouldn’t work.