在 Windows 7 中嘗試從「程式集」解除安裝軟體時,彈出「沒有權限」、「存取被拒絕」或安裝程式啟動後無反應。主因:**UAC 機制下,標準使用者權限不足以執行寫入 Program Files、註冊表 HKLM 等需提權的卸載操作**。解法:直接以系統管理員身分執行卸載程式。
C:\Program Files\<軟體名> 或 C:\Program Files (x86)\<軟體名>)uninstall.exe、unins000.exe (Inno Setup)、Uninstall.exe (NSIS)、setup.exe (部分舊軟體)、中文名「卸載.exe」/「解除安裝.exe」若軟體使用 Windows Installer (MSI) 封裝,可透過產品代碼 (GUID) 靜默卸載:
wmic product where "name like '%%軟體名稱%%'" get IdentifyingNumber, NameGet-WmiObject Win32_Product | Where-Object {$_.Name -like "*軟體名稱*"} | Select-Object IdentifyingNumber, Namemsiexec /x {GUID產品代碼} /qn /norestart若上述均失效 (殘留註冊表、檔案、服務、驅動),使用專業卸載工具掃描殘留並強制清理:
| 工具 | 特色 | 授權 |
|---|---|---|
| Revo Uninstaller | 監控安裝變更、掃描殘留註冊表/檔案/資料夾、強制刪除、獵人模式拖曳圖示卸載 | 免費版/專業版 |
| Geek Uninstaller | 單一執行檔、免安裝、極速掃描、強制刪除、支援 WIM/Store Apps | 免費/專業版 |
| IObit Uninstaller | 批次卸載、軟體更新檢測、捆綁軟體檢測、瀏覽器外掛清理 | 免費版/專業版 (含廣告) |
| BCUninstaller (Bulk Crap Uninstaller) | 開源、大量卸載、偵測孤兒項目、Steam/Win32/Store/Chocolatey/Scoop 統一管理 | 免費開源 (GPL) |