Skip to main content

Errors c0000022, c0000034 during a Windows update operation

In the process of updating Windows OS (usually 7 and 8 versions, less than 10), the user may encounter an error message “c0000022” or “c0000034”, while the update process turns into “bad infinity” when nothing happens. Rebooting the computer does not change anything, forcing the user to search the network for materials on solving this problem. In this article, I will try to help such users and tell you what the “c0000022”, “c0000034” errors occur during the Windows update operation, what are their causes, and how to fix this problem on your PC.

Ошибка c0000022 при обновлении системы
Error c0000022 when updating the system

The content of the article:

Causes of errors during the update operation Windows

Usually the errors mentioned are caused by a failed system update, during which the installation files were damaged due to various reasons. Such reasons may be:

  • Malignant activity of viral programs;
  • Mechanical shutdown by the user of the computer during the update process (just pulling the PC cord out of the socket);
  • Damage to the update files during the download process (these files are downloaded incorrectly).

    Ошибка c0000034 при обновлении Виндовс
    Error c0000034 when updating Windows

How to fix c0000022, c0000034 errors

In most cases, the solution to the problem is one for the two mentioned errors “c0000022, c0000034 during the update operation of Windows”, and it consists in the method, which I will discuss below. All you need to do is run a command prompt and then delete a row of lines in the pending.xml file. So, in order:

  1. Boot from the installation disk of your operating system;
  2. Switch to recovery mode;
  3. Run the command prompt;
  4. At the command prompt, enter the notepad.exe command (launch the well-known Notepad);
  5. In Notepad, click on "File" - "Open", the file type, select "All files";
  6. Go to the directory C: \ Windows \ winsxs \ (if the operating system is located on the C drive :)
  7. We find the pending.xml file there (it is recommended to create a backup copy of this file before further editing);
  8. Press the key combination Ctrl + F to search, looking for the text 0000000000000000.cdf-ms (must be sixteen zeros);
  9. Here we completely delete the lines beginning with the words “checkpoint”, “deletefile”, “movefile” (example below);

    Удалите эти строки из файла
    Remove these lines from the file
  10. We save the changes made by us, and reboot our PC.

Some users who could not find the value "0000000000000000.cdf-ms" in the pending.xml file were completely helped by deleting the mentioned file and rebooting the system (again I remind you to make a backup copy of the specified file).

A similar option is the following:

  1. When booting the system, select OS recovery tools;
  2. During the search system problems click on "Cancel";
  3. In the next window, select "Do not send";
  4. Click on “View advanced recovery and support options”;
  5. In the window that appears, select "Command Prompt";
  6. Complete all items starting from the fourth in the previous solution.

Alternative way

Also on some machines helped the following method:

  1. Turn off the computer;
  2. Turn on the computer and quickly press the F2 key until the diagnostic screen appears;
  3. Perform a “System Test” (System Test) - Quick Test.


Errors c0000022, c0000034 usually occur during an incorrect installation of the Windows OS update, when the update files themselves are damaged due to various reasons. The solution to the problem is to delete the mentioned lines in the pending.xml file, which will get rid of errors c0000022 and c0000034 on your PC.

How do you rate the article?
Звёзд: 1Звёзд: 2Звёзд: 3Звёзд: 4Звёзд: 5 ( 5 ratings, average: 4.20 out of 5)

” 4 Comments “ Errors c0000022, c0000034 during a Windows update operation

  1. Thank! The lines were a little different, but everything worked out. After the reboot, I wrote that the update failed, but at least the Windows booted.

  2. Anderv :

    I have the same canoe, only an error when updating Windows to 10. The problem remains, since there is no pending.xml file in the specified path.

Add a comment

Your email will not be published.