The Application Failed to Initialize Properly (0xc0000022)

One user reported that regular users could not run Photoshop on one of our servers, but admin users could. Whenever a regular user tried to run Photoshop, this message popped up.

application-fail-init

The application failed to initialize properly (0xc0000022). Click on OK to terminate the application.

The cause for this problem was that the application was installed for the original admin user only. All the files did not have correct permissions for regular users. In order to fix this problem, you’ll need to grant permission to regular users to access these files, including all the *.EXE, *.DLL and *.OCX files. If you use Windows Explorer, you’ll need to do this for all of the files, which is a fairly tedious process. It’s much faster to use commands to do this. Here are the steps.

  1. Run an elevated command prompt. 
  2. Change directory to the program directory.
  3. Enter the following command:
    cacls *.exe /e /g builtin\users:r
    cacls *.dll /e /g builtin\users:r
    cacls *.ocx /e /g builtin\users:r

 


This post may contain affiliated links. When you click on the link and purchase a product, we receive a small commision to keep us running. Thanks.


Be the first to comment

Leave a Reply