Fix Setup Installer Package Access Denied Failure Error Code 0×80070005 (Or 5 Or 0×5)修復安裝安裝程序包拒絕訪問失敗錯誤代碼0 × 80070005 (或5或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框架,平均防病毒軟件, 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 ,但主要是影響微星為基礎的安裝安裝程序包。
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的錯誤碼。微星可執行安裝所造成的無效或遺失的ACL (訪問控制列表)的Administrators組或內置的系統帳戶中登錄Hive或文件的權限。 .MSI setup package depends on Windows Installer service for installation. 。微星安裝程序包依賴於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安裝ç : \ Program Files文件\的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 ,單擊開始按鈕,然後輸入指令在開始搜索。 Right click on Cmd appears in Programs list, and select Run as Administrator to右擊命令出現在程序列表,並選擇以管理員身份運行 ,以 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 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"裁談會/天“ % 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實用工具在默認ç : \ Program Files文件\的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.嘗試運行setup安裝程序,才能安裝的產品,以前沒有正確地安裝在您的系統,或者運行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安裝程序包時,安裝或卸載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如何觀察或查看限制,標記和不符合視頻
May 15th, 2008 16:04 2008年五月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二〇 〇八年6月12日07: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!本人不能安裝此修復我的安裝問題,因為我不能安裝任何東西!
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 08年8月13日23:21
thanks謝謝
the solution you give to error on Windows update該解決方案給錯誤的Windows更新
works工程
csantos
October 22nd, 2008 05:21 08年一十月22日5時21
Thanks..謝謝.. it does really work for me…它真的對我的工作...