The icon issue signifies there are registry errors with the Office install and while you can patch this specific one, there are significantly more registry errors that need fixing too. The manual fix using Word.Document.16 or Word.Document.12 (12 worked for me) worked for the .doc icon, and you could even do this for each file type (Excel.Spreadsheet.12, etc.), but it is a band-aid for a deep gash.
I have Autohotkey scripts that use some Visual Basic functions (ComObjGet) that were throwing errors - I eventually realized this was due to Office registry errors beyond the missing icons. I ran the Office Quick Repair and Online Repair and they did not fix the registry. A full uninstall/reinstall did not fix the registry.
My Total Solution:
- Download/install Revo Uninstaller. This free program checks for residual/leftover files that were not properly removed during an uninstall.
- In Revo, find Microsoft Office and click Uninstall. Acknowledge any warnings.
- Create a System Restore, then proceed through the uninstall steps.
- After uninstall, I used moderate search mode to look for leftovers.
- I selected all leftover registry items, deleted them, and clicked next.
- I selected all folders/files, deleted them, and finished.
- Restart your PC
- Re-install Office 365 (or your version)
- Restart your PC again
- Done! This fixed everything for me. Icons and all other registry errors. Surprisingly my OneDrive, Outlook, Word, and Excel settings were all saved and I did not have to reconfigure the programs - just open and run per usual.
Note: It seems like the registry was screwed up from when I cloned my hard drive to a new PC and replaced Office Pro 2019 with Office 365. Somewhere in this process the registry was not properly reconfigured to Office 365. I suspect this may occur for other Office version upgrades.
Hope this helps others!