Fix Microsoft 365 Default Apps and Error 30174-4 on Windows
Question details
Restore Microsoft 365 applications to Windows default-app settings and resolve installation or removal errors.

- 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.
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.
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.
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.
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.
Select Start > Power > Restart after the removal tool finishes.
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.
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.

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.

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.




