The windows registry is corrupted

PRATHAM SIDDHPURA 0 Reputation points
2025-08-02T15:36:46.03+00:00

The windows registry database is corrupted and dism & sfc scannow not workes , and advance system repair and dism commands and chdsk that does't works properly . how to solve this for my system . I can attached my error in below. I can run this commands in powershell .

PS C:\Users\PC> dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

Deployment Image Servicing and Management tool

Version: 10.0.22621.2792

Image Version: 10.0.22631.4391

Error: 1009

The configuration registry database is corrupt.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

PS C:\Users\PC> Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform Enable-WindowsOptionalFeature : The configuration registry database is corrupt.

At line:1 char:1

  • Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlat ...
  • 
        + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException
    
        + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand
    
    

Please Answer my question to solve the query & errors

Windows for business | Windows Server | Storage high availability | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Darrell Gorter 2,896 Reputation points
    2025-08-13T21:28:10.69+00:00

    Hello,

    No easy answer here.

    Your best bet is to use a tool like Sysinternals's Process Monitor to see what registry locations are being accessed when the error occurs and then potentially fix those keys.

    Link to Process Monitor.

    https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

    I am not aware of an easier way to repair a corrupted registry. If it's just a single key that is unreadable, you may be able to repair it, either by editing or by exporting the key from a known good system and importing the key into this system.

    Darrell

    0 comments No comments

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.