Fix: Windows Application Error Code 0x0000022

The error 0xc0000022 is often associated with legacy applications running into compatibility problems with the latest versions of Windows (Windows 10 and Windows 8.1). But you might also encounter this error message when running Adobe Acrobat reader, opening a PDF file or running another Adobe product. Some antivirus suites are known to cause this issue by blocking the permissions required by the application that is displaying the error.

For those applications written in Visual Basic, the 0xc0000022 error is usually signaling a permission problem with a required DLL (Dynamically Linked Library) file. Often times, this issue can be avoided by running the program with administrative privileges. You can do this easily by right-clicking on the shortcut of the application and clicking on Run as Administrator.

If running the program with administrative rights didn’t help you, turn your attention towards your anti-virus. Some 3rd party antivirus suites (especially AVG and Mc Afee) are known to cause this error with browsers and other applications that require networking permissions. Try disabling the real-time protection feature of the 3rd party antivirus and open the application again.

If that hasn’t yielded any results, use one of the two methods below to get rid of the 0xc0000022 error. In the event that you’re seeing the error message when opening Adobe Reader or a PDF file, follow Method 1. When seeing the error after running a legacy application (or game) on Windows 8 or Windows 10, follow Method 2.

Method 1: Repairing Microsoft Visual C++ 2013 Redistributable

Most apps still rely on Microsoft’s Visual C++ redistributable packages to work properly on Windows, and Acrobat Reader is no exception. Some users have reported seeing the 0xc0000022 error with an Adobe product after Windows performed an automatic update. Fortunately, this can be solved by repairing the Microsoft Visual C++ 2013 Redistributable packages that the Adobe suite uses. Follow the guide below to get rid of the 0xc0000022 error:
Note: The following guide will also work with other Adobe products that are displaying the 0xc0000022 error, not just Acrobat Reader.

  1. Press Windows key + R to open a Run window. Type appwiz.cpl and hit Enter to open Programs and Features.
  2. Scroll down to Microsoft Visual C++ 2013 Redistributable packages and right-click on the first entry. Then, click on Change.
  3. Click the Repair button and then hit Yes when the User Account Control pop-up is shown.
  4. Once the setup is successful, repeat Step 2 and Step 3 with all the remaining Microsoft Visual C++ 2013 packages.
  5. Once all the Microsoft Visual C++ 2013 packages have been repaired, restart your machine and try to re-launch Acrobat reader (or open a PDF file).

If the application is still displaying the same error message, return to Program and Features and uninstall all Microsoft Visual C++ 2013 packages. Then, perform another reboot and use this official Microsoft link to download & install the packages again.

Method 2: Enabling DirectPlay in Legacy Components

DirectPlay is a deprecated API previously part of Microsoft’s DirectX API. It’s essentially a network communication library primarily used for computer game development, but it was also used in some general purpose applications.

You might have encountered the 0xc0000022 error when trying to open an old game or application. This happens because the game (or application) in question tries to use a .dll file that was deprecated along with DirectPlay. Even though DirectPlay components are regarded as obsolete in Windows 8.1 and Windows 10, they can still be enabled from Windows Settings.

If you’re running Windows 8.1 or Windows 10, DirectPlay will be disabled by default. Follow the guide below to enable DirectPlay and eliminate the 0xc0000022 error:

  1. Press Windows key + R to open a Run windows. In it, type appwiz.cpl and hit Enter to open Programs and Features.
  2. Click on Turn Windows features on or off.
  3. Wait until the list populates, then check the box next to Legacy Components.
  4. Hit the + icon next to Legacy Components and check the box next to DirectPlay. Hit Ok to save your settings.
  5. Your OS will then configure the required files to enable DirectPlay. Do not close the window until you see the message ” Windows completed the requested changes”.

  6. Reboot your system and run the application again. It should open without the 0xc0000022 error.

Related Article(s):



Kevin Arrows

Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.