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   [ + ] Show Comments

Comments

Please log in to comment

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.
Please log in to comment

Answers

Answer this question or Comment on this question for clarity