Fix Setup Installer Package Access Denied Failure Error Code 0×80070005 (Or 5 Or 0×5)修復安裝安裝程序包的訪問被拒絕失敗的錯誤代碼0 × 80070005 (或五或0 × 5 )
When running an executable of setup installer or setup update package of various programs, installation process may fail with Access Denied error dialog message, or system responses or records in Event Log Viewer with error code 5 or 0×5 or 0×80070005, which all indicates Access Denied problem.當運行一個可執行安裝程序安裝或安裝更新程序包的各種程序,在安裝過程中可能會失敗,拒絕訪問錯誤對話的訊息,或系統的反應,或記錄在事件日誌中查看錯誤代碼為5或0 × 5或0 × 80070005 ,所有顯示拒絕訪問的問題。 Then the setup terminates itself, and installation process is rollback.然後安裝終止本身,以及安裝過程中是回滾。
The Access Denied problem when running setup installation process for programs such as該拒絕訪問的問題時,運行安裝程序安裝過程中程序,如 Windows XP SP3 Windows XP的SP3的 , Microsoft .NET Framework, AVG AntiVirus, QuickTime, , Microsoft 。 NET Framework中,平均防病毒來說, QuickTime , Windows Genuine Advantage Validation Tool (WGA) Windows Genuine Advantage驗證工具( WGA的) , Pinnacle, Visual Studio, Windows Installer and many other application, including even updates and hotfixes from Windows Update, Microsoft Update and Automatic Update. ,品尼高時, Visual Studio , Windows Installer和許多其他的應用,甚至包括更新和修復程序從Windows Update , Microsoft Update和自動更新。 The reported issue and problem happens any Windows flavor, including on Windows XP and Windows Vista, but mostly affect MSI-based setup installer package.據報導問題和問題發生任何Windows的味道,包括Windows XP和Windows Vista ,但大多影響的MSI為基礎的安裝安裝程序包。
The Access Denied or 0×80070005 error code on .MSI setup executable is caused by invalid or missing ACLs (Access Control Lists) for the Administrators group or the built-in System account in registry hives or file permission.該訪問被拒絕或0 × 80070005的錯誤代碼對的。 msi安裝可執行文件所造成的無效或遺失的ACL (訪問控制列表)為Administrators組或內置的系統帳戶在註冊表配置單元或文件權限。 .MSI setup package depends on Windows Installer service for installation.的。 msi的安裝套件,取決於Windows Installer服務進行安裝。 When the permissions are missing or invalid, the System account, which the Windows Installer service run as, does not have sufficient permissions to access the file system or parts of the registry, causing the installation to fail with Access Denied error.當權限缺失或無效,系統帳戶,其中Windows Installer服務運行,沒有足夠的權限訪問該文件系統或零件的註冊表,造成安裝失敗與拒絕存取錯誤。
The resolution and solution to fix the Access Denied or error code 5 problem on installation file is to use a tool in the Windows Resource Kit named SubInACL to reset and repair file permissions and registry ACLs.該決議和解決方案,修復拒絕訪問或錯誤代碼5的問題,對安裝文件是使用一種工具,在Windows資源工具包命名為subinacl重置和修復文件權限和註冊表的ACL 。 Follow these steps to download and run the SubInACL tool:請依照下列步驟來下載和運行subinacl工具:
- Log on with an administrator account.登錄與管理員帳戶。
- Download the下載 SubInACL tool subinacl工具 (direct download link to (直接下載鏈接 subinacl.msi ) and run the setup to install SubInACL . )並運行安裝程序以安裝subinacl 。 Note the installation path, by default, SubInACL is installed C:\Program Files\Windows Resource Kits\Tools folder.注意:安裝路徑,默認情況下, subinacl安裝為C : \程式檔案\的Windows資源工具包\ Tools文件夾中。
- For Windows XP, go to the Start menu, choose Run , type Cmd and click OK .對於Windows XP ,到開始菜單上,選擇運行 ,鍵入cmd並單擊確定 。
For Windows Vista, click Start button, then enter Cmd in Start Search.適用於Windows Vista ,請單擊開始按鈕,然後輸入cmd ,在開始搜索。 Right click on Cmd appears in Programs list, and select Run as Administrator to上按一下滑鼠右鍵cmd出現在節目名單,並選擇以管理員身份運行 ,以 open elevated command prompt開放提升的命令提示符 . 。 Confirm the UAC elevation request or enter administrator’s password if requested.確認的UAC高程的要求,或輸入管理員的密碼,如果要求。
- Download the ready-made下載現成的取得 reset.cmd (inside reset.zip) reset.cmd (內reset.zip ) or follow instruction below to create one yourself.或按照指示,下面創建一個自己。
Type notepad reset.cmd and answer Yes to open NotePad to create a new file named reset.cmd.鍵入notepad reset.cmd和回答是打開記事本,以創建一個新文件,名為reset.cmd 。 Cop and paste the following line of codes into the text editor.締約方會議並粘貼以下行的代碼到文本編輯器。
@echo off@迴聲小康
title Reset ACLs and Permissions in Windows標題重置的ACL和權限在WindowsREM Determine if it's 32-bit (x86) or 64-bit (x64) machine物權確定,如果它的32位( x86 )或64位( x64 )機
if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86如果“ % processor_architecture %"==" x86 ”如果“ % processor_architew6432 %"==""後藤x86REM 64-bit computer物權的64位元電腦
set ProgramFilesPath=%ProgramFiles(x86)%設置programfilespath =到% ProgramFiles ( x86 )的%
goto startResetting後藤startresettingREM 32-bit computer物權的32位計算機
:x86 : x86
set ProgramFilesPath=%ProgramFiles%設置programfilespath =到% ProgramFiles %REM Start processing物權開始處理
:startResetting : startresetting
echo.迴聲。
cd /d "%ProgramFilesPath%\Windows Resource Kits\Tools"裁談會/ D “類% programfilespath % \的Windows資源工具包\工具”
echo.迴聲。
echo Resetting registry and files ACLs...迴聲重置註冊表和文件的ACL ...
echo The process may take several minutes to complete.回波過程可能要花好幾分鐘才能完成。
echo ==========================================迴聲==========================================
echo.迴聲。
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f subinacl / subkeyreg hkey_local_machine /金=管理員= F的/補助金=系統= F的
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f subinacl / subkeyreg hkey_current_user /金=管理員= F的/補助金=系統= F的
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f subinacl / subkeyreg hkey_classes_root /金=管理員= F的/補助金=系統= F的
REM Reset permissions in System drive物權重置權限在系統驅動器
subinacl /subdirectories %SystemDrive% /grant=administrators=f /grant=system=f subinacl /子目錄在% SystemDrive % /金=管理員= F的/補助金=系統= F的
REM Reset permissions in Windows directory物權重置權限在Windows目錄
subinacl /subdirectories %windir%\*.* /grant=administrators=f /grant=system=f subinacl /子目錄的% windir % \ *.* /金=管理員= F的/補助金=系統= F的
echo.迴聲。
echo =========迴聲=========
echo Finished.迴聲完成。
echo =========迴聲=========
echo.迴聲。
pause暫停Save the new text file and close NotePad.儲存新的文本文件,並關閉記事本。 Code above assume that the installation path for SubInACL utility is at default C:\Program Files\Windows Resource Kits\Tools folder (it automatically detect correct Program Files (x86) folder if you’re using Windows Vista x64).上面的代碼假設安裝路徑為Subinacl公用程式是在默認為C : \程式檔案\的Windows資源工具包\ Tools文件夾中(它會自動偵測正確的綱領文件( x86 )的文件夾如果您使用Windows Vista x64 )的。 If you have changed installation path, change the cd /d “%ProgramFilesPath%\Windows Resource Kits\Tools” to a valid full path to SubInACL executable.如果您有改變安裝路徑,改變的CD / D “類% programfilespath % \的Windows資源工具包\工具” ,以有效的完整路徑,以subinacl可執行文件。
- Run the reset.cmd batch command script run the SubInACL tool to fix the ACL permissions in the registry and file system.運行reset.cmd一批命令腳本運行subinacl工具來修復ACL權限,在註冊表和文件系統。
- Wait for the processing to finish, which may lasts for more than a few minutes depending the ’size’ of your Windows.等待處理完成,這可能會持續一個多幾分鐘的時間,視乎'大小'您的Windows 。 When Finished.當完成。 Press any key to continue is prompted, press any key to exit.按任何鍵繼續提示,按任何鍵退出。
- Try to run the setup installer again to install the product that previously failed to install correctly on your system, or run Windows Update to install updates, patches or hotfixes again.嘗試運行安裝安裝程序再次安裝該產品以前沒有正確地安裝在您的系統,或運行Windows Update來安裝更新,補丁或修補程序。
SubInACL can also help resolve Internet Explorer script errors caused by incorrect access control permissions for specific user accounts on the system. subinacl還可以幫助解決的Internet Explorer腳本錯誤所造成的不正確存取控制的權限,具體的用戶帳戶制度。
If you’re encoutering error message such as “Error when checking arguments - HKEY_LOCAL_MACHINE” on most registry hives in Windows Vista, try to remove /grant=administrators=f switch away from the SubInACL commands in the batch command script above.如果您encoutering錯誤訊息,如“時發生錯誤,檢查的論點-h key_local_machine”對大多數註冊表配置單元在W indowsV ista中,嘗試刪除/金=管理員= f開關脫離s ubinacl命令在批處理命令腳本以上。 Most permissions in Windows Vista is assigned to SYSTEM built-in account, so without rights assigned to Administrators user group, the fix will work too.最權限在Windows Vista是分配給系統內置的帳戶,所以沒有權利指派給管理員用戶組,該修補程序將工作太。
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要說明:您正在閱讀的機器翻譯網頁是“按原樣”提供的擔保。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不像人類翻譯,機器翻譯不明白的語法,語義,語法,成語自然語言,因此,往往產生不準確的和低品質的文字,是具誤導性的和難以理解的。 Thus, please refer to因此,請參閱 original English article原來的英語文章 when in doubt.有疑問時。
Related Articles相關文章
- 0X80070002 License Check Failure and Unable to Logon Error After Installing Windows XP SP3 0x80070002授權檢查失敗,無法登錄錯誤後,安裝Windows XP SP3的
- Error 1721: There Is A Problem With This Windows Installer Package When Install or Uninstall on Vista錯誤1721 :有一個問題與此Windows Installer程序包時,安裝或卸載Vista上
- Error Code 0×80070002 During Windows Vista SP1 Setup Install錯誤代碼0 × 80070002在Windows Vista的SP1安裝程序安裝
- NSIS Error and Cannot or Unable to Open and Install Setup Installer nsis錯誤和不能或無法打開並安裝安裝安裝
- Workaround to Run VMWare Server on Windows Vista其他可行方案運行VMware服務器在Windows Vista
- Windows Vista Fails or Unable to Hibernate Problem after Installing SP1 Windows Vista的失敗或無法休眠的問題後,安裝SP1
- System Halt 0xc0000034 Error When Boot Up After Installing Windows Vista SP1系統停止0xc0000034時發生錯誤,開機後,安裝Windows Vista SP1的
- Fix Error Cannot Install WGA or OGA Plugin (WGAPluginInstall.exe and OGAPluginInstall.exe) in Firefox修正錯誤,不能安裝WGA或男鹿插件( wgaplugininstall.exe和ogaplugininstall.exe )在Firefox
- Windows Vista SP1 Failed to Install with WU Error Code 800704C8 or 80041315 Windows Vista的SP1中無法安裝與吳錯誤代碼800704c8或80041315
- How to Watch or View Restricted, Flagged and Not Available Videos in YouTube如何觀賞或查看限制,標幟,而不是現有的影片的YouTube

































