萬盛學電腦網

您现在的位置: 萬盛學電腦網 >> 作業系統 >  >> Windows 7 教學

Win7 右鍵「新增」選單缺少 Word 文件?匯入登錄表恢復 .doc/.docx 建立選項

問題成因

安裝/移除 Office、使用優化工具清理登錄、惡意軟體破壞,導致 HKEY_CLASSES_ROOT\.doc、.docx 等副檔名關聯下的 ShellNew 子機碼遺失,右鍵「新增」選單不再顯示「Microsoft Word 文件」。

一鍵修復:匯入登錄表檔

  1. 開啟記事本,貼入以下完整登錄表內容 (涵蓋 .doc、.docx、Word 6/8/97 相容格式):
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"
  1. 另存為 RestoreWordNewMenu.reg (編碼 ANSI/UTF-16 LE)。
  2. 雙擊匯入 → 「是」確認 → 「確定」。
  3. 按 F5 重新整理桌面/資料夾,右鍵「新增」即出現 Word 選項。

進階:自訂預設範本檔案

ShellNew 下的 FileName 值指向 %ProgramFiles%\Microsoft Office\Templates\ 或 %AppData%\Microsoft\Templates\ 下的範本檔。若想新建 Word 文件時自動套用公司抬頭、樣式:

  1. 建立好範本檔 MyTemplate.dotx 放入 %AppData%\Microsoft\Templates\。
  2. 修改登錄表 HKEY_CLASSES_ROOT\.docx\ShellNew 的 FileName 為 MyTemplate.dotx。

驗證與疑難排解

  • 若匯入後仍不顯示,重新啟動 explorer.exe (工作管理員結束 → 新增工作 → explorer.exe)。
  • 確認 Office 安裝完整:控制台 → 程式和功能 → Microsoft Office → 右鍵「變更」→「修復」。
  • 檢查 HKEY_CLASSES_ROOT\.doc\Word.Document.8 等 ProgID 機碼是否存在,缺失需修復 Office 安裝。
copyright © 萬盛學電腦網 all rights reserved