The windows registry is corrupted
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