Search

Language:  

Available article translations:

How to scan and repair Windows virtual machine if its system files are corrupted

APPLIES TO:
  • Parallels Desktop for Mac Home Edition

Symptoms

  • Windows performance is degraded.
  • Parallels Tools installation fails.
  • Virtual machine frequently crashes.
  • I am unable to install application in Windows.

Cause

Windows file system/registry corruption.

Resolution

  1. Open Windows Start menu, in Search bar type cmd, right-click on the appeared Command Prompt application and choose Run as Administrator.

  2. In Command Prompt execute the command below:

    sfc /scannow    
    
  3. Wait for the scanning and the repairing processes to finish.

  4. There is a chance you might get the following message at the end of the scanning procesure:

        Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios
    

    alttext

    It means that typical scanning/repairing utility is not enough to fix Windows files corruption, to be able to fix it, please do not close Command Prompt window and proceed with the instructions:

  5. In Command Prompt execute:

    DISM /Online /Cleanup-Image /RestoreHealth
    
  6. In case you have Windows installation media (CD/DVD disk or .iso image), please do the following:

  7. Make sure Windows is connected to the Internet.

  8. Insert CD/DVD or put .iso to the easiest Mac location to find.

  9. Actions > ....

  10. In Command Prompt execute:

    DISM /Online /Cleanup-Image /RestoreHealth
    

    c

  11. Go to

    DISM /Online /Cleanup-Image /RestoreHealth /source:wim:D:\sources\install.wim:1 /limitaccess
    

    where D: is the Windows installation image mounted in a virtual drive.

    Wait until the operation is completed. This usually takes 20-30 minutes.

  12. Restart the virtual machine.

  13. If the situation did not change after the restart, the only thing left is to refresh Windows.



1e5db16426987d561060acdf56d947b4 a9c6e0b6a5209e617a7c0dd5eace86cf

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No