Steps to uninstall Office 2010

BatchPatch Forums Home Forums BatchPatch Support Forum Steps to uninstall Office 2010

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12384
    wescooper
    Participant

    I would not say I am new to BatchPatch but I am new to doing more than what it came with. IE making my own commands to remove or update software remotely.

    With the end of life for Office 2010 around the corner I suspect many of us will be looking to BatchPatch to make this easier for us in Oct 2020. I have created steps to make this happen for me so I thought I would share with the BatchPatch Support Forum.

    I used Create / modify remote commands. To find it go to Action from the top drop down menu: Execute remote process / command :> Create / modify remote commands.

    Once you open up that screen you need to to press the “Add Row” button. Now give your command a title. I reminded myself that I would need to copy a file to each of the remote computers for this to work in my title:”Remove Office Standard once removeoff.xml is copied to C:\BatchPatch (of remote system)”

    In the command space I typed the following:”C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller\setup.exe” /uninstall Standard /config c:\batchpatch\removeoff.xml

    Depending on the type of Office install you may need to change /uninstall Standard to /uninstall PROPLUS or to some other version of office this will also need to be adjusted in the XML file that you will need to create. The best way to see what you will need to type after /uninstall is to look on a system that you will be uninstalling Office from. I was really lazy and used UNC and the $ share to look in the following “\\ch-it-tb\c$\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Office Setup Controller” in this folder you will see one Folder in all caps. This is what you will type after /uninstall and what you will put in your xml file’s first line.

    You will need to create yourself an xml file and decide where you are going to store that xml file on the remote system. I named mine removeoff.xml and stored it in c:\batchpatch. Below is the contents of the xml file.

    <Configuration Product=”Standard”>
    <Display Level=”none” CompletionNotice=”no” SuppressModal=”yes” AcceptEula=”yes” />
    <Setting Id=”SETUP_REBOOT” Value=”Never” />
    </Configuration>

    Now use the copy file command in BatchPatch to get your xml file to the remote systems. Once that is done you can execute your new custom command.

    I did try this as a logged command and it returned with an error code of 1. Not sure why it will not work as a logged command.

    #12387
    doug
    Moderator

    Thanks for sharing!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.