Home  >  Article  >  System Tutorial  >  How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC

How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC

WBOY
WBOYOriginal
2024-06-14 19:19:41811browse

The SoftwareDistribution folder is a directory that stores files required for installing Windows updates on PCs. It is a temporary repository of the update files. Thus, the SoftwareDistribution folder is an important component for updating Windows.

Catroot 2 is a folder that stores the signature data for Windows 11 updates. Those are the files the Cryptographic service needs for update verification.

Both folders contain files needed for the installation of Windows updates. Windows update installation issues can occur because of corrupted data in those folders. Those errors typically appear in Settings with variable codes like 0x800f0922 when users manually select to check for and install updates.

Therefore, resetting those folders is a troubleshooting method for fixing Windows 11 update installation issues. Resetting the SoftwareDistribution and Catroot2 folders removes corrupted data they might contain, which rebuilds them. You can reset those folders by deleting their contents or renaming them.

How to Reset the SoftwareDistribution and Catroot2 Folders by Erasing Their Contents

This method for resetting the SoftwareDistribution and Catroot2 folders involves manually eradicating the data in them via File Explorer. It’s also necessary to disable and re-enable certain services via the Command Prompt to ensure they’re not utilizing files in them. Delete the files in the SoftwareDistribution and Catroot2 folders as follows:

  1. Open the file finder utility accessible with a Windows logo + S hotkey.
  2. Locate the Command Prompt by entering the keyword cmd into the search text box.
  3. Select to open the Command Prompt with admin rights by clicking its Run as administrator option on the right of the search tool.
  4. Input and execute the following separate commands to disable services required for updating Windows 11:
    <code class="hljs xml">net stop bitsnet stop wuauservnet stop cryptsvcnet stop msiserver</code> 
  5. Press the Windows key + E on your keyboard to go to File Explorer.
  6. Open the SoftwareDistribution folder at this path:
    <code class="hljs ">C:\Windows\SoftwareDistribution</code> 
  7. Press Ctrl + A to select all the files in the SoftwareDistribution folder.
  8. Right-click and select Delete (the trash can button) to eradicate selected content.How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  9. Bring up the catroot2 folder by entering this path in Explorer’s address bar:
    <code class="hljs ">C:\Windows\System32\catroot2</code> 
  10. Repeat steps seven and eight above to erase everything in that folder.How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  11. Return to the Command Prompt and execute these separate commands for restarting the disabled services.
    <code class="hljs xml">net start bitsnet start wuauservnet start cryptSvcnet start msiserver</code> 
  12. Restart the PC and check for updates after clearing those folders.

How to Reset the SoftwareDistribution and Catroot2 Folders by Renaming Them

Renaming the SoftwareDistribution and Catroot2 directories is an alternative method for resetting those folders. Windows will recreate those folders after you’ve renamed them. You can rename the SoftwareDistribution and catroot2 folders with the Command Prompt like this:

  1. Run the Command Prompt with elevated admin rights.
  2. Repeat step four of the preceding method to execute the commands for disabling services.How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  3. Input this command to rename the SoftwareDistribution folder and press Return:
    <code class="hljs css">ren %systemroot%\softwaredistributionsoftwaredistribution.bak</code> 
    How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  4. Enter and execute this rename command for the catroot2 folder:
    <code class="hljs css">ren %systemroot%\system32\catroot2catroot2.bak</code> 
    How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  5. Repeat step 11 of the preceding method by executing the four commands for restarting the disabled services.How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  6. Exit Command Prompt and select to restart your PC.

How to Reset the SoftwareDistribution and Catroot2 Folders With FixWin 11

FixWin 11 is one of the best freely available Windows repair tools that includes troubleshooting options. Among them are two options for resetting the catroot2 and SoftwareDistribution folders. This is how you can select those quick fix options in FixWin 11:

  1. Open this FixWin 11 page on the Softpedia website.
  2. Click on the Free Download button for FixWin.
  3. Select Secure Download (US) to obtain FixWin’s ZIP archive.
  4. Activate a File Explorer window and go to your browser’s downloads folder.
  5. Extract the FixWin archive by going through the steps in this article about unzipping ZIP files on Windows.How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  1. Double-click the FixWin 11.1.exe file in the extracted folder for FixWin.
  2. Click Additional Fixes on the left of the FixWin window.
  3. Select the Quick Fixes tab.
  4. Press the Reset Software Distribution folder button.How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC
  5. Click the Reset catroo2 Folder option.
  6. Exit FixWin and reboot your PC after selecting those options.

Fix Windows Update Issues by Resetting the SoftwareDistribution and Catroot2 Folders

It’s important to resolve update issues when they arise for the sake of keeping Windows updated. Resetting the catroo2 and SoftwareDistribution folders is one of the most effective troubleshooting methods for fixing Windows update errors.

So, try doing that whenever you need to fix an error code shown within the Windows Update tab of Settings.

The above is the detailed content of How to Reset the SoftwareDistribution and Catroot2 Folders on a Windows 11 PC. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn