I just realised that in your initial screenshot and copy/pasted output, you were running the commands from an admin Windows Powershell not admin Command Prompt. That is the cause of them not succeeding.
unable to rename catroot2 folder
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