unable to rename catroot2 folder

great one 15 Reputation points
2025-12-04T20:12:12.0966667+00:00

when i try to rename the catroot2 folder either by going into folder maunally

i get a message saying more or less that the folder is in use by another program and doesnt allow it

when i try with the command prompt ( yes with admin)

i get a access denied

PS C:\Users\scoot> ren C:\Windows\System32\catroot2 Catroot2.old

ren : Access to the path 'C:\Windows\System32\catroot2' is denied.

At line:1 char:1

  • ren C:\Windows\System32\catroot2 Catroot2.old
  • 
        + CategoryInfo          : WriteError: (C:\Windows\System32\catroot2:String) [Rename-Item], IOException
    
        + FullyQualifiedErrorId : RenameItemIOError,Microsoft.PowerShell.Commands.RenameItemCommand
    
    

thinking theres a issue with the cryptograph service not stopping in services.msc

i try there and get error 1052

the software distribution folder was able to get renamed not sure whats causing the catroot2 to not be able

Windows for home | Windows 11 | Settings
0 comments No comments
{count} votes

16 answers

Sort by: Most helpful
  1. Igor Leyko 107.6K Reputation points Independent Advisor
    2025-12-04T21:01:19.54+00:00

  2. Igor Leyko 107.6K Reputation points Independent Advisor
    2025-12-04T22:47:19.15+00:00

    Try to boot Recovery environment https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-recovery-environment--windows-re--technical-reference run command prompt and rename the folder from command prompt.


  3. Igor Leyko 107.6K Reputation points Independent Advisor
    2025-12-04T23:16:09.5866667+00:00

    However, you may try.


  4. Igor Leyko 107.6K Reputation points Independent Advisor
    2025-12-05T08:55:34.8566667+00:00

    Sorry, seems I did not understand you.

    Did you try to rename folder using Recovery environment's command prompt? Please show a photo of the rename command and the result.


  5. Igor Leyko 107.6K Reputation points Independent Advisor
    2025-12-05T19:28:36.3+00:00

    Please show a photo of the rename command and the result.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.