0xc0000005アプリケーションエラー(アクセス違反)は、ファイルを開いたり、ゲームをプレイしたり、プログラムを起動したりするときに発生する可能性があります。これは、Windowsが1つ以上のアプリケーションの起動に必要なファイルと設定にアクセスできないシステムの問題によって引き起こされます。
たとえば、ユーザーは報告 League ofLegendsを起動しようとするとこのエラーが発生します。それ以外の場合は、原因のPCオーディオの問題。基本的なシステムツールにさえアクセスできない場合、問題を解決することは不可能に思えるかもしれませんが、それでも解決できます。
Windows10で例外コード0xc0000005を修正する方法
0xc0000005エラーのトラブルシューティングを行うには、次の解決策を確認してください。 作成することをお勧めします開始する前にシステムの復元ポイントを使用して、変更を簡単に元に戻し、必要に応じて最初から開始できるようにします。
1。コンピュータを再起動します
可能な限り簡単な解決策、つまりコンピューターを再起動することから始めましょう。 0xc0000005アプリケーションエラーの原因がプロセスのハングまたはサービスの障害である場合は、PCを再起動することでうまくいくはずです。そして、それについて徹底的に知りたい場合は、メモリキャッシュをクリアするためにハードPCの再起動を実行できます。方法は次のとおりです。
- 電源メニューからコンピューターをシャットダウンします
- PCを電源から取り外します。ノートパソコンをお持ちの場合は、必ずバッテリーを取り外してください
- 電源ボタンを15〜20秒間押し続けて、キャッシュをクリアします
- コンピュータを電源に接続し直して、電源を入れます
2。すべてのアプリケーションプロセスを閉じます
最後にプログラムを起動したときにアプリケーションのプロセスが適切に閉じられなかった場合は、その状況がアクセス違反エラー0xc0000005につながっている可能性があります。これを修正するには、特定のプログラムを再起動する前に、必ずすべてのプロセスを終了してください。必要な作業は次のとおりです。
- Ctrl + Shift + Esc を押してタスクマネージャー
- アプリを見つけて、プロセスツリー全体を選択します
- [タスクの終了
- 今すぐプログラムを起動してみてください
を開きます
]をクリックします
3。管理者として実行
0xc0000005アクセス違反エラーは、特定のプログラムまたはシステムツールを起動しようとしたときにユーザー権限が不足していることが原因である可能性があります。これを簡単にテストするには、アプリケーションのランチャーを右クリックして、管理者として実行を選択します。オプションがコンテキストメニューに表示されない場合は、 Shift を押しながら実行可能ファイルをクリックします。
ただし、.exe以外の拡張子が付いたファイルを開こうとしている場合は、管理者権限でアプリケーションを実行する必要があります。たとえば、IrfanViewを使用してPNG画像を開こうとしていると仮定します。この場合、管理者権限でIrfanViewを実行してから、フォトビューアを使用してPNG画像を開く必要があります。
それ以外の場合、IrfvanViewがWindows 10 PCのデフォルトのフォトビューアーとして設定されている場合は、ランチャーファイルを右クリックし、[互換性]タブに切り替えて、[このプログラムを管理者として実行する]を選択します、[適用]をクリックして、終了します。これで、ファイルブラウザでPNGファイルをダブルクリックするだけで開くことができるはずです。 Windowsは昇格された権限でIrfanViewを自動的に実行します。
4。プログラム互換性トラブルシューターの実行
Windows 10には、プログラムの互換性の問題を修正するための専用の内部トラブルシューティングツールがあります。オペレーティングシステムを完全にサポートしていないアプリケーションを使用してファイルを開こうとしている場合は、これを使用して0xc0000005エラーを修復できます。方法は次のとおりです。
- 開始ボタンをクリックし、トラブルシューティング設定を検索して、 Enter
- 追加のトラブルシューティング
- プログラム互換性トラブルシューターを選択し、トラブルシューティングツールを実行する
- 問題が発生しているプログラムを選択してください。そこにない場合は、[リストにない]を選択し、[次へ
- [参照]をクリックして、プログラムのランチャーファイルを見つけて追加します
- 次の手順に進み、推奨設定を試す
- [プログラムのテスト]をクリックし、結果を確認してから、[次へ
- それでも0xc0000005エラーが発生する場合は、いいえ、別の設定を使用して再試行してください
- ウィザードの残りの手順に従います
を押します。
をクリックします
]をクリックします
を選択します
]をクリックします
を選択してください
5。アプリのキャッシュをクリアする
プログラムの正常な起動を妨げる可能性のある一時データを削除するには、アプリケーションのキャッシュを空にする必要があります。手順はプログラムごとに異なるため、キャッシュクリアの手順をオンラインで調べることをお勧めします。ここにいくつかの提案があります。
Microsoft Storeアプリのキャッシュをクリアする方法:
- 開始ボタンをクリックし、アプリを検索して選択し、アプリの設定
- 下にスクロールして、リセット <をクリックします。 span class="post-image aligncenter">
- [リセット]をもう一度クリックして確認します
Google Chromeのキャッシュをクリアする方法:
- Win キー+ E を押してファイルエクスプローラー
- アドレスバーの内側をクリックし、
%appdata%
と入力して、 Enter - フォルダを1つ上に移動します(ローミングから AppData へ)
- ローカル> グーグル> クローム
- ユーザーデータフォルダを削除します
を開きます
を押します。
に移動します
Steamキャッシュをクリアする方法(Steamでゲームをプレイできない場合):
- ファイルエクスプローラー
- デフォルトのディレクトリにSteamをインストールした場合は、
C:\ Program Files(x86)\ Steam \
に移動します - appcache フォルダーを削除します
を開きます
6。アプリケーションを再インストールします
起動しようとしているアプリケーションに問題がある可能性がありますが、PCからアプリケーションを削除してから再インストールすることで、この問題を解決できます。正しく行う方法は次のとおりです。
- タスクバーを右クリックして、タスクマネージャー
- アプリケーションを見つけて、そのプロセスツリー全体を選択し、[タスクの終了
- 開始ボタンを右クリックして、アプリと機能
- リストからアプリケーションを選択し、[アンインストール]をクリックして、もう一度確認します
- 削除操作を続行します
- コンピューターを再起動します
- 公式ウェブサイトからアプリケーションをダウンロードします
- インストールして起動してみてください
を選択します
に移動します
7。.NETFrameworkを修復して再インストールする
一部のソフトウェアプログラムは、正しく動作するために.NETFrameworkに依存しています。フレームワークパッケージのファイルが破損、変更、または欠落している場合は、アプリケーションエラー0xc0000005が発生し続ける理由である可能性があります。ただし、Microsoftの専用ツールを使用して.NET Frameworkを修復することで、この問題を簡単に修正できます。
Microsoft.NET Framework修復ツールの使用方法:
- 公式ウェブサイト
- アプリケーションを起動し、ライセンス条項に同意します
- [次へ]をクリックしてコンピュータスキャンを開始します
- Windowsインストーラサービスの再登録や再起動など、修復ツールで見つかった修正を必ず適用してください
修復ツールを使用した後、アプリケーションを起動してみてください。それでもエラーコードを取り除くことができない場合は、.NETFrameworkを再インストールすることをお勧めします。
Microsoft.NET Frameworkを再インストールする方法:
- Win キー+ R を押し、 appwiz.cpl と入力して、 Enter キーを押します >
- .NETFrameworkを見つけてアンインストールします。複数のバージョンがインストールされている場合は、必ずすべてを削除してください
- Webブラウザーを使用して、.NETFrameworkの公式ダウンロードページにアクセスします
- サポートされているバージョングループで、推奨エントリをクリックします
- ランタイムバージョンをダウンロードします(開発者以外の場合)
- .NETFrameworkをインストールする
- 今すぐプログラムを開くことができるかどうかを確認してください
8。システムアップデートを確認する
Windows 10コンピューターに、Microsoftの最新機能、改善点、修正プログラム、およびセキュリティパッチがインストールされていることを確認してください。 0xc0000005エラーの原因となることがわかっているシステム全体の問題がある場合は、WindowsUpdateですぐに対処できる可能性があります。
- Windows キーを押し、更新を確認と入力して、 Enter
- オンライン検索が自動的に開始されない場合は、[更新を確認する
- Windowsまで数秒待って、保留中の更新がある場合はダウンロードをクリックします
- コンピューターを再起動します
9。 WindowsUpdateをリセットする
Windows Updateが正しく機能せず、さまざまなエラーが発生する場合は、コマンドライン環境を使用して、キャッシュとこのツールに関連するすべてのコンポーネントをリセットすることをお勧めします。
- 管理者アカウントを使用してWindows10にサインインします
- 開始ボタンをクリックし、コマンドプロンプトを検索して、このアプリを開きます
- 次のコード行を入力します(各行の後に Enter を押します)。
- コンピューターを再起動して、WindowsUpdateの実行を再試行してください
10。ハードウェアとデバイスのトラブルシューティングを実行する
0xc0000005アプリケーションエラーは、ハードウェアとデバイスの誤動作によって引き起こされる可能性があります。これは通常、PCに適切にセットアップされていないデバイスをすばやく再インストールするなど、単純な問題です。
通常の状況では、ツールはトラブルシューティング設定にあります。ただし、ハードウェアとデバイスのトラブルシューティングツールがコンピューターにありません。次の手順を実行する必要があります。
- Win キー+ R を押し、
msdt.exe-id DeviceDiagnostic
と入力して、 Enter キーを押します。 - [次へ]をクリックして、オペレーティングシステムに修正を適用できるようにします
- ウィザードが終了したら、PCを再起動します
- 今すぐプログラムを起動してみてください
11。ハードドライブの破損を修正する
ハードディスクに破損したファイルがある場合、Windowsはファイルを開いたりプログラムを起動したりできなくなり、違反エラー0xc0000005が発生する可能性があります。ただし、この問題は、MicrosoftのオペレーティングシステムにバンドルされているCHKDSK(Check Disk)と呼ばれるコマンドラインツールを使用して修正できます。
CHKDSKの使用方法:
- Windows キー+ R を押し、 cmd と入力して、 Ctrl + Shift + 入力してコマンドプロンプトを昇格権限で開きます
- WindowsがデフォルトのC:ドライブにインストールされている場合は、
chkdsk c:/f/r
を実行します。それ以外の場合は、c:
を正しいパーティション文字 - 次回のシステム起動時にCHKDSKのスケジュールを確認するように求められたら、 y を実行します
- コンピュータを再起動し、CHKDSKがその仕事をするのを待ちます
12。破損したシステムファイルを修復する
オペレーティングシステムにファイルが破損しているか欠落している可能性があり、PC上でアプリケーションを正しく実行できません。 SFC(システムファイルチェッカー)を使用して、破損したアイテムを復元できます。 。 CHKDSKと同様に、このツールはコンソール環境から操作できます。
SFCの使用方法:
- 管理者としてコマンドプロンプトを実行します
-
sfc/scannow
と入力し、 Enterキーを押します - Windowsは問題を見つけて修復します。完了したら、PCを再起動します
SFCで0xc0000005エラーが解決されない場合は、DISM(Deployment Image Servicing and Management)を使用してWindowsイメージのコンポーネントストアを確認できます。
DISMの使用方法:
- 昇格された権限でコマンドプロンプトを起動します
-
DISM/online/cleanup-image/scanhealth
を実行し、 - 問題が見つかった場合は、
DISM/online/cleanup-image/restorehealth
- タスクが完了したら、PCを再起動します
- 管理者としてコマンドプロンプトをもう一度開きます
- SFCを実行します(
sfc/scannow
) - 最後にもう一度PCを再起動します
を実行します。
13。システムメモリを確認してください
システムRAMに問題が発生した場合、ファイルを開いたりアプリを起動したりするなどの重要な操作を含め、コンピューターのすべての操作に影響を与える可能性があります。 RAMの問題を修正するには、Windowsメモリ診断を使用できます。使用方法は次のとおりです。
コンピュータが再起動し、システムメモリの問題のチェックを開始します。デフォルトで標準テストを実行しますが、詳細であるため、拡張バージョンを選択することをお勧めします。 F1 を押してオプションに移動し、拡張を選択して、 F10 を押します。
メモリの問題を特定するのに忙しい間は、PCを無人のままにしておくことができます。完了すると、Windows 10が正常に起動し、通知センターにスキャン結果が表示されます。別の解決策は
14。ドライバーを確認してください
デバイスドライバが古くなっているか、オペレーティングシステムと互換性がない可能性があります。やがて、ファイルを開いたり、ゲームをプレイしたり、さまざまなアプリケーションを起動したりしようとすると、エラー0xc0000005が発生する可能性があります。デバイスとビデオドライバが廃止され、更新が必要かどうかを確認して、トラブルシューティングプロセスを開始します。
ドライバーを更新する方法:
- 開始ボタンを右クリックして、デバイスマネージャー
- このグループを拡張するには、ディスクドライブの横にある小さな矢印をクリックします
- ディスクを選択して右クリックし、ドライバーの更新
- [ドライバーを自動的に検索する]をクリックします。 If you get the The best drivers for your device are already installed message, click Search for update drivers on Windows Update. But if you have already checked for system updates, there’s no need to do this again
- Do the same for your video driver in the Display adapters category
に移動します
Windows is rarely successful at finding and downloading drivers on its own. In fact, it’s more reliable to do this manually: find the name of your driver in the Properties section, visit the official website, download a newer version, then return to Device Manager to perform the update by selecting the Browse my computer for drivers option.
However, if you’re having a hard time trying to figure out which drivers are obsolete and where to download them from, it’s easier to use a driver update application. It scans your computer, finds obsolete drivers, locates newer versions on the web, and installs them to your computer. And it’s all performed automatically. Plus, you won’t risk getting incompatible drivers that might end up causing more harm to your PC.
How to roll back unsupported drivers:
- Press Win key + R, type devmgmt.msc, and hit Enter
- Choose the device with the unsupported driver, right-click it, and go to Properties
- Select the Driver section
- Click Roll Back Driver and follow the steps. If the button’s greyed out and you can’t click it, it’s not possible to make the rollback because there’s no previous driver version saved to your PC. You can skip this step
15. Run a malware scan
If your operating system has viruses, it’s no wonder that you keep getting error codes like 0xc0000005 when trying to use your computer. It’s time to use Windows Defender or any other third-party anti-malware solution installed, in order to find and eliminate any threats from your hard drive.
How to use Windows Defender:
- Press the Win key, search for Windows Security, and launch this app
- Go to Virus & threat protection
- Choose Quick scan and click Scan now
- If no threats are revealed after the quick scan, select Windows Defender Offline scan and click Scan now
- Patiently wait while Defender runs the scan. You shouldn’t use your computer during this time since it will be slowed down. If Defender identifies any viruses, allow it to quarantine or remove the suspicious files. Meanwhile, any files you consider safe should be moved to the whitelist in order to exclude them from further scans
16. Temporarily turn off your antivirus
Depending on the third-party antivirus program you have installed, certain security settings might conflict with your computer configuration. In other words, your security program might block your access to your favorite applications due to safety issues.
To quickly put this theory to the test, temporarily disable your antivirus and then try to open the file or launch the application. If you can do so without any more errors, it means that you have to change your antivirus settings and add an exception for your files and applications. Whatever you do, don’t leave the antivirus powered off since you will leave your PC vulnerable to Internet dangers.
17. Temporarily disable your firewall
Your firewall controls which applications are allowed to access the Internet and which outside servers can reach your machine. Normally, an application makes an exception for itself in the system firewall as soon as you set it up. However, if that doesn’t happen on your computer because you or someone else changed firewall settings, you can end up with application errors like 0xc0000005.
Easily test this by deactivating your firewall:
- Log in to Windows 10 with administrator rights
- Press the Windows key, type Check firewall status, and hit Enter
- Click Turn Windows Defender Firewall on or off on the left part of the window
- Set Turn off Windows Defender Firewall at both Private network settings and Public network settings. Click OK
Try to launch the application or open the file that was giving you trouble before.
If you’re successful, restore firewall settings to default:
- Search for firewall on your computer and open Firewall & network protection
- Scroll down and click Restore firewalls to default
- Click Restore defaults and Yes to confirm
If the 0xc0000005 error returns, add an exception for your app in the firewall:
- Go back to Firewall & network protection
- Click Allow an app through firewall
- Click the Change settings button (you need admin rights)
- Search for your app in the list. If it’s not there, click Allow another app, the browse your computer and add your application’s launcher file
- Select your app from the list, check its box, then enable the Private and Public options next to it
18. Change Data Execution Prevention settings
Data Execution Prevention (DEP) is a security tool built into Windows 10, whose role is to protect memory pages by stopping applications from deploying malicious code. If the program you’re trying to launch has a behavior seen as malicious, DEP won’t let you access it. It could be the reason why you keep getting the 0xc0000005 violation error.
But you can make an exception for your app in Data Execution Prevention:
- Press Win key + R, type sysdm.cpl, and press Enter to access System Properties
- Go to the Advanced tab
- At Performance, click the Settings button
- Switch to the Data Execution Prevention tab
- Select Turn on DEP for all programs and services except those I select
- Click Add, open your application’s executable file, and click OK to confirm. You can do this for multiple programs. However, keep in mind that DEP can’t be turned off for certain programs
- Click Apply and exit to the desktop
- Try to open your program now
If you later wish to restore Data Execution Prevention settings to default, retrace the steps above to reach the Data Execution Prevention tab. Then, choose Turn on DEP for essential Windows programs and services only, and click Apply.
19. Disable the LoadAppInit_DLLs registry entry
Another way to fix the 0xc0000005 violation code error is by disabling the LoadAppInit_DLLs registry entry. Don’t worry about damaging computer settings since you will be creating a registry backup before changing anything, just in case you need to restore the original configuration later.
- Click the Start button, search for regedit, and open Registry Editor
- Open the File menu and click Export
- Set a file name and destination, then click Save to create the registry backup file (.reg format)
- Go to this location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
- Find the LoadAppInit_DLLs entry and check that its Data is set to 0x00000000 (0). If it’s not, double-click the entry, set Value data to 0 and Base to Hexadecimal, then click OK
- Exit Registry Editor
If you need to restore the previous registry settings for any reason, just double-click the.reg file you previously exported.
20. Repair the BCD file
If your system’s BCD (Boot Configuration Data) is malfunctioning, Windows might have trouble trying to process the files and settings required for launching programs. But you can repair the BCD file using a Windows installation media:
- Connect an empty USB flash drive into your PC
- Download Media Creation Tool from the official website
- Start the application and follow the steps to set up a Windows installation media disk
- Click the Start button and open the power menu
- While holding down the Shift key, click Restart to boot Windows to the troubleshoot menu
- Select Troubleshoot > Advanced Options > Command Prompt
- Choose your PC account and enter your password to continue
- Write the next commands (hit Enter after each line of code):
-
bootrec/repairbcd
-
bootrec/osscan
-
bootrec/repairmbr
-
- Exit Command Prompt and start Windows normally
21. Disable startup programs
Your operating system might have trouble accessing files due to conflicting applications that automatically run at every Windows boot. To fix this problem, you should disable all autostart apps:
- Press Ctrl + Shift + Esc to launch Task Manager
- Go to the Startup section
- Select a program with the Enabled status and click Disable. Do this for all apps with the Enabled status
- Restart your computer
22. Run a clean system boot
You can run a clean Windows 10 boot in order to disable non-essential system services and startup items that might be affecting your applications and causing the 0xc0000005 error. Here’s what you need to do:
- Click the Start button, search for System Configuration, and press Enter
- Stay in the General tab
- Choose Selective startup
- Disable Load system services and Load startup items
- Click Apply and exit
- Right-click the taskbar and open Task Manager
- Go to the Startup area
- Disable all apps with the Enabled status
- Reboot your PC
23. Start Windows 10 in Safe Mode
You can start Windows 10 in Safe Mode to create a secured environment for diagnosing computer issues that lead to application error 0xc0000005. Here’s what you need to do:
- Shut down your computer and turn it on. Interrupt the boot sequence three times in a row to reach the Advanced Startup menu
- Select Troubleshoot > Advanced options > Startup Settings
- Click Restart and wait
- Press F5 to boot Windows in Safe Mode with Networking or, if you don’t need Internet access to open the files or launch the applications that are giving you trouble, press F4
24. Roll back Windows 10
You can revert Windows 10 to a checkpoint that was recorded before you started experiencing the 0xc0000005 access violation error, thanks to System Restore. Before proceeding, keep in mind that all applications installed beyond the restore point will no longer exist, so you will have to reinstall them.
How to use System Restore:
- Log in to Windows 10 using an admin account
- Press the Win key, search for Control Panel, and open this app
- Select Recovery
- Click Open System Restore
- Select a restore point from the list or click Show more restore points to inspect more options. To find out which apps you will have to reinstall, click Scan for affected programs
- Proceed with the remaining steps. Windows will reboot to complete the restore
25. Use a Linux live distro
Unfortunately, System Restore often fails to work. When you exhaust all your options, it’s time to prepare your PC for a full reset. During preparation, you should back up all personal files and any applications you don’t want to reinstall after the reset. If you’re having a difficult time performing file operations like copying due to various errors, you can create a Linux live distro.
How to create a Linux live distro with Rufus:
- Download a Linux distro like Ubuntu
- Plug a pen drive into your PC. Copy any files you might need later since the drive will be formatted
- Download Rufus from the official website
- Set up and launch Rufus
- Select the pen drive and set Boot section to Disk or ISO image
- Click SELECT and add the Ubuntu ISO image
- Set Partition scheme to MBR
- At File system, select FAT32
- Click OK and wait
How to boot Ubuntu from the USB flash drive:
- Make sure the pen drive remains plugged into your computer
- Restart Windows but, before system boot, quickly press the key displayed on the screen to access the boot startup menu (F12 on some computers)
- Choose the USB storage drive with Ubuntu and press Enter
- After Ubuntu loads, access your files and create a backup
26. Reset your PC
Once you make sure that all your essential files are safely copied somewhere, you can perform a factory reset on Windows 10 by removing not only applications and files, but also by formatting the drive to erase any problem that caused application error 0xc0000005 in the first place.
How to reset Windows 10:
- Click the Start button, type Reset this PC, and press the Enter key
- Click the Get started button
- Select Remove everything and proceed with the next instructions
Application error 0xc0000005 can be fixed
To review, the 0xc0000005 violation error can occur when trying to open files, launch applications, or play games. It indicates an underlying problem with your hard disk or operating system that must be immediately resolved.
You can try a simple solution like restarting your computer, closing all processes, or running the app with administrator rights. However, if the problem is more complicated than that, you can run Program Compatibility Troubleshooter, clear the application cache, reinstall the program, repair and reinstall.NET Framework, check for system updates, or reset the Windows Update components.
It’s also a good idea to run the Hardware and Devices troubleshooter, fix corrupt hard disk and operating system issues, check the system RAM, update or roll back drivers, run a computer malware scan, temporarily disable the antivirus and firewall, change Data Execution Prevention settings, deactivate the LoadAppInit_DLLs registry entry, or repair the BCD file.
Furthermore, you can disable applications that automatically run at every system startup, run a clean system boot, or roll back Windows 10 to a previous checkpoint using System Restore. However, if everything fails, you can use a Linux live distro to access and back up your files in order to prepare for a Windows 10 factory reset that will surely resolve the violation error.
How did you manage to get rid of this error? Tell us about your experience in the comments below.