/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


I run a VBscript manually, and it works. I run it through KACE, and it says it ran, but didn't

08/28/2015 3255 views
I was trying to uninstall iTunes 12 using a VBscript (the KACE uninstall configuration script did not work. It used to for 11, but that's a different topic).
Running the script by calling cscript.exe \uninstallitunes.vbs works.
However, running it in KACE using an online script task fails to execute (the logs say success, though!).
Directory: SYS
File: cscript.exe
Parameters: $(KACE_DEPENDENCY_DIR)\uninstallitunes.vbs
Answer Summary:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

1
I found the answer. I needed to use %windir%\sysnative instead c:\windows\system32 under directory.
Using this works on a 64 bit system:

Answered 08/28/2015 by: Shootifitmoves
Senior White Belt

  • Thanks for this. I am not sure which thing fixed our issue. Using sysnative or checking the box "wait for completion", but one of the two did it and got my vbs to work correctly.

Don't be a Stranger!

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

Sign up! or login

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