Scripting Question

Install Office 365 then remove old Office Versions 7 days later

02/08/2018 1355 views
Morning Ninjas,

We are looking to rollout Office 365 to our users and looking for the most intrusive way to do it. We think installing O365 and then giving them 7 days to move across before removing Office 2013 will be the best way. I was wondering if anyone has been able to create this with O365 or any other software whereby i might be able to use the code to create this.

Basically looking for:

  1. Install software
  2. Check each day to see if 7 days as past since software was installed
  3. Remove old software
Thank you for your help in advance.
1 Comment   [ + ] Show comment


  • Have you tried creating a script that will look on a PC to see if Office 365 is installed and if the a folder creation date is over 7 days old and has an older version of Office installed as well.. If so, create a dummy file.
    Then have a custom inventory rule to look for that file.
    Then have a smart label to see if a PC has that custom inventory rule applied to it.
    Then have a script run each day to remove older versions of office from all PCs with that smart label, and also delete that dummy file. (this should stop the PC from recreating the dummy file, get readded to the custom inventory rule and not attempt to uninstall older versions of office again.)

    A bit of work and hopefully someone has done what you are looking for that requires less chaining to get it done.

All Answers


as far as I know you canĀ“t have 2 different versions of office installed in parallel without tweaking the system. There is no difference between office 2k13 and o365 V2k13. Same thing just the install method and patching is different. If you are going for o365 2k16 it looks a little different but nothing which would confuse the user. So I personally believe you would create way more issues tweaking the systems to have 2 versions of office installed as going directly to the latest version.
Answered 02/14/2018 by: wizzo
Yellow Belt

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