Silent uninstall script for uninstalling Office 2010 Pro Plus using K1000
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.
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
Please log in to answer
Posted by:
wd_bs
8 years ago
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"
Posted by:
gwir
8 years ago
Top Answer
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" />
</Configuration>
Posted by:
Womain
7 years ago
To remove the entire office 2010 x86 suite:
"%~dp0\setup.exe" /config "%~dp0\Uninstall.xml"/Uninstall ProPlus
Uninstall.xml:
- <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" />
</Configuration>