Files in c:\Windows\system32\drivers in Bigfix Action

If I run a batch file in Bigfix with the following command, the file is not found, and the command branches to drivermissing. The command runs when running manually.

IF NOT EXIST “c:\Windows\system32\drivers\PGPsdk.inf” GOTO drivermissing

Just realized the issue. I am running Bigfix which running in 32 bit context and I am trying to find 64 bit drivers.

I had to change my .cmd file to %windir%\sysnative\drivers.

Yes, that sounds likely. The following might be of use here:

https://developer.bigfix.com/action-script/reference/execution/action-uses-wow64-redirection.html