Microsoft Office Error Code 30170‑4 typically occurs during the installation or update process of Office 365, 2016, or 2019. This error often results from conflicts caused by previous Office installations, temporary files, corrupted system components, or blocked access due to antivirus or firewall settings.
To fix this issue, start by uninstalling any existing Office versions from your system via the Control Panel or the Apps section in Settings. After removal, manually delete leftover Office folders from C:Program Files
and C:Program Files (x86)
, and clear the %temp%
directory to eliminate cached installation data.
Next, temporarily disable your antivirus and firewall to ensure they don’t interfere with the setup. Use the official Microsoft Support and Recovery Assistant if needed to clean residual registry entries. Then, download the latest Office installer from your copyright and run the setup as administrator.
Additionally, it’s recommended to run sfc /scannow
in Command Prompt (admin) to scan and repair system files. If needed, follow it with DISM /Online /Cleanup-Image /RestoreHealth
to restore any damaged components before retrying the installation.
For a detailed walkthrough of these steps and more advanced troubleshooting options, refer to the full guide available at WinChatSupport.