Windows Update を実行すると、0x80070005 (ACCESS DENIED) 「=アクセスが拒否されました」というエラーで失敗する場合があります。このエラーの原因と対処に関して紹介します。 Show
スポンサード リンク 1.アプリがすでに起動している Officeのアプリが起動している状態で Windows Updateを実行すると、0x80070005 で失敗する場合があります。すでに起動しているアプリで終了可能なものは全て終了させてから再度Windows Updateを実行してみてください。 0x80070005 で Windows Update による Office 2010 SP2 適用が失敗する 2.管理者としてログオンしてから Windows Update を再度実行する アクセス権利が不足しているため、管理者で実行すると成功する可能性があります。管理者としてログオンしてから再度確認してください。 http://support.microsoft.com/kb/968003/ja 3.マルウェアスキャンを行う マルウェアに感染している可能性があります。マルウェアスキャンを実行してみてください。 http://support.microsoft.com/kb/968003/ja 4.ログファイルで確認する 以上でも解決しない場合には、どこのレジストリのアクセス権が不足していて更新に失敗するのか、地道に調査する必要があります。 以下のログファイルにエラーの詳細が記録されています。どのレジストリでエラーが発生しているか確認し、レジストリエディタで修正します。 C:\Windows\WindowsUpdate.log スポンサード リンク
[Windows 技術ドキュメント トップ] 更新履歴 [ 全て表示戻す ] 2014.11.13: リンク切れの修正 Windows Updateやストアアプリの更新中に発生する、エラー0x80070005 (または エラー80070005) の大まかな原因と、その対処方法を紹介したページです。 エラー80070005発生時のスクリーンショット
▲クリックで拡大 エラーコードと共に、「不明なエラーが発生しました」「アクセスが拒否されました」「ACCESS DENIED」などのエラーメッセージが表示されます。 エラー0x80070005のよくある原因
エラー0x80070005が発生する場合、その多くがサードパーティ製セキュリティソフトが原因となっています。また、セキュリティソフトや常駐ソフトに限らず、何らかのプログラムがWindows Updateを邪魔しているケースがほとんどです。 対処方法
常駐ソフト/サービスの停止方法(別ページ)手順解説ページ
Windows Updateを邪魔しているプログラムが特定可能な場合は「スタートアップ」から該当プログラムを停止、特定できない場合は「クリーンブート」を行い、必要最小限のサービスのみを実行した状態でWindows Updateを行ってみます。 スポンサー リンク まだエラーが解消しない場合Windowsをクリーンブートした状態で以下ページの手順を実行してみます。 それでもエラーが解消しない場合Windowsに新規ユーザーを作成し、新規ユーザーでログオンしてWindows Updateを行ってみます。 Windows Updateが成功した後は、以下の手順でユーザープロファイルの引っ越しを行い、(正しくデータ移行できた事が確認できたあとで) 古いユーザーは破棄しましょう。 チェックポイント 新規ユーザーでWindows Updateが成功した場合、既存のユーザープロファイルが破損している、もしくはレジストリキーの一部でアクセス許可が変更されていると思われます。エラーログを調べて原因を特定&修正するよりも、ユーザープロファイル引っ越しの方が何倍も早く、お手軽に復旧できます。 エラー0x80070005: その他の原因以下のような症状の場合、Windows Update のコンポーネントやデータベースが壊れている事を疑います。 主な症状
Windows Update
のデータベースが壊れている場合のエラー0x80070005 ▲クリックで拡大 Windows Update画面は表示されず、通常の警告ダイアログでエラー0x80070005が表示されています。 この場合の対処方法この場合、「SoftwareDistributionフォルダの削除と再作成」など、ちょっと特殊な手順が必要になります。 サイト内手順解説ページ
上リンク「1.」を実行した後、リンク「2.」の中の「手順1.」の項目を2~3回、エラーが出なくなるまで繰り返す事でWindows Updateは正常な状態に戻るはずです。 その他: エラー0x80070005は大型アップデートで発生しやすい通常のWindows Updateの時は問題が出ない場合でも、以下のような大型アップデートや、OSアップグレード時は「エラー0x80070005」は発生しやすくなります。 手元のPCでエラー0x80070005が発生したケース
いずれのケースでも、「常駐ソフトやセキュリティソフトの停止」で無事 アップデートが成功しました。 通常のWindows Updateでは常駐ソフトやセキュリティソフトを停止しなければならないケースはかなり減ってきているのですが、大きなアップデートを行う場合、(セキュリティソフトも含め) 余計な常駐プログラムは可能な限り停止しておいた方が失敗は少なくなります。 このページの情報は以上です。 おまけ:参考 (2014年追記分)
マイクロソフトのサポートページには、かつてエラー 0x80070005は「適切なアクセス許可がない場合に、このエラーが表示されることがあります。」と書かれたページがありました。このリンクは過去何度かURLが変更になっており、現在はこれに該当するページは無い模様です。 Has the Windows 0x80070005 error stopped your work on its track? Do not worry. The 0x80070005 error is related to access permissions in Windows, sometimes encountered by users when they are trying to update their Windows or installing a new program, and they don't possess full access permission for certain files. In this article, we've provided different ways to get around this problem. So, without further ado, here's how you can fix the 0x80070005 error code in Windows 10. 1. Give Yourself Full PermissionsAs mentioned above, since the error code 0x80070005 is an inability to access Windows programs, the first method to try and solve it is to give yourself full administrative permissions from the Settings.
That's it. Now reboot your system for the changes to take effect. You will not see the Windows update error 0x80070005 again. 2. Scan for Malware and VirusesThe error 80070005 can also be caused by malware or a virus, which can delete or alter your important system files, such as the Windows Registry. To be sure that your PC is not affected by malware, run the Windows Security, the free antivirus tool created by Windows to fight malware and virus. Although, on rare occasions, the Windows Security might stop working, for most use cases it's a reliable app that can stand its own against any third-part antivirus. After the scan, restart your PC and try to install the Windows updates; you shouldn't face any bugs now. However, if you still encounter the same error code 0x80070005, then don't lose heart. Jump to the next method and try out a clean boot. 3. Perform a Clean BootA clean boot is a way to identify applications that are causing problems in your Windows. It works by allowing your PC to start up with minimal programs and drivers, which then helps you figure the programs—if any—are causing a difficulty. It differs from Windows safe mode, in that it provides you more control in choosing which programs to close down. Here's how you can get started with clean boot:
When the PC restarts next time, run the application you were having trouble with. If the problem persists, you now know that it's not due to the programs that you disabled. 4. Run the Windows TroubleshooterWindows troubleshooters are a series of integrated tools provided by Microsoft to solve small Windows problems, such as an update error, Bluetooth or audio issues, and so on. It may be possible that a glitch in the Windows Update has led you to the Windows error code 0x80070005. Follow the steps below and fix the Windows error 80070005:
If, however, the tool couldn't fix the 'Access is Denied' error, then jump to the next method. 5. SFC (System File Checker)The Windows System File Checker (SFC) is an application that helps users scan and fix their corrupt files, which might very well be the impediment to the Windows update installation in this case. Follow the mentioned commands to operate this utility tool:
If the process is executed successfully, you should not see the Windows Access Denied error code message again. 6. Reset Permissions with SubInACLSubInACL is a free command-line application that can help you change permissions for files, folders, registries, and other objects. In some situations, this method might very well do the trick. Follow the steps listed below to get rid of the error code 0x80070005 for good. First off, download and install the SubInACL. Then, open a new Notepad file and type the following text in it: Set OSBIT=32\nIF exist "%ProgramFiles(x86)%" set OSBIT=64\nset RUNNINGDIR=%ProgramFiles%\nIF %OSBIT% == 64 set RUNNINGDIR=%ProgramFiles(x86)%\nsubinacl /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f Save the files in All Files as reset.cmd. After that, run the file as an administrator by right-clicking and selecting Run as Administrator. Then update the program, and delete the .cmd file. 7. Update Windows 10 ManuallyIf you encountered the error code 0x80070005 during a Windows update, then a manual update just might be the solution for you. To update your Windows manually, you'll be using the Windows Update Catalog. Although Windows updates are downloaded and installed automatically, sometimes glitches arise. And this where the Windows Update Catalog comes in. It is a free website by Microsoft that offers updates for all Windows Operating Systems. You can download cumulative updates manually from there even if your Windows's auto-updates are not working, just as with the error code 0x80070005. Follow the steps below to get started:
Then, visit the Windows Updates Catalogue and paste the Windows update version code in the search bar. Then, click on the Download button, which will prompt a popup on your screen. From the pop-up, click on the .msu file link to download it. After the download is complete, click on the .msu file to install the Windows update manually. Afterward, restart your system. Your Windows will work fine now. In this way, you can override the 0x80070005 error code by performing a manual update. No More Windows Error Code 0x80070005So this was our bag of tricks to get rid of error 080070005. However, if none of the above methods have worked so far, you can use the pulverizer of all major Windows problems: a Factory Reset. If you've walked through the all above methods, we believe you would've surely gotten the solution to your Windows 0x80070005 access is denied error code. |