Microsoft 365 apps (Office) install and activation

Office install error 12002-4: what it means and how to fix it

Office error 12002-4 (and 12007-4 or 12152-4) means the connection, antivirus, firewall or proxy settings blocked installing Office over the internet.

By EpiFive Editorial TeamSources checked How we check our guides

What the error means

Error code 12002-4 is one of three closely related Office install codes, together with 12007-4 and 12152-4. Microsoft's article says you might see them if your internet connection, antivirus software, firewall or proxy settings are preventing you from installing Office over the internet. The online installer streams the Office apps from Microsoft's servers, and these codes mean that stream was interrupted or blocked.

The code points at the path between the device and Microsoft, not at your account, your licence or a damaged Office installation. That is why Microsoft's fixes are about the network and the security software in that path, and why the offline installer, which downloads the files first and installs them afterwards, is the main workaround. Microsoft notes that if you are seeing error code 3-4 instead, it has a separate article for that code.

Microsoft lists the most common solutions first and asks you to try them in order, trying the installation again after each one. If you know your connection is slow or keeps dropping, Microsoft suggests going straight to the offline installer.

Common causes

  • A slow or intermittent internet connection that drops during the download.
  • Antivirus software that interferes with the installer.
  • A firewall that blocks the installer's connections.
  • Proxy settings on the device, for example from a work network, that do not work on the current network.
  • A work or school network that is restricted so that Office cannot install over it.

How to fix it

1. Use the offline installer

Microsoft says the Microsoft 365 offline installer may help bypass potential proxy, firewall, antivirus or internet connection issues. Follow its "Use the Office offline installer" article, choose the tab for your version of Office, and install from the downloaded files instead of the online setup.

2. Switch to a wired connection

If you are on Wi-Fi, connect the device to the network with a cable and try installing Office again.

3. Install from a different network

A work or school network may be limited in a way that does not allow Office to install. Microsoft suggests trying at home, at a friend's house or on a wireless hotspot. Once Office is installed, it works on the work or school network as normal. If you must install on that network, your IT department may be able to help with the restriction.

4. Temporarily turn off proxy settings

Go to Start > Settings > Network & Internet > Proxy. Review Automatic proxy setup and Manual proxy setup, turn off a proxy you do not need on this network, select Save, and run the install again. Microsoft points IT administrators to the Microsoft 365 URLs and IP address ranges for proxy configuration.

5. Temporarily turn off antivirus and the firewall

Turn off your antivirus with the vendor's instructions. To find which product you have, open Control Panel > System and Security > Security and Maintenance, expand Security and look under Virus protection. Turn Windows Firewall off with Microsoft's instructions, or a third-party firewall with its vendor's guidance. Microsoft's article says to turn antivirus back on, or reinstall it, once Office has finished installing, and the same applies to the firewall.

If nothing works

If every step fails, including the offline installer, compare with another device on the same network. This is a general step: if that device also fails, the restriction is on the network, and an administrator needs to check the proxy and firewall against Microsoft's published Microsoft 365 endpoints. If only one device fails, look for security software or proxy settings that are unique to it.

What we checked

Two Microsoft Support pages were read. The article "Error code 12002-4, 12007-4, or 12152-4 when installing Office" states that the internet connection, antivirus software, firewall or proxy settings can prevent Office installing over the internet, recommends the offline installer for slow or intermittent connections, and lists the wired connection, other location, proxy, antivirus and firewall steps in order. The "Troubleshoot installing Office" hub links the article for these codes. The error was not reproduced for this page.

Last checked: 2026-11-21.

Official sources

Questions people ask

Are 12002-4, 12007-4 and 12152-4 different problems?

Microsoft covers all three in one article with the same fixes. Each means the internet connection, antivirus, firewall or proxy settings prevented Office from installing over the internet.

My connection is slow. What should I try first?

Microsoft specifically suggests the offline installer for a slow or intermittent connection. If that does not help, carry on with the other fixes and try installing again after each one.

Can I install at home and then use Office at work?

Yes. Microsoft says that if the work or school network blocks the install, you can install elsewhere, and after it is installed you can use Office at work or school as if you had installed it there.

Not your code?

Search the error code library, or report a code we don't cover. Spotted something out of date on this page? Report a correction.