/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


I need to push DLL's to sysWOW64 folder.

09/17/2015 1655 views

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.

 

A01551.png

0 Comments   [ + ] Show comments

Comments


All Answers

0

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
4th 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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