May 15th, 2008 16:04 2008年5月15日16時04分
I had the same problem, and I fixed it deleting the service and creating again with the command prompt我有同樣的問題,我固定它刪去服務和創造再次命令提示符
June 12th, 2008 07:13 2008年6月12日7時13分
This solution puts the cart before the horse.這個解決方案將是本末倒置的做法。
How am I supposed to install this thing (to fix the problem on not being able to install anything) to fix my problem of not being able to install anything?我怎樣安裝這件事(來修復這個問題就無法安裝任何軟件)要修正我的問題,不能夠安裝什麼呢?
I cant install this to fix my installation problem because I cannot install anything! i cannot安裝這個修正我的安裝問題,因為我不能安裝任何東西!
Trying to install this I get the same error I’m trying to fix by installing this and I am unable to install.嘗試安裝,這是我得到同樣的錯誤我嘗試修復安裝此,我無法安裝。 Only a solution that does not use windows installer will work for all I can see because I was able to install some 3rd party programs with their own installation software.只是一個解決方案,不使用Windows Installer會的工作,為所有我可以看到,因為我是能夠安裝一些第三黨的程序與他們自己的安裝軟件。
August 13th, 2008 23:21 2008年8月13日23時21分
thanks謝謝
the solution you give to error on Windows update您的解決方案給錯誤在Windows Update
works工程
csantos