/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Silent Parameters for Un-Installation of Office2013 ClickToRun

04/27/2017 2327 views
I have been trying to uninstall Office 2013 Professional - ClickToRun so I can deploy Office365 Business to 200+ computers and I can't get the command to uninstall it quietly. The uninstall command that I use is:
"C:\Program Files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe" scenario=install scenariosubtype=uninstall baseurl="C:\Program Files\Microsoft Office 15" platform=x86 version=15.0.4919.1002 culture=en-us productstoremove=ProfessionalRetail_en-us_x-n

I'm utilizing the Online Shell Script option via K1000 deploying it to Windows 7 x64 machines. I have tried to follow the command above with /q, /silent, /qb, DisplayLevel="none", and others but these commands do not work. Any help would be much appreciated.
Thank you.
3 Comments   [ + ] Show comments

Comments

  • I would just use OffScrub vbs script (OffScrub_O15msi.vbs), instead of the built in uninstaller. I believe they do the same job but the vbs script is much more manageable and easier to deploy.

    The script can be acquired easily from this github repo https://github.com/OfficeDev/Office-IT-Pro-Deployment-Scripts/tree/master/Office-ProPlus-Deployment/Remove-PreviousOfficeInstalls

    The script comes directly from a Microsoft FixIt.
  • Ok, I've looked into this and haven't found how I am suppose to deploy this. I've tried to execute that script through the command line and received several syntax errors.
    Along searching for deployment options with your suggested solution I came across extracting the content of the O15_CTRREMOVE.DIAGCAB file which provided me with .ps1 files. Which I haven't found a way to successfully deploy those PowerShell scripts.

    https://social.technet.microsoft.com/Forums/en-US/b3194247-70da-4a00-ba14-22e93a1b0cb8/how-to-deploy-a-diagcab-with-sccm?forum=configmanagergeneral
    Seventh comment down.
    • vbscript OffScrub_O15msi.vbs /ALL /SILENT etc.
  • Hey! Try this: "C:\Program Files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe" scenario=install scenariosubtype=uninstall baseurl="C:\Program Files\Microsoft Office 15" platform=x86 version=15.0.4919.1002 culture=en-us productstoremove=ProfessionalRetail_en-us_x-n DisplayLevel=False

    I tested to remove office365. It worked for me using "DisplayLevel=False"
  • This content is currently hidden from public view.
    Reason: duplicate For more information, visit our FAQ's.

Be the first to answer this question

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:

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