Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win7 新增程式庫報錯「錯誤 16389 無法建立庫」?群組原則關閉「阻止使用者新增檔案到使用者資料夾根目錄」即解

編輯:Windows 7 系統介紹

錯誤訊息

「無法建立檔案 '新建 程式庫.library-ms' 檔案系統錯誤 (16389)」

根因

群組原則啟用了「阻止使用者將檔案新增到與該使用者對應的『使用者資料夾』資料夾的根目錄下」,導致無法在程式庫根目錄建立定義檔。

修復步驟

  1. Win + R → gpedit.msc → 允許 UAC 提權。
  2. 依序展開:
    使用者設定 → 系統管理範本 → Windows 元件 → 檔案總管
  3. 右側找到「阻止使用者將檔案新增到與該使用者對應的『使用者資料夾』資料夾的根目錄下」 → 雙擊。
  4. 選 「未設定」或「已停用」 → 確定。
  5. 關閉群組原則編輯器 → 重新開機。
  6. 再次新增程式庫,錯誤消失。

錯誤 16389 視窗

gpedit.msc 開啟

UAC 提權

檔案總管原則路徑

原則項目位置

設為未設定

新增程式庫成功

Copyright © Windows教程網 All Rights Reserved