Error code 30145-4 when installing Office

When trying to install Office, you might get this error. Here are some things you can try to fix the problem. We’ve listed the most common solutions first, so try them in order.

Error code 30145-4 when installing Office

1 - Restart your device and try installing Office again

  • Bookmark this article so you can easily return to it.

  • Restart your device and sign back in.

    • If you’re a home user, sign in to your My Account page and choose Install.

    • If you’re a business user, sign in to the Office 365 portal and choose Install.

2 - Repair your Office app from the Control Panel

The steps to access the repair tool vary depending on your operating system. Choose your operating system from the options below.

  1. Right-click the Start button Windows Start button in Windows 8 and Windows 10 (lower-left corner), and select Programs and Features on the pop-up menu.

    Right click the Start Menu
  2. Right-click the Microsoft Office product you want to repair, and select Change.

    Note: If you have a suite such as Office 365 Home or Office Home and Student 2013 or 2016, search for the suite name, even if it's just a particular application you want to repair such as Word or Excel. If you have a standalone application such as Word or Excel, search for the application name.

  3. Follow the steps for your Office installation type:

    Note: If you need help figuring out if your Office is Click-to-Run or MSI-based, follow these steps below.

    • Click-to-Run: From the How would you like to repair your Office Programs screen, select Online Repair to ensure everything gets fixed, and then select Repair. You can select Quick Repair which runs faster but only detects and then replaces corrupted files. Online Repair does an uninstall and complete repair but takes longer.

    • MSI-based: Select Repair and then click Continue.

  4. Follow the instructions on the screen to complete.

  1. Right-click the Start button Windows Start button in Windows 8 and Windows 10 (lower-left corner), and select Control Panel from the pop-up menu.

    Options and commands list see after pressing Windows logo key + X
  2. From Category view, under Programs, select Uninstall a program.

  3. Right-click the Microsoft Office product you want to repair, and select the Change button.

    Note: If you have a suite such as Office 365 Home or Office Home and Student 2013 or 2016, search for the suite name, even if it's just a particular application you want to repair such as Word or Excel. If you have a standalone application such as Word or Excel, search for the application name.

  4. Follow the steps for your Office installation type:

    Note: If you need help figuring out if your Office is Click-to-Run or MSI-based, follow these steps below.

    • Click-to-Run: From the How would you like to repair your Office Programs screen, select Online Repair to ensure everything gets fixed, and then select Repair.

    • MSI-based: Select Repair and then click Continue.

  5. Follow the instructions on the screen to complete.

  1. Click the Start button Windows 7 Start button (lower left corner), click Control Panel from the menu list, and then click Programs and Features.

  2. From Category view, under Programs, select Uninstall a program.

  3. Click the Office product you want to repair, and then click Change.

  4. Follow the steps for your Office installation type:

    Note: If you need help figuring out if your Office is Click-to-Run or MSI-based, follow these steps below.

    • Click-to-Run: From the How would you like to repair your Office Programs screen, select Online Repair to ensure everything gets fixed, and then select Repair.

    • MSI-based: Select Repair and then click Continue.

  5. Follow the instructions on the screen to complete.

3 - Uninstall and reinstall Office

  1. Click this easy fix button to uninstall and completely clean up your Office installation.

    Easy fix download button indicating an automated fix is available
  2. Select your browser from the drop-down list to see the remaining steps.

    At the bottom of the browser window, select Open to open the O15CTRRemove.diagcab file.

    Select Open to open the O15CTRRemove.diagcab easy fix tool

    If the file doesn’t open automatically, choose Save > Open Folder, and then double-click the file (it should start with "O15CTRRemove") to run the easy fix tool.

    1. The Uninstall Microsoft Office wizard launches. Select Next and follow the prompts.

    2. When you see the Uninstallation successful screen, follow the prompt to restart your computer for the changes to take effect. Select Next.

    3. After restarting your computer, you can try installing Office again.

      To reinstall Office, see Install Office on your PC or Mac and follow the steps for your Office plan.

    In the lower-lower left corner select the o15CTRRemove file and from the drop down, select Show in folder.

    From the dropdown, select Show in folder

    Double-click the download, o15CTRRemove to run the easy fix tool.

    1. The Uninstall Microsoft Office wizard launches. Select Next and follow the prompts.

    2. When you see the Uninstallation successful screen, follow the prompt to restart your computer for the changes to take effect. Select Next.

    3. After restarting your computer, you can try installing Office again.

      To reinstall Office, see Install Office on your PC or Mac and follow the steps for your Office plan.

    Select Save File, and then OK.

    Save O15CTRRemove.diagcab file in Firefox

    In the upper-right browser window, select Show all downloads. In the Library, select Downloads > O15CTRRemove.digicab, and then select the folder icon. Double-click the O15CTRRemove.digicab.

    1. The Uninstall Microsoft Office wizard launches. Select Next and follow the prompts.

    2. When you see the Uninstallation successful screen, follow the prompt to restart your computer for the changes to take effect. Select Next.

    3. After restarting your computer, you can try installing Office again.

      To reinstall Office, see Install Office on your PC or Mac and follow the steps for your Office plan.

4 - Manually remove Office

  • If the easy fix tool from the previous step doesn't completely uninstall Office from your device, try removing Office manually.

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×