/build/static/layout/Breadcrumb_cap_w.png

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:
Posted by: Shootifitmoves 8 years ago
Senior White Belt
1

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

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