Office Installation Errors

Fix Microsoft 365 Default Apps and Error 30174-4 on Windows

Bushra ParveenBushra Parveen Nov 27, 2026 869 views

Question details

Restore Microsoft 365 applications to Windows default-app settings and resolve installation or removal errors.

Fix Microsoft 365 Default Apps and Error 30174-4 on Windows
Product
Microsoft 365 Apps for Windows
Device & OS
Windows
Scenario
Office apps disappear from default-app settings after a domain change or an unsuccessful Office repair.
Observed behavior
Office apps are not available as expected in default-app settings, and repair or removal may fail with error 30174-4 or 30016-22.
Before you start

Confirm that you can sign in to the Microsoft account or work account associated with your Office license. If your organization manages Office, check with your IT administrator before removing or reinstalling it.

Solution 1Recommended

Remove and reinstall the damaged Microsoft 365 installation

Use this approach when Office repair or uninstall fails, or when Office apps are missing from Windows default-app settings.

Errors 30174-4 and 30016-22 can occur when an Office Click-to-Run installation is damaged or incomplete. Microsoft’s official uninstall troubleshooter can help remove the installation before you reinstall it.

1
Open Microsoft’s removal guidance

Visit Microsoft Support and search for “uninstall Office from a PC.” Open the instructions for the Office uninstall troubleshooter and follow the prompts for your version of Windows.

2
Remove Office

Run the Microsoft uninstall troubleshooter, select the affected Office installation when prompted, and complete the removal. Close Office applications if the tool asks you to do so.

3
Restart Windows

Select Start > Power > Restart after the removal tool finishes.

4
Reinstall Microsoft 365

Sign in at account.microsoft.com with the account linked to your license, find your Microsoft 365 subscription, and select Install. For a work or school license, use your organization’s installation portal or contact your administrator.

5
Set Office apps as defaults

Open Settings > Apps > Default apps, select a file type such as .docx or .xlsx, and choose Word or Excel. Alternatively, right-click a file, select Open with > Choose another app, and choose the Office app as the default.

Remove and reinstall the damaged Microsoft 365 installation
Use official removal tools first: Avoid unverified registry cleaners and third-party uninstallers unless official removal methods fail. If the troubleshooter cannot remove Office, contact Microsoft Support or your IT administrator.
Free Microsoft Office alternative

Use WPS Office as an Alternative for Everyday Documents

WPS Office is a free, lightweight, easy-to-use alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easier to move existing files while you troubleshoot Microsoft 365.

Open and edit Word, Excel, and PowerPoint files, including DOCX, XLSX, and PPTX formats.Use Writer and Spreadsheets for everyday document and workbook tasks.Navigate a familiar interface with an easy-to-use set of editing tools.Move existing Office files into WPS without starting documents from scratch.
microsoft office alternative - wps office

Frequently Asked Questions

Why are Word and Excel missing from Windows default apps?

A failed repair or incomplete Office installation may prevent Windows from recognizing the apps. Remove and reinstall Office with Microsoft’s official tools, then check Settings > Apps > Default apps again.

What do errors 30174-4 and 30016-22 mean?

These errors can occur when an Office Click-to-Run installation is damaged or incomplete. If repair or removal fails, use Microsoft’s Office uninstall troubleshooter and reinstall Office after restarting Windows.

How do I make Word the default app for DOCX files?

Open Settings > Apps > Default apps, select the .docx file type, and choose Word. You can also right-click a DOCX file and select Open with > Choose another app.

Where can I reinstall Office with a work or school account?

Sign in to your organization’s Microsoft 365 installation portal with your work or school account and look for the install option. If it is unavailable, contact your IT administrator to check your license and installation permissions.