Kaseya Community

IE 10 Removal Script

  • Script for Remove IE10 using wusa.exe for Windows 7 and 2008

     

     <?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="IE 10 Removal" treePres="3" id="1641125470" folderId="82113321815713424215829111">
    <Body description="">
    <If description="">
    <Condition name="True" />
    <Then>
    <Statement description="Execute the given command as if it were typed in at a command prompt." name="ExecuteShellCommand" continueOnFail="false">
    <Parameter xsi:type="StringParameter" name="Command" value="%SYSTEMROOT%\system32\wusa.exe /uninstall /kb:2718695 /quiet /log" />
    <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
    <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="True" />
    </Statement>
    <Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" continueOnFail="false">
    <Parameter xsi:type="StringParameter" name="Comment" value="IE 10 uninstalled " />
    </Statement>
    </Then>
    </If>
    </Body>
    </Procedure>
    </ScriptExport>
    
    

    Regards,

    Gopinath.J

  • does this reboot the PC?

  • Yes it will reboot ..you want reboot manually add /norestart switch in command line and execute it as system.

    %SYSTEMROOT%\system32\wusa.exe /uninstall /kb:2718695 /quiet /log /norestart

  • I'd honestly just keep IE 10 and set a compatibly setting for the legacy sites. IE10 is actually a really good browser, for possibly the first time in the history of IE.

  • In this script you execute the shell command in 64 bit shell. Shouldnt there be an if statement and only do it that way for 64 bit computers?