Application error 0xc0000022 in Windows 7. Error appears when starting programs

Some of the operating room users Windows systems, regardless of the version, they may encounter error 0xc0000022, which will manifest itself during the launch of some program or video game. Most often, this problem occurs when users try to run really old games on their systems, created long before the release of the operating system they are using.

The main reason for error 0xc0000022 is the lack of elements required for the application in the system that are needed to run it. For example, the error described is a frequent visitor to Windows 10 when they try to run games from the early 2000s on it. Among other things, the error can also occur due to outdated or incorrectly functioning drivers for the video card, or the absence of necessary updates, exposure to various viruses and damaged files the application itself.

Of course, error 0xc0000022 also has its own message:

Application initialization error (0xc0000022)

Most often, users encounter this message:

Error when starting the application (0xc0000022)

In general, know that if you encounter this error, then you should not worry, since the problem is truly classic and for a long time there have been a number of methods that can easily resolve it. In this article we will look at these methods. They are all extremely simple to implement - let's get started.

Guide to solving error 0xc0000022

  • Run as Administrator. First of all, try running the program or game you need as Administrator. To do this, click right click mouse on the application's executable file located in the root folder and select "Run as Administrator".
  • Checking for viruses in the system. Viruses can create all sorts of problems for the operation of the operating system, for example, blocking access to certain system files that are necessary to run the application you need, which as a result causes the error discussed in this article to appear. You can scan the system using any antivirus that you have at your disposal. For example, even the system Windows Defender can cope with this task perfectly. To run a system scan in Windows Defender, you will need to do the following: Windows+S→Windows Defender Security Center→Virus & threat protection→Advanced scan→Full scan→Run a scan now. Having found a threat in the system, eliminate it and check for error 0xc0000022.
  • Installing deferred updates. Sometimes, this problem may occur due to the fact that the user’s system does not have a number of updates from Microsoft required to run the application. Make sure you don't have any pending updates in Center Windows updates. To do this, do the following: LMB on Start→Settings→Update and Security→Windows Update→Check for updates. Install available updates, and then try running the application that was experiencing error 0xc0000022 again.
  • Updating the video card driver. You may be encountering this problem because your system has outdated graphics accelerator drivers installed. Try installing the latest drivers, and then try running the application again. We remind you that necessary drivers You can find it in the download sections of websites such as Nvidia.com, AMD.com, and Intel.com.
  • Using DirectPlay. If you were trying to launch some really old toy, but error 0xc0000022 stood in your way, then you need to use a component in the system called DirectPlay. To do this, you will need to do the following: Right-click on Start→Applications and Features→Programs and Features→Turn Windows components on or off→Legacy components→DirectPlay→Check the box. As soon as you activate DirectPlay, a window will appear in front of you with the installation of the selected components. Once the installation is complete, try running the right application to check for error 0xc0000022.
  • System Restore. Unfortunately, if nothing works for you, we recommend that you resort to system recovery. To be more precise, you can roll back your system to its previous state using a pre-created restore point. To use a restore point, you will need to do the following: Windows+S→Recovery→Run System Restore. Select a point in time when error 0xc0000022 did not yet exist on your system, and then start the recovery process.

Error when starting an application 0xc0000022 is quite common and is not a rare occurrence. There is no need to worry and worry in vain - how to fix error 0xc0000022 when starting the game is described in detail below.

Options for fixing error 0xc0000022

Keep in mind that error 0xc0000022 may be caused by more than one problem. We cannot know which of these problems you have specifically, so we provide a list of actions that should help everyone.

  • Error 0xc0000022 when starting the application may be due to corruption of the files responsible for interacting with the video library. Thus, we recommend installing or updating the drivers for your graphics card first. How to do this is described in general terms in our article. Read more in our guides "" and "".
  • Install the latest version of DirectX for your OS. Missing or damaged d3d*** files may also be the reason why you see the “Error 0xc0000022” message in front of you. How to do it correctly, read
  • It's worth noting that startup error 0xc0000022 is similar to . In both of these cases, running a game or application as an administrator often helps. Give it a try.
  • If there are uninstalled Windows updates that are awaiting your confirmation, install them.
  • Restore the settings Windows security to the default value. Details on how to do this are written on the official Microsoft website
  • Check your computer for viruses - it may very well be that system files were deleted by malware. In addition, we recommend adding a game or application to exceptions antivirus program.
  • If all else fails, then perhaps the problem with error 0xc0000022 is hidden in the game files themselves - reinstall the game.
  • Finally, the last option is system recovery. If you haven't encountered this problem before, try rolling back the changes. It is quite possible that some careless action or installation of unknown software could result in error 0xc0000022.

