Fix: [KB63363912] Error Code 30045-4 in Office 365/2019/2021 Installation

How to Fix Microsoft Office Error Code 30045-4

Microsoft Office Error Code 30045-4 can appear when you try to install, update, or repair Microsoft 365, Office 2021, or Office 2019. The problem may occur because of a damaged Office installation, a disabled Click-to-Run service, security software interference, Windows system-file problems, or an incomplete previous installation.

Fortunately, you can usually resolve the problem without resetting Windows. Start with the simpler solutions and move to reinstalling Office only if the earlier steps do not work.

What Causes Microsoft Office Error Code 30045-4?

Several problems can trigger Microsoft Office Error Code 30045-4, including:

  • A damaged or incomplete Office installation
  • Problems with the Microsoft Office Click-to-Run service
  • Security software blocking the installation
  • Corrupted Windows system files
  • An incomplete Office update
  • Conflicts with an older Office installation
  • Network or proxy restrictions during installation

Before making major changes, restart your computer and try the Office installation again. If the error returns, continue with the solutions below.

1. Check the Microsoft Office Click-to-Run Service

Microsoft Office relies on the Click-to-Run service for many Microsoft 365 and Office installations. If the service is disabled or not running correctly, installation and update operations can fail.

Follow these steps:

  1. Press Windows + R.
  2. Type services.msc and press Enter.
  3. Find Microsoft Office Click-to-Run Service.
  4. Double-click the service.
  5. Check the Startup type.
  6. Set it to Manual or Automatic.
  7. If the service is stopped, click Start.
  8. Select Apply and then OK.

Restart the computer and try installing or updating Office again.

2. Repair Microsoft Office

If an existing Office installation is damaged, repairing it can replace corrupted files without requiring a complete reinstall.

On Windows 11:

  1. Open Settings.
  2. Select Apps > Installed apps.
  3. Find your Microsoft 365 or Office product.
  4. Select the three-dot menu next to it.
  5. Choose Modify.
  6. Select Quick Repair and follow the instructions.

If Quick Repair does not resolve the problem, repeat the process and select Online Repair.

Microsoft recommends Online Repair when a more complete repair is needed because it can replace damaged Office files and repair the entire Office installation.

For another Office installation problem involving damaged or incomplete installation files, see Office Installation Error Code 1603.

3. Run System File Checker

Windows system-file corruption can interfere with software installation and updates. The System File Checker can scan protected Windows files and repair problems it finds.

To run SFC:

  1. Search for Command Prompt.
  2. Right-click it and select Run as administrator.
  3. Enter the following command:
sfc /scannow
  1. Press Enter.
  2. Wait until the scan reaches 100 percent.
  3. Restart the computer after the scan finishes.

If SFC reports that it could not repair some files, run the DISM command below from an elevated Command Prompt:

DISM /Online /Cleanup-Image /RestoreHealth

After DISM finishes, restart Windows and run sfc /scannow again.

For another Office installation problem involving damaged or incomplete installation files, see Office Installation Error Code 1603.

4. Check Your Internet Connection and Security Software

Office installation may need to download files from Microsoft’s servers. A VPN, proxy, firewall, or third-party security application can sometimes interfere with that process.

First, confirm that your internet connection is stable. If you are using a VPN, disconnect it temporarily and try the installation again.

If you are experiencing a different Office installation problem after an update, Office Error Code 0-1005 is another related installation issue that may help you troubleshoot the problem.

You can also temporarily check whether third-party antivirus or firewall software is blocking the Office installer. Do not leave your security protection disabled after testing. Turn it back on as soon as possible.

If the installation works after changing a security setting, review the security application’s allow-list or firewall rules instead of permanently disabling protection.

5. Install Pending Windows Updates

An outdated Windows installation can create compatibility problems during software installation.

Open:

Settings > Windows Update

Check for available updates and install any pending updates. Restart the computer when Windows requests it.

After restarting, try the Office installation again.

If you encounter a different 30045 installation error, see Microsoft Office Error Code 30045-27 for related troubleshooting.

6. Remove an Older Office Installation

A damaged or incomplete previous Office installation can interfere with a new installation.

Open Control Panel and select:

Programs > Programs and Features

Look for older Microsoft Office products that you no longer need. If an old installation is present and you intend to replace it, uninstall it and restart the computer.

Microsoft also provides an Office uninstall troubleshooter for removing Microsoft 365, Office 2021, Office 2019, and other supported Office installations.

7. Reinstall Microsoft Office

If Microsoft Office Error Code 30045-4 continues after repairing Office and checking Windows, a clean reinstall may be necessary.

Before uninstalling Office, make sure you know the Microsoft account or product key associated with your Office license.

Then:

  1. Uninstall the existing Office installation.
  2. Restart your computer.
  3. Sign in to your Microsoft account associated with the Office license.
  4. Download the correct Office installer.
  5. Start the installation.
  6. Keep the computer connected to the internet until the process finishes.
  7. Open an Office application after installation.
  8. Sign in if activation is requested.

Microsoft confirms that uninstalling Office removes the applications but does not remove documents, spreadsheets, or other files you created with Office.

8. Try the Office Offline Installer

If the normal installer repeatedly fails because of a network, proxy, firewall, or antivirus problem, an offline installation method can be useful for supported Microsoft 365 installations.

Microsoft specifically notes that the Office offline installer can help bypass potential proxy, firewall, antivirus, or internet connection problems during installation.

Frequently Asked Questions

What is Microsoft Office Error Code 30045-4?

Microsoft Office Error Code 30045-4 is an installation or update-related error that can prevent Microsoft 365, Office 2021, or Office 2019 from completing an operation.

Can repairing Office fix Error Code 30045-4?

Yes. Quick Repair can be tried first. If that does not work, Online Repair provides a more complete repair of the Office installation.

Should I reinstall Office immediately?

No. Try restarting Windows, checking the Click-to-Run service, repairing Office, running SFC and DISM, and checking security or network restrictions first. Reinstall Office only when these steps do not resolve the problem.

Will uninstalling Office delete my Word and Excel files?

No. Uninstalling Office removes the Office applications. Your personal documents and workbooks are not removed by the normal Office uninstall process.

Conclusion

Microsoft Office Error Code 30045-4 usually requires troubleshooting the existing Office installation rather than changing Windows settings unnecessarily. Start by checking the Click-to-Run service and repairing Office. Next, run SFC and DISM, check security and network restrictions, and install pending Windows updates.

If the error continues, remove the existing Office installation and reinstall the correct Microsoft 365, Office 2021, or Office 2019 version. These steps provide a practical path from the least disruptive fixes to a complete Office reinstall.

Leave a Reply

Tags: , , , ,