I run a VBscript manually, and it works. I run it through KACE, and it says it ran, but didn't
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
0 Comments
[ + ] Show comments
Answers (1)
Answer Summary:
Please log in to answer
Posted by:
Shootifitmoves
9 years ago
Top Answer
I found the answer. I needed to use %windir%\sysnative instead c:\windows\system32 under directory.
Using this works on a 64 bit system:
Comments:
-
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. - five. 6 years ago