安裝/移除 Office、使用優化工具清理登錄、惡意軟體破壞,導致 HKEY_CLASSES_ROOT\.doc、.docx 等副檔名關聯下的 ShellNew 子機碼遺失,右鍵「新增」選單不再顯示「Microsoft Word 文件」。
Windows Registry Editor Version 5.00
; .doc (Word 97-2003)
[HKEY_CLASSES_ROOT\.doc]
@="Word.Document.8"
"Content Type"="application/msword"
[HKEY_CLASSES_ROOT\.doc\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\.doc\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"
[HKEY_CLASSES_ROOT\.doc\ShellNew]
"FileName"="winword8.doc"
[HKEY_CLASSES_ROOT\.doc\Word.Document.6\ShellNew]
"FileName"="winword.doc"
[HKEY_CLASSES_ROOT\.doc\Word.Document.8\ShellNew]
"FileName"="winword8.doc"
[HKEY_CLASSES_ROOT\.doc\WordDocument\ShellNew]
"FileName"="winword2.doc"
[HKEY_CLASSES_ROOT\.doc\WordPad.Document.1\ShellNew]
"NullFile"=""
; .docx (Word 2007+)
[HKEY_CLASSES_ROOT\.docx]
@="Word.Document.12"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
[HKEY_CLASSES_ROOT\.docx\OpenWithList\WordPad.exe]
@=""
[HKEY_CLASSES_ROOT\.docx\PersistentHandler]
@="{98de59a0-d175-11cd-a7bd-00006b827d94}"
[HKEY_CLASSES_ROOT\.docx\ShellNew]
"FileName"="winword12.docx"
[HKEY_CLASSES_ROOT\.docx\Word.Document.12\ShellNew]
"FileName"="winword12.docx"
RestoreWordNewMenu.reg (編碼 ANSI/UTF-16 LE)。ShellNew 下的 FileName 值指向 %ProgramFiles%\Microsoft Office\Templates\ 或 %AppData%\Microsoft\Templates\ 下的範本檔。若想新建 Word 文件時自動套用公司抬頭、樣式:
MyTemplate.dotx 放入 %AppData%\Microsoft\Templates\。HKEY_CLASSES_ROOT\.docx\ShellNew 的 FileName 為 MyTemplate.dotx。explorer.exe (工作管理員結束 → 新增工作 → explorer.exe)。HKEY_CLASSES_ROOT\.doc\Word.Document.8 等 ProgID 機碼是否存在,缺失需修復 Office 安裝。