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

Win7 開機每次彈 UAC 提示?Microsoft ACT 建立白名單免關閉 UAC

編輯:Windows 7 系統介紹

信任的常用軟體 (如備份工具、磁碟管理軟體) 每次開機啟動都彈出 UAC 同意提示,既煩人又影響自動化流程。不想關閉 UAC 降低安全性?使用 Microsoft Application Compatibility Toolkit (ACT) 為特定程式建立「以系統管理員身分執行」相容性修正,加入 UAC 白名單。

操作步驟

  1. 下載安裝 Microsoft Application Compatibility Toolkit (官方免費)
  2. 以系統管理員身分執行:「相容性管理員 (32/64-bit)」
    → 依目標程式位元數選擇 32-bit 或 64-bit 版本
  3. 右鍵「自訂資料庫」→ 「建立新增」→ 「應用程式修正...」
  4. 「要修正的程式名稱」與「廠商名稱」輸入識別名稱 → 「瀏覽...」選擇目標 .exe
  5. 下一步 → 勾選 RunAsAdmin 與 RunAsInvoker 兩項相容模式 → 連續兩次下一步 → 完成
  6. 工具列「儲存」→ 資料庫名稱任意輸入 → 確定 → 再次儲存 .sdb 檔
  7. 選單「檔案」→ 「安裝」將修正資料庫部署至系統
  8. 彈出「安裝成功」→ 點擊「執行」測試一次 → 關閉程式 → 後續開機不再彈 UAC

適用版本

  • Windows 2000 SP4
  • Windows XP SP3
  • Windows Server 2003 SP1
  • Windows Vista
  • Windows 7

原理說明

ACT 建立的 .sdb 相容性資料庫會註冊至系統 AppPatch 機制。啟動目標程式時,系統偵測到相容性項目,自動套用 RunAsAdmin (要求提升權限) 與 RunAsInvoker (以呼叫者權限執行) 邏輯,滿足程式對管理員權限的需求,UAC 不再攔截提示。

注意事項

  • 僅對可執行檔 (.exe) 有效,捷徑、批次檔需針對實際執行體設定
  • 程式更新後若路徑/檔名變更,需重新建立修正
  • 請僅對完全信任的程式套用,避免惡意軟體繞過 UAC
Copyright © Windows教程網 All Rights Reserved