Access denied while renaming catroot2 folder

Techshan 241 Reputation points
2025-04-17T01:59:49.2766667+00:00

Hi everyone,

Windows update rolls back during the patching for Windows server 2016,

To fix the issue, executed the below commands but unable to rename catroot2

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

Ren C:\Windows\System32\catroot2 Catroot2.old

net start wuauserv

net start cryptSvc

net start bits

net start msiserver

Any advice to rename catroot2 is highly appreciated

Thanks in advance,

ThanjaiSwami

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,655 questions
{count} votes

Your answer

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