We are confident that if you approach problems thoroughly and follow each step exactly, you will definitely figure out what to do with error 0xc0000022, and it will no longer bother you.

When launching any game or program, application error 0xc0000022 appears? What could be the reason and how to fix it in Windows 7, 8.1 and 10.

Why does error 0xc0000022 occur when launching games and applications - how to fix it?

Often Windows users encounter error 0xc0000022. The problem occurs when launching games and applications, especially older versions. Immediately after startup, the following message appears on the screen:

"An error occurred while starting the application (0xc0000022). Click OK to exit the application."

Interestingly, the problem appears even when a completely updated system is installed with new drivers, as well as with all the latest libraries such as DirectX and Visual C++ Redistributable installed.

Installing additional DirectPlay system components

The most common cause of error code 0xc0000022 is that programs use the DirectPlay component. Most often, the problem appears when trying to launch old games. By default, this component is not installed on the system, which causes problem code 0xc0000022.

DirectPlay can be easily installed using the system settings of Windows 7, 8.1 and 10. How to do this?

Extract the Start menu in Windows 7 or open search bar in 8.1 and 10 and find the section with the following title:

"Turn Windows features on or off"

Click on the found entry in the search results. A window appears with a list of system features that are installed (checked) or available to be enabled in Windows.

Find the Legacy Components folder in the list and expand it. As you can see, these components only include one DirectPlay option. Check the box next to DirectPlay and click OK.

The Load Components window appears. Wait a while for DirectPlay to install and then restart your computer. After rebooting the system, all games that use DirectPlay should launch without displaying error 0xc0000022.

Antivirus blocking startup file

For some users, an error with code 0xc0000022 is displayed when the antivirus blocks the *.exe file responsible for launching specific application or games.
Check that *.exe is not blocked by the antivirus program when the application is turned on. Most antiviruses have the function of adding selected programs to the exclusion list. For example, in Avast, go to Settings – Properties and add the *.exe file to the Exceptions section, through the “View” option in the “File Path” field.

Thus, exclude the file in your antivirus and try to launch the game. The error 0xc0000022 window should now disappear.

Error when launching CreateDXGIFactory2 games in the D3D11.dll file and how to fix it

Users also often encounter a problem when, upon startup, an error appears related to the D3D11.dll file and informs them that “the entry point to the CreateDXGIFactory2 procedure was not found.” The game can be started after several clicks on the OK button.

The error appears after installing the SweetFX mod, which improves graphics in many games. This modification applies filters to the picture, improving colors, contrast, brightness, and image sharpness. Mods are very popular for games such as Fallout 4 New Vegas and multiplayer games like PlanetSide 2, RIFT or CS:GO.

The examples can be multiplied, since SweetFX is compatible with almost any game, and on the Internet you will find many “presets” with which you can decorate game process. But, if Windows 10 and an NVIDIA video card are installed, then there is a high probability of encountering an error.

There are two ways to solve the problem. First: removing the SweetFX mod from the game folder - it will be enough to delete the d3d9.dll, dxgi.dll files and the SweetFX subdirectory from the game folder.

But, if you want to use mods, then you can go another way.
The CreateDXGIFactory2 error is displayed in Windows 10 because the drivers for the GeForce video card in a version higher than 355.60 do not support this modification. The solution is to install outdated version NVIDIA and disabling a feature in Windows 10 that automatically updates drivers without our knowledge.

Step 1: Disable automatic driver updates

First you need to disable automatic update in Windows 10. This step is necessary because after the rollback NVIDIA drivers to the previous ones, the function will update some files on its own and the error will appear again.

To do this, open an Explorer window, then in the sidebar, right-click on “This PC” and select “Properties”.

In the window that opens, in the left panel, go to “ Extra options systems." The System Properties window appears. Go to the Hardware tab and click on the “Device Installation Options” button.

Here you can choose whether Windows should load drivers and realistic icons for devices. Select "No" and click "Save Changes".

Step 2: Remove all NVIDIA drivers

The next step is complete removal current NVIDIA drivers and installing version 355.60 instead. To completely remove them, use the DDU – Display Driver Uninstaller program.

Download the program and run it, restart your computer in safe mode and remove the drivers with the “Uninstall the current and previous drivers and restart the computer” button.

