跳转到主内容

How to Perform Basic Windows Repair

  1. How to Perform Basic Windows Repair, Open a Command Line Session: 步骤 1 中的图像 1,1
    • Right click the start menu (or press Win and X on your keyboard).

    • In the menu that appears, open the command line tool it offers here. It may be Command, PowerShell or Terminal depending on your settings and version of Windows.

    • Be sure to open as Admin. You'll need your Admin powers to make run the needed repairs.

    • If your computer doesn't boot to Windows, most commands can also be used within Windows Recovery Environment.

  2. How to Perform Basic Windows Repair, Run System File Checker: 步骤 2 中的图像 1,3 How to Perform Basic Windows Repair, Run System File Checker: 步骤 2 中的图像 2,3 How to Perform Basic Windows Repair, Run System File Checker: 步骤 2 中的图像 3,3
    • A window with some text and a blinking cursor should appear. Type sfc /scannow and press enter.

    • SFC checks system files against presumed good ones cached on your drive. Verification progress is displayed as it works through all files.

    • If you are in Windows Recovery, use sfc /scannow /offbootdir=C: /offwindir=C:\Windows\ instead. Replace C with the letter of wour Windows drive. If you don't know, assume it is C.

    • Once complete, a brief readout of the results will be shown. If errors were found, status of the repair is also noted.

  3. How to Perform Basic Windows Repair, Use DISM to Repair Windows Image: 步骤 3 中的图像 1,3 How to Perform Basic Windows Repair, Use DISM to Repair Windows Image: 步骤 3 中的图像 2,3 How to Perform Basic Windows Repair, Use DISM to Repair Windows Image: 步骤 3 中的图像 3,3
    • The Deployment Image Servicing and Management (or DISM) tool is used to repair the files SFC uses to check your system.

    • Microsoft advises this be run before SFC in Windows 8 or newer.

    • In an open console session (like in Step 1) type dism /online /cleanup-image /restorehealth. This compares against an online image from Microsoft to perform repairs.

    • A progress bar will show in the console window and indicate when complete.

    • Run SFC, especially if the first run through indicated it could not repair all corruption. DISM may have replaced the files that were previously damaged

    • Check your syntax closely. Spelling, spacing and punctuation all matter here) Incorrectly typed commands will often result in an Error 87.

  4. How to Perform Basic Windows Repair, Download a Windows Image: 步骤 4 中的图像 1,1
    • The /online part of the DISM command relies on Windows Update Service to work properly. If this is part of what's broken, DISM might fail.

    • Instead, use a new download of the Windows image from Microsoft to process the repair.

    • If you're not sure how to get a Windows .iso (image) file, use the USB Boot Drive Creation Guide, but on Step 6, select .iso and choose a location to save it.

    • Although this Guide is for Windows 10, it is also relevant for 8 and 11.

  5. How to Perform Basic Windows Repair, DISM Repair With Windows Image: 步骤 5 中的图像 1,3 How to Perform Basic Windows Repair, DISM Repair With Windows Image: 步骤 5 中的图像 2,3 How to Perform Basic Windows Repair, DISM Repair With Windows Image: 步骤 5 中的图像 3,3
    • Once the image download is complete, double click the .iso file to mount it.

    • It should appear in the sidebar of your File Explorer as a DVD drive. Make note of the Drive letter your computer assigns it. In this example it is the E: Drive.

    • Reopen, or return to your command line window. Type DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.wim and press enter. Substitute the source drive letter here for what Windows has assigned the drive on your computer.

    • Wait for the command to finish. It will indicate if it failed.

  6. How to Perform Basic Windows Repair, Run a Disk Check: 步骤 6 中的图像 1,2 How to Perform Basic Windows Repair, Run a Disk Check: 步骤 6 中的图像 2,2
    • If your system still seems like it's not running right, or you're continuing to see errors unrepaired by SFC, check the integrity of your disk with chkdsk

    • In your command line window type chkdsk c: /f /r

    • If the disk you're checking is not labelled as the C drive, be sure to change the drive letter in the command.

    • The /f and /r switches added to this command indicate to to fix errors on the disk and attempt to recover data in bad sectors.

    • The command will output the format of the disk (probably NTFS) and indicate the disk is in use. Type Y, then enter to give permission to run the scan on next restart.

    • Restart your computer and let the scan run through. It can take many hours to complete so be patient.

结论

Completing all of these steps will leave your device with a much healthier Windows install, hopefully resolving any crashing, freezing or locking up. If you still cannot boot successfully to Windows, reinstalling will be a more effective option.

2等其他人完成本指南。

Alisha C

于12/04/20注册

33,778 声望

创作了6篇指南

团队

LGBTQ Technicians LGBTQ Technicians 的会员

Community

16 名成员

创作了53篇指南

0条评论

添加评论

浏览统计数据:

过去 24 小时: 9

过去 7 天: 30

过去 30 天: 128

总计 286