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
ncpeteusa:
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
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
trn
August 26, 2021, 12:29pm
3
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
AlanM
August 27, 2021, 6:12pm
4
Yes, the current working directory will be the site directory so that definitely wouldn’t work.