使用Repair-WindowsImagecmdlet 在 PowerShell 中修复映像文件: powershellCopy Code Repair-WindowsImage-Online-CheckHealthRepair-WindowsImage-Online-ScanHealthRepair-WindowsImage-Online-RestoreHealth 挂载和卸载映像: 使用Mount-WindowsImage和Dismount-WindowsImagecmdlets 在 PowerShell 中挂载和卸载映像: powershellCopy...
Repair-WindowsImage [-CheckHealth] [-ScanHealth] [-RestoreHealth] [-StartComponentCleanup] [-LimitAccess] [-ResetBase] [-Defer] [-Source <String[]>] [-NoRestart] -Path <String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-Lo...
Dism.exe /online /Cleanup-Image /CheckHealth /ScanHealth /ScanHealth: 扫描映像以检测任何存在的问题。它比/CheckHealth更加详细,可以帮助发现更多的系统问题。 powershellCopy Code Dism.exe /online /Cleanup-Image /ScanHealth /RestoreHealth /RestoreHealth: 执行映像修复操作,并且尝试修复任何检测到的问题。这...
To carry out these operations, you have to open an elevated Command Prompt. First, you have to check if there are corruptions and if the corruption or image is repairable. If yes, you can use the/RestoreHealthswitch to fix the corruption. TIP:Fix corrupted Windows Update system files using...
Dism.exe /Image: < ... > /Cleanup-Image /CheckHealthRepair-WindowsImage-CheckHealth Dism.exe /Image: < ... > /Cleanup-Image /ScanHealthRepair-WindowsImage-ScanHealth Dism.exe /Image: < ... > /Cleanup-Image /RestoreHealthRepair-WindowsImage-RestoreHealth ...
Repair-WindowsImage[-CheckHealth] [-ScanHealth] [-RestoreHealth] [-StartComponentCleanup] [-LimitAccess] [-ResetBase] [-Defer] [-Source <String[]>] [-NoRestart]-Path<String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-LogLeve...
Repair-WindowsImage [-CheckHealth] [-ScanHealth] [-RestoreHealth] [-StartComponentCleanup] [-LimitAccess] [-ResetBase] [-Defer] [-Source <String[]>] [-NoRestart] -Path <String> [-WindowsDirectory <String>] [-SystemDrive <String>] [-LogPath <String>] [-ScratchDirectory <String>] [-Lo...
Dism.exe /Image:<...> /Cleanup-Image /CheckHealthRepair-WindowsImage-CheckHealth Dism.exe /Image:<...> /Cleanup-Image /ScanHealthRepair-WindowsImage-ScanHealth Dism.exe /Image:<...> /Cleanup-Image /RestoreHealthRepair-WindowsImage-RestoreHealth ...
DISM /Online /Cleanup-Image /CheckHealth In the above command, the/Onlineparameter specifies the scan must be performed on the currently running operating system. The/Cleanup-Imageparameter specifies the operation is related to Windows image repair. ...
Dism /Online /Cleanup-Image /RestoreHealth This operation takes 15minsor more, depending on the level of corruption. To carry out these operations, you have to open an elevated Command Prompt. First, you have to check if there are corruptions and if the corruption or image is repairable. If...