C:\WINDOWS\system32>chkdsk /F
The type of the file system is NTFS.
Cannot lock current drive.
Chkdsk cannot run because the volume is in use by another
process. Would you like to schedule this volume to be
checked the next time the system restarts? (Y/N) Y
This volume will be checked the next time the system restarts.
重新启动计算机。 在加载 Windows 并执行硬盘驱动器修复之前,计算机将暂停。
Windows 更新疑难解答
Windows 更新疑难解答工具将自动分析和修复Windows 更新问题,例如损坏的下载。 它还会告诉你是否有挂起的重新启动阻止 Windows 更新。
C:\>sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.
如果运行的是 Windows 8.1 或更高版本,请键入 DISM.exe /Online /Cleanup-image /Restorehealth 并按 Enter( DISM 命令选项不适用于 Windows 7)。 请参阅以下示例:
控制台
C:\>DISM.exe /Online /Cleanup-image /Restorehealth
Deployment Image Servicing and Management tool
Version: 10.0.16299.15
Image Version: 10.0.16299.309
[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
另一个选项是使用 文件资源管理器 在 C 下创建新文件夹:名称短,如“new”,然后使用 文件资源管理器复制或移动要运行的程序(如 SetupDiag)。 打开提升的命令提示符时,通过键入 cd c:\new更改此目录,现在可以在该文件夹中运行程序。
如果将SetupDiag.exe程序下载到计算机,然后将其复制到文件夹 C:\new,然后打开提升的命令提示符,然后键入cd c:\new以更改为此目录,只需键入setupdiag并按 Enter 运行程序。 此程序将分析计算机上的文件,以查看 Windows 升级失败的原因以及原因是否为常见文件,它将报告此原因。 它不会为你解决问题,但知道升级失败的原因使你能够采取措施解决问题。