Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 30534

Re: KAV and KB2823324

$
0
0

yeah, the scripts I've seen posted have all been incomplete. I'll post some here that I created that have worked well (let me know if there is a better way to post this!)

Removal script:

<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
  <Procedure name="KB2823324 Uninstall (WUSA) Only" treePres="3" id="294869096" folderId="32119231541794396193144183">
    <Body description="">
      <Statement description="Attempts to return results of a shell command to a global variable '#global:cmdresults#'" name="Execute Shell Command - Get Results to Variable" continueOnFail="false" osType="Windows">
        <Parameter xsi:type="StringParameter" name="Parameter1" value="wusa.exe /uninstall /kb:2823324 /quiet /norestart" />
        <Parameter xsi:type="StringParameter" name="Parameter2" value="False" />
        <Parameter xsi:type="StringParameter" name="Parameter3" value="System" />
      </Statement>
      <If description="">
        <Condition name="Windows 32 or 64 Bit Check">
          <Parameter xsi:type="EnumParameter" name="Condition" value="Exists" />
          <Parameter xsi:type="StringParameter" name="Value" value="" />
        </Condition>
        <Then>
          <Statement description="Attempts to return results of a shell command to a global variable '#global:cmdresults#'" name="Execute Shell Command - Get Results to Variable" continueOnFail="false" osType="Windows">
            <Parameter xsi:type="StringParameter" name="Parameter1" value="wusa.exe /uninstall /kb:2823324 /quiet /norestart" />
            <Parameter xsi:type="StringParameter" name="Parameter2" value="True" />
            <Parameter xsi:type="StringParameter" name="Parameter3" value="System" />
          </Statement>
        </Then>
      </If>
      <Statement description="Execute the specified procedure. - NOTE: this procedure does not complete until the called procedure completes." name="ExecuteScript" continueOnFail="false">
        <Parameter xsi:type="StringParameter" name="ScriptID" value="1327572085" />
        <Parameter xsi:type="StringParameter" name="ScriptName" value="KB2823324 Detection" />
        <Parameter xsi:type="StringParameter" name="TimeDelay" value="" />
        <Parameter xsi:type="EnumParameter" name="TimeUnit" value="Immediate" />
      </Statement>
    </Body>
  </Procedure>
</ScriptExport>


Viewing all articles
Browse latest Browse all 30534

Trending Articles