/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


I am trying to run a bat file to uninstall kb3097877 (that has broken Outlook) and it fails

11/13/2015 3006 views
The basic command is <wusa /uninstall /KB:3097877>  should be able to run with switches according to MS - <wusa /uninstall /KB:3097877 /quiet /forcestart>

Kace deploys script but does not run (even without the switches)
I have tried shell script and different users but keeps failing with an assortment of errors that internet has no answers for (does internet hate Kace? haha)

I have other scripts that still work.  This is such a simple script I cannot for the life of me see what's the issue ...
Suggestions?

Running as local system
Online Kscript

Server     Current Version: 6.4.119927
Agent     Available Version: 6.4.180


1 Comment   [ + ] Show comment

Comments

  • the most recent error is - ON Target machine:
    Installer encountered an error: 0x8000ffff
    Catastrophic failure

    and the Kace end - Log:
    Running as SYSTEM
    C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\1320>wusa /uninstall /KB:3097877
    Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\1320\uninstall_kb3097877.bat : (0) The operation completed successfully.
    Error Code: 0
    Status Code: -2147418113

All Answers

1
If these are 64 bit machines, it could be due to the client is 32bit so by default it will call the wusa.exe in syswow64 instead of the 64bit wusa in system32.  Use the full path to the wusa or call it using the sysnative variable.

http://www.samlogic.net/articles/sysnative-folder-64-bit-windows.htm

https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx
Answered 11/13/2015 by: SMal.tmcc
Red Belt

1
This Windows update is crashing Powerpoint for most of my employees. I've created a quick online kscript which works fine. I push it to them and tell them to reboot when they can. On boot up PP doesn't crash anymore. All my Windows laptops are running Windows 7 Pro 64bit. My kbox and agents are fully up to date.




Answered 11/17/2015 by: bens401
Purple Belt

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