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.

Windows 10

  1. Right-click the Start button Windows Start button in Windows 8 and Windows 10 (lower-left corner), and select Control Panel 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 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.

  4. 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.

  5. Follow the instructions on the screen to complete.

Windows 8 and 8.1

  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. From the How would you like to repair your Office Programs screen, select Online Repair to ensure everything gets fixed, and then select Repair.

  5. Follow the instructions on the screen to complete.

Windows 7 or Vista

  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. From the How would you like to repair your Office Programs screen, select Online Repair to ensure everything gets fixed, and then select Repair.

  5. Follow the instructions on the screen to complete.

3 - Uninstall and reinstall Office

Use the easy fix tool to completely remove Office from your computer. Then, reinstall Office. Select your browser from below for the steps to uninstall and reinstall Office.

Internet Explorer

  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. 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

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

  3. The Uninstall Microsoft Office wizard launches. Select Next.

  4. Select Apply this fix and follow through the rest of the screens.

    Select Apply this fix

    Important: If you don't see this screen, you may be using a different browser. See the steps below if you're using Chrome or Firefox.

  5. On completion of the easy fix tool, you'll get an Uninstallation successful screen, and then be prompted to restart your computer for changes to take effect. Select Next.

  6. After restarting, install Office again. Use the table below to find the correct sign in location for your version of Office.

    If you have this Office product

    Sign in to install Office

    An Office 365 subscription, such as:

    • Office 365 Home

    • Office 365 Personal

    • Office 365 University

    A one-time purchase of Office 2016 or Office 2013 such as:

    • Office Home & Student

    • Office Home & Business

    • Office Professional

    • Individual 2016 or 2013 applications such as Word, Excel, or Project

    1. Go to http://www.office.com/myaccount.

      If prompted, sign in with the email address and password associated with your copy of Office.

    2. Select Install.

    Tip: For complete installation steps, see Download and install or reinstall Office 365, Office 2016, or Office 2013 on your PC.

    Office 365 for business subscriptions that include the desktop Office applications, such as:

    • Office 365 Business Premium (including corresponding Nonprofit plans)

    • Office 365 Small Business Premium

    • Office 365 Midsize Business

    • Office 365 Enterprise E3, E4, and E5 (includes corresponding Government, Education, and Nonprofit plans)

    • Office 365 ProPlus

    1. Go to https://portal.office.com/OLS/MySoftware.aspx.

      If prompted, sign in with the email address and password that you created or someone in your organization created on your behalf.

    2. Select Install.

    Tip: For complete installation steps, see Download and install Office using Office 365 for business on your PC.

    Note: If you're having trouble signing in, check that you're using the correct email and password. If you still can't sign in you may be using a different Office 365 service and have a different sign in location, see Where to sign in to Office 365.

Chrome

  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. In the lower-lower left corner select the o15CTRRemove file and from the dropdown, select Show in folder.

    From the dropdown, select Show in folder
  3. Double-click the download, o15CTRRemove to run the easy fix tool.

  4. The Uninstall Microsoft Office wizard launches. Select Next.

  5. Select Apply this fix and follow through the rest of the screens.

    Select Apply this fix
  6. On completion of the easy fix tool, you'll get an Uninstallation successful screen, and then be prompted to restart your computer for changes to take effect. Select Next.

  7. After restarting, install Office again. Use the table below to find the correct sign in location to install your version of Office.

    If you have this Office product

    Sign in to install Office

    An Office 365 subscription, such as:

    • Office 365 Home

    • Office 365 Personal

    • Office 365 University

    A one-time purchase of Office 2016 or Office 2013 such as:

    • Office Home & Student

    • Office Home & Business

    • Office Professional

    • Individual 2016 or 2013 applications such as Word, Excel, or Project

    1. Go to http://www.office.com/myaccount.

      If prompted, sign in with the email address and password associated with your copy of Office.

    2. Select Install.

    Tip: For complete installation steps, see Download and install or reinstall Office 365, Office 2016, or Office 2013 on your PC.

    Office 365 for business subscriptions that include the desktop Office applications, such as:

    • Office 365 Business Premium (including corresponding Nonprofit plans)

    • Office 365 Small Business Premium

    • Office 365 Midsize Business

    • Office 365 Enterprise E3, E4, and E5 (includes corresponding Government, Education, and Nonprofit plans)

    • Office 365 ProPlus

    1. Go to https://portal.office.com/OLS/MySoftware.aspx.

      If prompted, sign in with the email address and password that you created or someone in your organization created on your behalf.

    2. Select Install.

    Tip: For complete installation steps, see Download and install Office using Office 365 for business on your PC.

    Note: If you're having trouble signing in, check that you're using the correct email and password. If you still can't sign in you may be using a different Office 365 service and have a different sign in location, see Where to sign in to Office 365.

Firefox

  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 Save File, and then OK.

  3. In the upper-right browser window, select Show all downloads.

  4. In the Library, select Downloads > O15CTRRemove.digicab, and then select the folder icon.

  5. Double-click the O15CTRRemove.digicab.

  6. The Uninstall Microsoft Office wizard launches. Select Next.

  7. Select Apply this fix and follow through the rest of the screens.

    Select Apply this fix
  8. On completion of the easy fix tool, you'll get an Uninstallation successful screen, and then be prompted to restart your computer for changes to take effect. Select Next.

  9. After restarting, install Office again. Use the table below to find the correct sign in location to install your version of Office.

    If you have this Office product

    Sign in to install Office

    An Office 365 subscription, such as:

    • Office 365 Home

    • Office 365 Personal

    • Office 365 University

    A one-time purchase of Office 2016 or Office 2013 such as:

    • Office Home & Student

    • Office Home & Business

    • Office Professional

    • Individual 2016 or 2013 applications such as Word, Excel, or Project

    1. Go to http://www.office.com/myaccount.

      If prompted, sign in with the email address and password associated with your copy of Office.

    2. Select Install.

    Tip: For complete installation steps, see Download and install or reinstall Office 365, Office 2016, or Office 2013 on your PC.

    Office 365 for business subscriptions that include the desktop Office applications, such as:

    • Office 365 Business Premium (including corresponding Nonprofit plans)

    • Office 365 Small Business Premium

    • Office 365 Midsize Business

    • Office 365 Enterprise E3, E4, and E5 (includes corresponding Government, Education, and Nonprofit plans)

    • Office 365 ProPlus

    1. Go to https://portal.office.com/OLS/MySoftware.aspx.

      If prompted, sign in with the email address and password that you created or someone in your organization created on your behalf.

    2. Select Install.

    Tip: For complete installation steps, see Download and install Office using Office 365 for business on your PC.

    Note: If you're having trouble signing in, check that you're using the correct email and password. If you still can't sign in you may be using a different Office 365 service and have a different sign in location, see Where to sign in to Office 365.

4 - Remove Office manually

  • 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?

How can we improve it?

How can we improve it?

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!