修復 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 訪問被拒絕錯誤,但如果您對本指南仍有任何疑問,請隨時在評論部分詢問他們。

留下評論

基隆市瓦斯罐怎麼丟?從排空、標示到交資源回收車一次看懂

基隆市瓦斯罐怎麼丟?從排空、標示到交資源回收車一次看懂

基隆市瓦斯罐不能丟一般垃圾。本文依基隆市環保局與環境部資料,整理卡式瓦斯罐的排空、獨立打包、警示標示、資源回收車交付方式,以及家用瓦斯鋼瓶的不同處理管道。

駕照遺失怎麼補發?2026年台灣補照流程、文件、費用與注意事項

駕照遺失怎麼補發?2026年台灣補照流程、文件、費用與注意事項

駕照遺失怎麼補發?整理台灣駕照補發地點、身分證明、1吋照片規格、200元規費、交通違規、代辦與報案等常見問題,依公路局最新公開資料說明。

花蓮市電視怎麼丟?廢電視回收、買新換舊與清運方式一次看

花蓮市電視怎麼丟?廢電視回收、買新換舊與清運方式一次看

花蓮市舊電視怎麼處理?整理廢電視回收、買新機免費逆向回收、未換新時的處理方式、搬運前注意事項,以及2027年廢四機新制重點。

新竹市筆電怎麼丟?回收與清運方式一次看:資料清除、資源回收車與合法回收管道

新竹市筆電怎麼丟?回收與清運方式一次看:資料清除、資源回收車與合法回收管道

新竹市舊筆電不能丟一般垃圾。本文整理筆電回收、資源回收車、村里資收站與合法回收業等管道,並說明交付前的資料備份、資料抹除、電池異常處理與清運查詢方式。

宜蘭市乾電池怎麼丟?回收與清運方式一次看

宜蘭市乾電池怎麼丟?回收與清運方式一次看

宜蘭市乾電池不要丟一般垃圾。整理資源回收車、村里回收站與販售業者回收方式,並說明鋰電池、膨脹電池的安全處理與查詢路線。

行照遺失怎麼補發?線上申辦、臨櫃流程與費用一次看

行照遺失怎麼補發?線上申辦、臨櫃流程與費用一次看

行照遺失不用重考駕照!整理臺灣汽車、機車行車執照補發流程、應備文件、費用、線上申辦與臨櫃辦理差異,並提醒保險、欠費與定檢注意事項。

彰化市筆電怎麼丟?回收與清運方式一次看

彰化市筆電怎麼丟?回收與清運方式一次看

彰化市舊筆電不能當一般垃圾丟。整理清潔隊資源回收、資料清除、含鋰電池安全處理與大型清運差異,並附官方查詢與聯絡方式。

竹北市冰箱怎麼丟?回收與清運方式一次看

竹北市冰箱怎麼丟?回收與清運方式一次看

竹北市冰箱怎麼丟?整理清潔隊預約、線上申請、業者回收、放置位置與清運前準備,帶你安全完成大型家電回收。

臺中市棉被怎麼丟?一般垃圾、清潔隊清運與再使用方式一次看

臺中市棉被怎麼丟?一般垃圾、清潔隊清運與再使用方式一次看

臺中市舊棉被不是舊衣回收品。整理一般垃圾車、體積過大聯絡清潔隊、可用棉被再使用三種方式,並比較適用情況、限制與查詢管道。

高雄市筆電怎麼丟?回收與清運方式一次看

高雄市筆電怎麼丟?回收與清運方式一次看

高雄市筆電不要直接丟垃圾車。本文整理資源回收車、清潔隊、合法回收據點與電池異常處理方式,並說明送出前的資料清除步驟。