Step 3: Install NVIDIA version 355.60

After uninstallation, boot your computer in normal mode. Download from the official website NVIDIA version 355.60.

Run the installer and select custom installation.

In addition, check the “Perform a clean installation” checkbox. Click Next and wait for the process to complete.

Now the SweetFX mod will work without displaying any errors.

How often do we encounter certain errors when launching games, programs, as well as during their use? Without thinking for a second, many of us will answer that we face similar problems literally every day. And there is nothing special about this, it’s just that operating systems, as well as programs and games themselves, are far from perfect in optimization. Today we will tell you what to do with the application startup error 0xc0000022. You will receive effective instructions on how to eliminate it!

How to get rid of error 0xc0000022 when launching games and programs

In fact, there are a lot of options for eliminating this error. Perhaps these are compatibility problems or the absence of any system file is affecting the application when launching. There is no point in listing all possible solutions, because in most cases we limit ourselves to only a few methods, and the problem no longer bothers us.

The first step is to eliminate problems that may be associated with the video library. In our case, these are video drivers. And the only option is to eradicate the source of the error, reinstall them or update them. You must follow these steps to download drivers for NVidia video card(or ATI Radeon):

Well, it's time to try launching the program or game again. If it doesn’t work this time, then you need to try another method.

Installing the latest version of DirectX as a way to get rid of error 0xc0000022

Quite often, the presence of an outdated version of the program or corruption of its files becomes the root of this problem, so let's get to fixing it as soon as possible. The following manipulations await you:

  1. You should go to this page: "https://www.microsoft.com/ru-ru/Download/confirmation.aspx?id=35". The DirectX program is part of Microsoft software, which is why we recommend downloading it exclusively from official source;
  2. The download will begin within thirty seconds in automatic mode;
  3. Once the file has downloaded, you will need to run it;
  4. To correctly install/update the software, follow the installer's instructions;
  5. After installation, restart your computer;
  6. Ready! The program or game that previously produced error 0xc0000022 is working.

As you can see, the problem only seemed complicated, and for some, completely unsolvable. However, in fact, everything is exactly the opposite.

As a rule, error 0xc0000022 appears as a window when launching an application on Windows 10. It only displays the error code. And if in some error messages there is at least some indication of the cause of the problem or a possible solution, then in 0xc0000022 things are different. The cause of its occurrence is still unknown. Therefore, let's consider everything possible options bug fixes.

Ways to solve the problem

Users often wonder why the error 0xc0000022 Windows 10 occurs when launching the application and how to fix the problem themselves. You can fix this error different ways. Let's look at the most effective ones.

Method number 1. Granting the necessary rights

Often error code 0xc0000022 on Windows 10 occurs due to the lack of necessary rights. This means that the user installed the application in “Guest” mode or under another account. To do this, you need to run the software with Administrator rights by right-clicking on it.

If the program starts without an error, you should reinstall it with the necessary rights.

Method number 2. Running in compatibility mode

If the program does not start and the above error appears, the software may not work with this operating system. On Windows 10, you can run almost all programs in compatibility mode. To do this you need to do the following:

  • Right-click on the file and select “Properties”.
  • A new window will open. Go to the “Compatibility” tab. Here you need to select the version of the operating system on which the software was launched and check the “Run the program in compatibility mode...” checkbox.

  • After completing these steps, the software will start correctly.

IMPORTANT! If a program is written for XP, you should not expect it to work correctly on Windows 10 due to its settings for old version systems.

Method No. 3. Driver rollback and update

Error 0xc0000022 on a Windows 10 PC may appear due to incorrectly installed drivers. Therefore, if your operating system updated, you may need to roll back the video card drivers or, conversely, update them to the latest version.

Method number 4. Installing the latest version of libraries

For the normal operation of various applications, it is necessary to install the C++ and DirectX libraries. We recommend downloading from the Microsoft website latest version libraries and reboot the PC after installation.

Method No. 5. Restoring security settings

When error 0xc0000022 appears on Windows 10, the Microsoft forum recommends restoring the security settings to their default values. To do this, go to the “Control Panel”, select “System and Security”, “Windows Firewall” and select “Restore default value” in the menu on the left.

Then we reboot the system and run the program again.

We also recommend checking your computer for viruses - it is very possible that system files were deleted by malware. In addition, we recommend adding the game or application to the exclusions of your antivirus program. If all else fails, then perhaps the problem with error 0xc0000022 is hidden in the game files themselves - reinstall the game.