/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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:
Cancel
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Answer Chosen by the Author


Answers

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.
Please log in to comment
Answer this question or Comment on this question for clarity

Answers

Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share