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

Sign up and earn $1000 a day ⋙

Leave a Comment

普通電視和智慧電視的差別

普通電視和智慧電視的差別

智慧電視確實風靡全球。憑藉如此多的強大功能和互聯網連接,科技改變了我們觀看電視的方式。

為什麼冷凍室沒有燈,冷藏室有燈?

為什麼冷凍室沒有燈,冷藏室有燈?

冰箱是家庭中常見的家用電器。冰箱通常有 2 個隔間,冷藏室寬敞,並且每次使用者打開時都會自動亮燈,而冷凍室狹窄且沒有燈。

解決 Wi-Fi 速度變慢的網路擁塞問題的 2 種方法

解決 Wi-Fi 速度變慢的網路擁塞問題的 2 種方法

除了路由器、頻寬和乾擾之外,Wi-Fi 網路還受到許多因素的影響,但也有一些智慧的方法可以增強您的網路效能。

如何使用 Tenorshare Reiboot 將 iOS 17 降級到 iOS 16 且不遺失數據

如何使用 Tenorshare Reiboot 將 iOS 17 降級到 iOS 16 且不遺失數據

如果您想在手機上恢復穩定的 iOS 16,這裡是卸載 iOS 17 並從 iOS 17 降級到 16 的基本指南。

每天吃優​​格會對身體產生什麼影響?

每天吃優​​格會對身體產生什麼影響?

酸奶是一種美妙的食物。每天吃優​​格好嗎?每天吃酸奶,你的身體會發生怎樣的變化?讓我們一起來了解一下吧!

哪種米最有益於健康?

哪種米最有益於健康?

本文討論了最有營養的米種類以及如何最大限度地發揮所選米的健康益處。

如何早上準時起床

如何早上準時起床

制定睡眠時間表和就寢習慣、更改鬧鐘以及調整飲食都是可以幫助您睡得更好、早上準時起床的一些措施。

玩 Rent Please! 的提示新手模擬房東

玩 Rent Please! 的提示新手模擬房東

請租用! Landlord Sim 是一款適用於 iOS 和 Android 的模擬手機遊戲。您將扮演一個公寓大樓的房東,開始出租公寓,目標是升級公寓的內部並為租戶做好準備。

最新浴室塔防代碼及代碼輸入方法

最新浴室塔防代碼及代碼輸入方法

取得浴室塔防 Roblox 遊戲代碼並兌換令人興奮的獎勵。它們將幫助您升級或解鎖具有更高傷害的塔。

變壓器的結構、符號和工作原理

變壓器的結構、符號和工作原理

讓我們以最準確的方式了解變壓器的結構、符號和運作原理。

人工智慧讓智慧電視更上一層樓的四種方式

人工智慧讓智慧電視更上一層樓的四種方式

從更好的影像和聲音品質到語音控制等等,這些人工智慧功能讓智慧電視變得更好!

為什麼 ChatGPT 比 DeepSeek 更好

為什麼 ChatGPT 比 DeepSeek 更好

最初,人們對DeepSeek寄予厚望。作為 ChatGPT 強勁競爭對手的 AI 聊天機器人,它承諾提供智慧聊天功能和體驗。

認識 Fireflies.ai:免費的 AI 秘書,幫你節省大量工作時間

認識 Fireflies.ai:免費的 AI 秘書,幫你節省大量工作時間

在記下其他重要事項時很容易錯過重要細節,而在聊天時記筆記可能會分散注意力。 Fireflies.ai 就是解決方案。

如何飼養 Minecraft 中的美西蠑螈,馴服 Minecraft 中的蠑螈

如何飼養 Minecraft 中的美西蠑螈,馴服 Minecraft 中的蠑螈

如果玩家知道如何使用 Axolot Minecraft,它將成為玩家在水下操作時的絕佳助手。

《噤界:前路》PC遊戲配置

《噤界:前路》PC遊戲配置

《寂靜之地:前路》的配置評價相當高,因此您需要在決定下載之前考慮其配置。