The error you are encountering, "There was a failure initializing profiling API attach infrastructure. HRESULT: 0x80004005," typically indicates a problem with the .NET runtime or the Office installation on your Windows 11 machine. Since you mentioned that the issue does not occur on an older Windows 10 machine, it suggests that there may be compatibility or configuration issues specific to your Windows 11 setup.
Here are some steps you can take to troubleshoot and potentially resolve the issue:
- Check for Windows Updates: Ensure that your Windows 11 installation is fully updated. Sometimes, updates can resolve underlying issues with the .NET framework or Office applications.
- Reinstall .NET Framework: Since the error is related to the .NET runtime, consider uninstalling and reinstalling the .NET Framework. You can download the latest version from the Microsoft website.
- Check for Conflicting Software: Sometimes, third-party software can interfere with Office applications. Check if there are any recently installed applications that might be causing conflicts and try disabling or uninstalling them.
- Run Office in Safe Mode: Since you mentioned that running Word in safe mode does not produce the error, this indicates that an add-in or customization might be causing the issue. Try disabling all add-ins in Word and PowerPoint to see if that resolves the problem. You can do this by going to
File > Options > Add-ins, and then manage COM Add-ins. - Create a New User Profile: Sometimes, user profiles can become corrupted. Try creating a new user profile on your Windows 11 machine and see if the issue persists when using Office applications under that profile.
- Check Event Viewer: Since you mentioned that the event log is filling up with errors, check the Event Viewer for more specific error messages related to the issue. This can provide additional insight into what might be causing the problem.
- Contact Microsoft Support: If none of the above steps resolve the issue, consider reaching out to Microsoft Support for further assistance. They may have more specific tools or insights to help diagnose the problem.
By following these steps, you should be able to narrow down the cause of the error and hopefully find a resolution.