Scripting Question

Silent uninstall script for uninstalling Office 2010 Pro Plus using K1000

03/15/2016 8542 views
Hi All,

I need to run a silent uninstall of office 2010 Pro plus on several machines without user invention/interference. Would like to do this via K1000. I'm new to the software so not 100% sure if this can be accomplished using a modified configuration policy script or if i'm looking at this the wrong way.

any help would be greatly appreciated.
Answer Summary:
0 Comments   [ + ] Show comments


Answer Chosen by the Author


We do it like this :

"%CommonProgramFiles(x86)%\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /config "%~dp0SilentUninstall.xml" /dll OSETUP.DLL
"%commonprogramfiles%\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe" /uninstall PROPLUS /config "%~dp0SilentUninstall.xml" /dll OSETUP.DLL

And the content of SilentUninstall.xml is :

<Configuration Product="ProPlus">
   <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
   <Setting Id="SETUP_REBOOT" Value="NEVER" />

Answered 03/16/2016 by: gwir
Brown Belt

  • I setup a simple script with the contents of your xml and worked out nicely!
  • cannot find the specified config.xml file.C:\Program Files\Microsoft Office\Office14\office setup controller\uninstall.xml

    even after starting it in services

All Answers

You need to follow this guide, https://modalyitblog.wordpress.com/2015/02/17/scripting-your-office-2010-removal-office-365-click-to-run-migration/  But be sure to pay attention to the section on 32/64 bit versions of cscript.exe  I have used this on several machines running both 32 and 64 bit versions of office on Windows 7 PCs and it worked perfectly.  Be sure to include a reboot after it removes Office.  Remember to call out Power shell like powershell.exe -nologo -executionpolicy bypass -WindowStyle hidden -noprofile -file "nameofyourscript.ps1"
Answered 03/16/2016 by: wd_bs
Brown Belt


To remove the entire office 2010 x86 suite:

"%~dp0\setup.exe" /config "%~dp0\Uninstall.xml"/Uninstall ProPlus



- <ConfigurationProduct="ProPlus">

  <Display Level="none" CompletionNotice="NO" SuppressModal="yes" AcceptEula="yes" />

  <Logging Type="standard" Path="%temp%" Template="Microsoft OfficeProfessional Plus Setup(*).txt" />

  <Setting Id="Reboot" Value="Never" />

  <Setting Id="SETUP_REBOOT" Value="NEVER" />

  <OptionState Id="ProductFiles" State="Local" Children="force" />


Answered 05/10/2017 by: Womain
Senior White 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

View more:


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