I have been trying to push 2 DLL's to the sysWOW64 folder using scripts and File sync.  I am not having any luck.  Here is what I have for the script.  Will someone let me know what I am doing wrong.



0 Comments   [ + ] Show Comments


Please log in to comment



The KACE Agent and it's child processes already run under the 32-bit subsystem, so you should just be able to point the files to %windir%\system32 and they will be auto-redirected to SysWOW64.

On the reverse, to get them to the native 64-bit system32 folder, you would point them to %windir%\sysnative

EDIT: I also noticed, your first step is to verify that the zip file is in the dependency dir... this will always be the case at the start of the script. What you should probably do is check for the existence of whatever DLL file you're extracting.

Answered 09/17/2015 by: BHC-Austin
Fourth Degree Black Belt

  • It is still not working. Do you have anything else?
    • Did you see my edit? As it is above, your verify step will always succeed, since you're checking for the zip file that is a dependency of the script, which is downloaded before the script even starts.
      • I removed the verify. I ran it again with no changes.
  • Just removing the verify won't work, either, since you have all the copy/unzip tasks under the Remediation section. Either change the Verify to "Always Fail" (for testing purposes), add an actual Verify step (like seeing if one of the DLL files you're trying to copy exists), or move the Unzip step to On Sucess
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja