修復 Windows Installer 訪問被拒絕錯誤

Fix Windows Installer Access Denied Error: If you are facing the error message “Access Denied” while trying to install a new program on Windows 10 or if you’re facing Msiexec.exe Access is Denied Error then you are at the right place as today we are going to fix this issue. The main cause of the error seems to corrupted or damaged Windows Installer files.

修復 Windows Installer 訪問被拒絕錯誤

When you try to install or uninstall programs from Windows 10, you may get any one of the following warning messages:

The Windows Installer Service could not be accessed
Windows Installer Service couldn’t be started
Could not start the Windows Installer service on Local Computer. Error 5: Access is denied.

修復 Windows Installer 訪問被拒絕錯誤

為了解決此問題的根本原因,我們需要重新註冊 Windows Installer 文件,有時只需重新啟動 Windows Installer 服務似乎就可以解決問題。因此,不要浪費任何時間,讓我們看看如何在下面列出的指南的幫助下實際修復 Windows Installer 訪問被拒絕錯誤。

內容

修復 Windows Installer 訪問被拒絕錯誤

確保 創建一個還原點,以防萬一出現問題。

方法 1:重新啟動 Windows Installer 服務

1.按 Windows 鍵 + R,然後鍵入services.msc並按 Enter。

修復 Windows Installer 訪問被拒絕錯誤

2. 找到Windows Installer 服務,然後右鍵單擊它並選擇屬性。

修復 Windows Installer 訪問被拒絕錯誤

3.Click on Start if the service is not already running.

修復 Windows Installer 訪問被拒絕錯誤

4.If the service is already running then right-click and select Restart.

5.Again try to install the program which was giving access denied error.

Method 2: Re-register Windows Installer

1.Press Windows Key + X then select Command Prompt (Admin).

修復 Windows Installer 訪問被拒絕錯誤

2.Type the following command into cmd and hit Enter:

msiexec /unreg

msiexec /regserver

修復 Windows Installer 訪問被拒絕錯誤

3.Reboot your PC to save changes.

4.If the issue is not resolved then press Windows key + R then type the following and hit Enter:

%windir%\system32

修復 Windows Installer 訪問被拒絕錯誤

5.Locate the Msiexec.exe file then note down the exact address of the file which would be something like this:

C:\WINDOWS\system32\Msiexec.exe

修復 Windows Installer 訪問被拒絕錯誤

6.按Windows鍵+ R然後鍵入regedit並按Enter鍵打開註冊表編輯器。

修復 Windows Installer 訪問被拒絕錯誤

7.導航到以下註冊表​​項:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer

8. 選擇MSIServer,然後在右窗格中雙擊ImagePath。

修復 Windows Installer 訪問被拒絕錯誤

9.現在在值數據字段中輸入您在上面提到的 Msiexec.exe 文件的位置,後跟“/V”,整個內容將如下所示:

C:\WINDOWS\system32\Msiexec.exe /V

修復 Windows Installer 訪問被拒絕錯誤

10.使用此處列出的任何方法將您的 PC 引導至安全模式。

11.按 Windows 鍵 + X 然後選擇命令提示符(管理員)。

修復 Windows Installer 訪問被拒絕錯誤

12.鍵入以下命令並按回車鍵:

msiexec /regserver

%windir%\Syswow64\Msiexec /regserver

修復 Windows Installer 訪問被拒絕錯誤

13.關閉一切並正常啟動您的PC。查看您是否能夠 修復 Windows Installer Access Denied Error,如果不能,則繼續下一個方法。

方法 3:重置 Windows Installer 服務

1.打開記事本,然後按原樣複製並粘貼以下內容:

Windows 註冊表編輯器 5.00 版 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver] "DisplayName"="@%SystemRoot%\\system32\\msimsg.dll,-27" "ImagePath"=hex(2):25,00, 73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\ 74,00,25,00,5c,00,73 ,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\00,73,00,69,00,65, 00,78,00,65,00,63,00,20,00,2f,00,56,00,00,00 "說明"="@%SystemRoot%\\system32\\msimsg.dll,-32" "ObjectName"="LocalSystem" "ErrorControl"=dword:00000001 "Start"=dword:00000003 "Type"=dword:00000010 "DependOnService"=hex(7):72,00,70,00,63,00,73 ,00,73,00,00,00,00,00 "ServiceSidType"=dword:00000001 "RequiredPrivileges"=hex(7):53,00,65,00,54,00,63,00,62,00, 50,00,72,00,69,00,76,\00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,\74,00,65,00 ,50,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,50,00,72,00,69,\00,76,00, 69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,00,6f,00,63,00,\6b,00,4d ,00,65,00,6d,00,6f,00,72,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,\00,65, 00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,\73,00 ,65,00,42,00,61,00,73,00,65,00,50,00,72,00,69,00,6f,00,72,00,69,00,74,\00, 79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,\65 ,00,43,00,72,00,65,00,61,00,74,00,65,00,50,00,65,00,72,00,6d,00,61,00,6e,\ 00,65,00,6e,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00, \ 00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69 ,\ 00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72, 00,\ 69,00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\00,53,00,65,00,43,00,68 ,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,\66,00,79,00,50,00,72, 00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,\00,65,00,50,00,72,00 ,6f,00,66,00,69,00,6c,00,65,00,53,00,69,00,6e,00,67,00,\6c,00,65,00,50,00, 72,00,6f,00,63,00,65,00,73,00,73,00,50,00,72,00,69,00,76,\00,69,00,6c,00,65 ,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,\72,00,73,00,6f, 00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,\00,65,00,67,00 ,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,\47,00,6c,00, 6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,\00,67,00,65 ,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,50,00,\72,00,69, 00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,72,\00,69,00 ,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,\ 73,00,74,00,6f,00,72,00,65,00,50,00 ,72,00,69,00,76,00,69,00,6c,00,65,00,67,\00,65,00,00,00,53,00,65,00,49,00, 6e,00,63,00,72,00,65,00,61,00,73,00,65,00,\51,00,75,00,6f,00,74,00,61,00,50 ,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,\00,65,00,00,00,53,00,65,00,53, 00,68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,\ 50,00,72,00,69,00,76,00,69,00 ,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,\00,61,00,6b,00,65,00,4f,00, 77,00,6e,00,65,00,72,00,73,00,68,00,69,00,70,00,\50,00,72,00,69,00,76,00,69 ,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,\00,6f,00,61,00,64,00,44, 00,72,00,69,00,76,00,65,00,72,00,50,00,72,00,69,00,\ 76,00,69,00,6c,00,65,00 ,67,00,65,00,00,00,00,00 "FailureActions"=hex:84,03,00,00,00,00,00,00,00,00,00,00,03,00, 00,00,14,00,00,\00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00 ,00,00,00,00,00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msiserver\Enum] "0"="Root\\LEGACY_MSISERVER\\0000" "Count"=dword:00000001 "NextInstance"=dword:00000001

2.現在從記事本菜單中單擊文件,然後單擊另存為。

修復 Windows Installer 訪問被拒絕錯誤

3.從另存為類型下拉列表中選擇所有文件。

4.將文件命名為MSIrepair.reg(reg擴展名非常重要)。

修復 Windows Installer 訪問被拒絕錯誤

5.導航到桌面或您要保存文件的位置,然後單擊保存。

6.現在右鍵單擊 MSI repair.reg 文件並選擇以管理員身份運行。

7.重新啟動您的 PC 以保存更改並查看您是否能夠 修復 Windows Installer Access Denied Error。

方法 4:重新安裝 Windows 安裝程序

注意:僅適用於較早版本的 Windows

1.按Windows鍵+ X然後選擇命令提示符(管理員)。

修復 Windows Installer 訪問被拒絕錯誤

2.在cmd中輸入以下命令並在每個命令後按Enter:

cd %windir%\system32 attrib -r -s -h dllcache ren msi.dll msi.old ren msiexec.exe msiexec.old ren msihnd.dll msihnd.old exit

3. 重新啟動您的 PC,然後從Microsoft 網站下載 Windows Installer 4.5 Redistributable 。

4. 安裝 Redistributable 軟件包,然後重新啟動您的 PC。

受到推崇的:

就是這樣,您已成功修復 Windows Installer 訪問被拒絕錯誤,但如果您對本指南仍有任何疑問,請隨時在評論部分詢問他們。

留下評論

10個簡單易行的宿舍萬聖節裝飾創意,不會損壞牆壁

10個簡單易行的宿舍萬聖節裝飾創意,不會損壞牆壁

打造充滿節日氣氛的宿舍房間,提供 10 個適合牆面裝飾的萬聖節裝飾創意、租房者友好的展示技巧、消防安全檢查和移除指南。

用這些點子舉辦一場充滿懷舊氣息的80年代恐怖電影之夜

用這些點子舉辦一場充滿懷舊氣息的80年代恐怖電影之夜

策劃一場 80 年代恐怖片主題派對,設定恐怖等級,佈置復古裝飾,準備那個時代的服裝、簡單的零食和有趣的電影之夜遊戲。

反派時代潮流:2026 萬聖節最佳黑暗繫服裝

反派時代潮流:2026 萬聖節最佳黑暗繫服裝

打造2026年萬聖節的黑暗精緻造型,六個反派主題服裝創意、實用造型技巧、預算指導和安全檢查。

2026 年的“過敏友好型萬聖節討糖活動:青色南瓜計劃”

2026 年的“過敏友好型萬聖節討糖活動:青色南瓜計劃”

了解「青色南瓜計畫」在 2026 年的意義,主辦單位如何提供單獨的非食品類零食,以及家庭如何規劃路線並安全地查看糖果。

臺中市床墊怎麼丟?預約清運、搬運方式與常見錯誤一次看

臺中市床墊屬大型應回收物,不能直接當一般垃圾丟。本文整理預約管道、清運資格、免費服務條件、搬到哪裡及等待清潔隊通知時的注意事項。

南投市瓦斯罐怎麼丟?卡式瓦斯罐回收與瓦斯鋼瓶清運方式一次看

南投市卡式瓦斯罐用完後,應單獨包裝、標示並交給資源回收車,不能混入一般垃圾。本文整理南投縣「完、包、警、收」步驟、安全排空方式、收運查詢與家用瓦斯鋼瓶的不同處理管道。

宜蘭市筆電怎麼丟?回收與清運方式一次看:資料清除、電池安全與合法回收管道

宜蘭市筆電怎麼丟?回收與清運方式一次看:資料清除、電池安全與合法回收管道

宜蘭市舊筆電屬可回收的廢資訊物品,不應丟一般垃圾。整理 2026 年現行宜蘭縣與環境部規定,說明資源回收車、清潔隊、合格回收商、資料清除與鋰電池安全處理。

彰化市噴霧罐怎麼丟?先確認用完,再交資源回收車

彰化市噴霧罐怎麼丟?先確認用完,再交資源回收車

彰化市噴霧罐回收怎麼做?整理高壓容器「完、包、警、收」四步驟、垃圾車與定點收集差異、路線查詢方式及清潔隊聯絡資訊。

高雄市噴霧罐怎麼丟?先排空、分開包裝,再交資源回收車

高雄市噴霧罐怎麼丟?先排空、分開包裝,再交資源回收車

高雄市噴霧罐不可直接丟一般垃圾車。先確認用完;仍有內容物時在空曠通風處排空,勿戳洞,再單獨包裝、標示並交資源回收車,並查詢住家路線。

竹北市電視怎麼丟?3種回收方式、免費清運條件與交付前檢查一次看

竹北市電視怎麼丟?3種回收方式、免費清運條件與交付前檢查一次看

竹北市舊電視不能當一般垃圾丟。整理購買新機由業者免費回收、聯絡竹北市清潔隊預約、合法回收業者三種管道,並說明搬運前準備、成功判斷與何時該換方法。