Программа для замены системных файлов windows 10

Если перед вами возникла необходимость отредактировать или переместить системные файлы Windows, то вы можете столкнуться с неожиданной проблемой –

Системные файлы Windows: замена и редактирование

Если перед вами возникла необходимость отредактировать или переместить системные файлы Windows, то вы можете столкнуться с неожиданной проблемой – владельцем данных является операционная система, которая блокирует любые попытки их изменить. Причём обойти эти ограничения иногда весьма непросто. О том, как снять любые запреты на замену/редактирование и самому стать владельцем файла – читайте далее.

Не так давно, работая над обзором ранней тестовой версии Windows 8, перед нами возникла необходимость заменить один важный системный файл. В тот момент, чтобы активировать некоторые скрытые функции, заложенные Microsoft в грядущую операционную систему, нужно было осуществить подмену, в частности, slc.dll.

Однако сделать это было не так-то просто: система всячески блокировала любые наши попытки что-либо заменить и, тем более, редактировать вручную содержимое данной библиотеки.

Системные файлы Windows: замена и редактирование

Дело в том, что по умолчанию владельцем slc.dll , как и любого другого компонента Windows, является именно сама операционная система. То есть, даже если вы являетесь администратором в собственной системе, редактировать системные файлы вы всё равно не сможете, так как прав по умолчанию на это у вас нет (по крайней мере, именно так обстоят дела в Windows Vista, а также в Windows 7 и 8).

Системные файлы Windows: замена и редактирование

И если в XP получить права доступа на системные файлы было относительно не сложно, то в Vista и Windows 7 этот процесс уже труднее, так как Microsoft, после шквала критики, действительно ощутимо усилила общую безопасность. Системные файлы, также стали защищены от редактирования на порядок лучше. В Windows 8 же компания видимо продолжает работать этом направлении.

Причём защищают, как вы поняли, пользователей не столько от вирусов и прочего вредоносного программного обеспечения, сколько от их собственных неумелых действий. Насколько оправданы эти изменения в степени защиты – вопрос, конечно, актуальный, но к нашему сегодняшнему материалу он не относится. Для простых пользователей наиболее частыми случаями, при которых приходится что-то менять среди файлов ОС, являются ситуации, когда новая игра отказывается работать из-за определённого файла (в этом случае поможет только его замена) или требуется установить в Windows различные трансформаторы интерфейса, которые также могут потребовать ручной правки системных библиотек.

Чтобы получить возможность редактировать системные файлы или провести их замену вам нужно стать владельцем этих данных, то есть получить права на модификацию.

Что для этого сделать? Существует целый ряд способов, благодаря которым можно обмануть систему. Чтобы получить права доступа можно, например, изменить некоторые значения в реестре или использовать ярлыки.… Однако всё это неудобно и излишне затянуто. Для начинающего пользователя, которому совершить такой «подвиг» может и понадобиться-то один раз в жизни, подобный вариант, очевидно, не приемлем.

В этом случае мы посоветуем использовать специальную утилиту TakeOwnershipEx.

Эта небольшая программа, по сути, выполняет одну ключевую функцию – предоставляет вам права владельца, благодаря которым системные файлы становятся открытыми для редактирования или замены.

Вам достаточно лишь скачать архив с программой, распаковать его и запустить инсталлятор.

Системные файлы Windows: замена и редактирование

При желании во время подготовки к установке выберите пункт «создать ярлык на рабочем столе, после чего нажмите «установить».

Системные файлы Windows: замена и редактирование

Интерфейс утилиты предельно прост и доступен: вам нужно лишь нажать «получить права доступа» и выбрать нужные системные файлы или папки, после чего появится сообщение об успешном выполнении операции.

Системные файлы Windows: замена и редактирование

Результат:

Системные файлы Windows: замена и редактирование

Как только с помощью TakeOwnershipEx будет обработан хотя бы один файл или папка, в основном окне утилиты активируется пункт «вернуть права доступа», благодаря которому вы можете быстро вернуть всё в исходное состояние (это, к слову, и следует сделать, как только вы закончите свою работу).

Системные файлы Windows: замена и редактирование

Сама по себе TakeOwnershipEx абсолютно бесплатна и предельно компактна в размерах. Объём инсталлятора составляет менее 300 КБ. Разработана утилита, что особенно приятно, нашим соотечественником – Сергеем Ткаченко.

Для восстановления работоспособности Windows существует масса способов – точки отката, бэкап, бэкап и откат её реестра, восстановление целостности её файлов, переустановка Microsoft Visual C++ и прочих системных компонентов. Но только предварительно сделанный бэкап системы можно считать панацеей, универсальным «лекарством» от всех возможных проблем. Как быть, если нужно восстановить системные файлы, а у нас ни бэкапа нет, ни инструмент восстановления системных файлов не работает?

В таких случаях можно прибегнуть к замене системных файлов Windows, если они повреждены или удалены, вручную.

Замена системных файлов Windows вручную – операция, требующая определённых знаний и навыков в работе операционной системы от Microsoft. Нам нужно точно знать, какой файл системы повреждён или удалён, чтобы мы могли его заменить дубликатом. К примеру, если мы при открытии системного управления дисками видим уведомление типа этого,

Уведомление

это значит, что повреждён или удалён файл diskmgmt.msc – файл запуска непосредственно утилиты управления дисками. В этом случае мы можем попытаться решить проблему путём восстановления целостности системных файлов, т.е. запустить в командной строке известную команду sfc/scannow. Но этот механизм системы не всегда даёт положительные результаты и часто завершается уведомлением о невозможности восстановления.

Sfc - scannow

В таком случае далее нужно предпринимать действия по восстановлению хранилища системных ресурсов и потом снова запускать sfc/scannow. Ручная замена проблемных системных файлов – более топорная операция, плюс к этому, требующая, как упоминалось, чёткого понимания, какие именно файлы по какому пути нужно заменять. Но если эти файлы и пути известны, то это более быстрое и надёжное решение проблемы.

Что для этого необходимо? Нам понадобится установочный ISO нужной версии Windows. Открываем его архиватором 7-Zip.

Установочный ISO

Открываем папку «sources», далее – «install».

7-Zip

Внутри файла «install» выбираем папку с тем или иным порядковым номером. Порядковые номера – это индексы редакций Windows. Если, например, в нашем случае нужно восстановить файл diskmgmt.msc, нам без разницы редакция, эта системная утилита есть в любой редакции Windows. Поэтому мы просто выберем редакцию Pro, она идёт под номером 4.

Редакция Windows

Но если файл нужного системного компонента есть только в определённой редакции, например, только в Pro, то необходимо указывать индекс конкретно этой редакции. А узнать индексы редакций в составе дистрибутива можно с помощью командной строки. Нужно подключить установочный ISO для отображения в системе и прописать в команде Dism путь к файлу install на борту этого ISO, вот так:

Dism /Get-WimInfo /WimFile:J:sourcesinstall.wim

Здесь вместо буквы J каждый должен подставить свою букву диска подключённого ISO. И если файл install имеет формат не «.wim», а «.esd», то, соответственно, в конце команды необходимо указать этот формат. В ответ на эту команду получим справку о соответствии индексам редакций Windows.

CMD - Dism

Определившись с редакцией, распаковываем нужный системный каталог. В нашем случае необходимо заменить файл утилиты diskmgmt.msc, следовательно, мы распаковываем каталог «Windows». Кликаем его и жмём «Extract».

Extract

Указываем путь распаковки.

Путь распаковки

И после распаковки ищем файл утилиты diskmgmt.msc.

Файл утилиты

При поиске обнаружилось несколько дубликатов diskmgmt.msc – в оригинальном месте хранения файла, в хранилище системных ресурсов (т.е. в папке WinSxS), в других системных подкаталогах. Мы берём файл, находящийся по исходному его пути хранения, в папке «System32». Копируем его.

Копируем его

И помещаем этот файл в папку «System32» внутри каталога «Windows» на диске С текущей системы.

Проводник

Подтверждаем вставку или замену файла.

Подтверждаем вставку

Вот и всё.

***

Мы рассмотрели простейший пример замены системных файлов вручную, чтобы осветить сугубо механизм этой процедуры. Необходимо понимать, что не со всеми системными файлами процесс замены произойдёт так вот просто, могут возникнуть трудности. Некоторые файлы Windows в активном состоянии не захочет заменять, и потребуется либо получение прав TrustInstaller, либо работа с LiveDisk. Также нужно учитывать, что после замены некоторых файлов, например, файлов активных системных процессов, прежде лицезрения результата проделанной работы, необходимо перезагрузить Windows.

Ну и главный совет: приведённая выше процедура рисковая, ибо, по сути, является вмешательством в структуру данных системы, потому перед проведением этой процедуры необходимо создать точку отката. Но лучше, конечно же, сделать полноценный бэкап.

Загрузка…

Windows 8.1 Windows 8.1 Enterprise Windows 8.1 Pro Windows 8 Windows 8 Enterprise Windows 8 Pro Windows 7 Enterprise Windows 7 Home Basic Windows 7 Home Premium Windows 7 Professional Windows 7 Starter Windows 7 Ultimate Windows Vista Enterprise 64-bit Edition Windows Vista Ultimate 64-bit Edition Windows Vista Business Windows Vista Business 64-bit Edition Windows Vista Enterprise Windows Vista Ultimate Windows 10 Еще…Меньше

Если некоторые функции Windows не работают или Windows завершает работу, используйте средство проверки системных файлов для сканирования Windows и восстановления файлов.  

 
Несмотря на то, что приведенные ниже шаги могут показаться сложными на первом этапе, просто выполните их по порядку, и мы попробуем помочь вам.

Запуск средства проверки системных файлов (SFC.exe)

выполнив указанные ниже действия.

  1. Откройте командную строку с повышенными привилегиями. Для этого выполните указанные ниже действия, в зависимости от версии операционной системы:

  2. Пользователям Windows 10, Windows 8.1 или Windows 8 перед запуском средства проверки системных файлов нужно запустить систему обслуживания образов развертывания и управления ими (DISM).  (Если на вашем компьютере установлена система Windows 7 или Windows Vista, перейдите сразу к шагу 3.) 

Введите следующую команду и нажмите клавишу ВВОД.  Выполнение команды может занять несколько минут.

DISM.exe /Online /Cleanup-image /Restorehealth

Важно! При запуске этой команды DISM обращается к Центру обновления Windows, чтобы получить файлы для устранения повреждений. Но если поврежден клиент Центра обновления Windows, используйте работающий экземпляр Windows в качестве источника восстановления либо параллельную папку Windows из сетевого расположения или со съемного носителя, например DVD-диска Windows, в качестве источника файлов. Для этого введите в командной строке такую команду:

DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

Примечание. Вместо заполнителя C:RepairSourceWindows укажите расположение вашего источника восстановления. Дополнительные сведения об использовании средства DISM для восстановления Windows см. в статье Восстановление образа Windows.

  1. Введите в командной строке приведенную ниже команду и нажмите клавишу ВВОД:

sfc /scannow


Командной строки с правами администратора - sfc/scannow 
 

Команда sfc /scannow проверит все защищенные системные файлы и заменит поврежденные файлы их кэшированной копией, расположенной в сжатой папке по адресу %WinDir%System32dllcache.
Заполнитель %WinDir% представляет собой папку операционной системы Windows. Например, C:Windows.

Примечание. Не закрывайте это окно командной строки, пока проверка не завершится на 100 %. Результаты проверки будут показаны после завершения данного процесса.

  1. После завершения процесса проверки на экране может появиться одно из приведенных ниже сообщений:

    • Защита ресурсов Windows не обнаружила нарушений целостности.


      Это значит, что отсутствующие и поврежденные системные файлы не обнаружены.

    • Защита ресурсов Windows не может выполнить запрошенную операцию.


      Для устранения этой проблемы выполните сканирование с помощью средства проверки системных файлов в безопасном режиме, убедитесь, что папки PendingDeletes и PendingRenames находятся в папке %WinDir%WinSxSTemp.

    • Защита ресурсов Windows обнаружила поврежденные файлы и успешно их восстановила. Сведения см. в журнале CBS.Log %WinDir%LogsCBSCBS.log.


      Для просмотра подробных сведений о сканировании и восстановлении системных файлов перейдите к разделу Как просмотреть подробные сведения процесса работы средства проверки системных файлов.

    • Защита ресурсов Windows обнаружила поврежденные файлы, но не может восстановить некоторые из них. Сведения см. в журнале CBS.Log %WinDir%LogsCBSCBS.log.


      Для восстановления поврежденных файлов вручную просмотрите подробные сведения процесса работы средства проверки системных файлов, чтобы найти поврежденный файл, а затем вручную заменить поврежденный файл гарантировано работоспособной копией.

Проведите пальцем от правого края экрана к центру и коснитесь кнопки Поиск. Либо, если вы используете мышь, переместите указатель в правый нижний угол экрана и щелкните кнопку Поиск. Введите запрос Командная строка в поле Поиск, щелкните правой кнопкой мыши элемент Командная строка, затем выберите команду Запуск от имени администратора. Если система запросит пароль администратора или подтверждение, введите пароль или нажмите кнопку Разрешить.
Command prompt - Run as administrator (Windows 8 or 8.1) 

Для этого нажмите кнопку Пуск, введите запрос Командная строка или cmd в поле Поиск, щелкните правой кнопкой мыши элемент Командная строка, а затем выберите команду Запуск от имени администратора. При получении запроса на ввод пароля администратора или подтверждения введите пароль или нажмите кнопку Разрешить.
Запрос команды - Запуск от имени администратора 

Дополнительная информация

Просмотр подробных сведений о процессе работы средства проверки системных файлов.

Чтобы ознакомиться с подробными сведениями, включенными в файл CBS.Log, вы можете скопировать сведения в файл Sfcdetails.txt с помощью команды Findstr, а затем просмотреть их в этом файле. Для этого выполните указанные ниже действия.

  1. Откройте командную строку с повышенными привилегиями, как это описано на шаге 1.

  2. Введите в командной строке приведенную ниже команду и нажмите клавишу ВВОД:

    findstr /c:"[SR]" %windir%LogsCBSCBS.log >"%userprofile%Desktopsfcdetails.txt" 

    Примечание. В файле Sfcdetails.txt содержатся сведения о каждом запуске средства проверки системных файлов на компьютере. Он также содержит информацию о файлах, которые не были исправлены средством проверки системных файлов. Проверьте дату и время записей, чтобы определить проблемные файлы, обнаруженные при последнем запуске средства проверки системных файлов.

  3. Откройте файл Sfcdetails.txt на рабочем столе.

  4. В файле Sfcdetails.txt используется следующий формат:

    Сведения о дате и времени SFC
    В следующем примере файла журнала содержится запись для одного файла, который не удалось исправить:

    2007-01-12 12:10:42, Info CSI 00000008 [SR] Cannot
    repair member file [l:34{17}]»Accessibility.dll» of Accessibility, Version =
    6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral,
    VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type
    neutral, TypeName neutral, PublicKey neutral in the store, file is missing


Как вручную заменить поврежденный системный файл гарантированно работоспособной копией файла.

После определения, какой системный файл поврежден и не может быть восстановлен, с помощью подробных сведений в файле Sfcdetails.txt, выясните расположение поврежденного файла, затем вручную замените поврежденный файл его гарантировано работоспособной копией. Для этого выполните указанные ниже действия.

Примечание. Гарантировано работоспособную копию системного файла можно взять с другого компьютера, на котором установлена такая же, как на вашем компьютере версия Windows. Чтобы убедиться в работоспособности системного файла, который вы планируете скопировать на другом компьютере, можно провести процесс проверки средством проверки системных файлов.

  1. Распространите на поврежденный системный файл права собственности администратора. Для этого скопируйте, а затем вставьте (или введите) в командную строку с повышенными привилегиями приведенную ниже команду, затем нажмите клавишу ВВОД:

    takeown /f Путь_и_имя_файла
    Примечание. Заполнитель Путь_и_имя_файла представляет собой путь и имя файла для поврежденного файла. Например, введите takeown /f C:windowssystem32jscript.dll. 
    Командная строка администратора права - команда успешно выполнена

  2. Предоставьте администраторам полный доступ к поврежденному системному файлу. Для этого скопируйте и вставьте (или введите) приведенную ниже команду и нажмите клавишу ВВОД:

    icacls Путь_и_имя_файла /GRANT ADMINISTRATORS:F
    Примечание. Заполнитель Путь_и_имя_файла представляет собой путь и имя файла для поврежденного файла. Например, введите icacls C:windowssystem32jscript.dll /grant administrators:F.
    Командной строки с правами администратора

  3. Замените поврежденный системный файл гарантировано работоспособной копией файла. Для этого скопируйте и вставьте (или введите) приведенную ниже команду и нажмите клавишу ВВОД:

    Copy Исходный_файл Расположение
    Примечание. Заполнитель Исходный_файл представляет собой путь и имя гарантировано работоспособной копии файла на вашем компьютере, а заполнитель Расположение представляет собой путь и имя поврежденного файла. Например, введите copy E:tempjscript.dll C:windowssystem32jscript.dll.

Если описанные выше действия не помогли, возможно, потребуется переустановить Windows. Дополнительные сведения см . в разделе Варианты восстановления Windows10.

Нужна дополнительная помощь?

Проверка целостности файлов Windows 10Проверка целостности системных файлов Windows 10 может пригодиться в том случае, если у вас есть основания полагать, что такие файлы были повреждены или же возникли подозрения о том, что какая-либо программа могла изменить системные файлы операционной системы.

В Windows 10 присутствует два инструмента для проверки целостности защищенных системных файлов и их автоматического восстановления при обнаружении повреждений — SFC.exe и DISM.exe, а также команда Repair-WindowsImage для Windows PowerShell (использующая DISM для работы). Вторая утилита служит дополнением первой, в случае, если SFC не удается восстановить поврежденные файлы.

Примечание: описываемые в инструкции действия безопасны, однако, в том случае, если до этого вы проделывали какие-либо операции, связанные с заменой или изменением системных файлов (например, для возможности установки сторонних тем и т.п.), в результате восстановления системных файлов, эти изменения будут отменены.

Использование SFC для проверки целостности и исправления системных файлов Windows 10

Многим пользователям знакома команда проверки целостности системных файлов sfc /scannow которая автоматически проверяет и исправляет защищенные системные файлы Windows 10.

Для запуска команды стандартно используется командная строка, запущенная от имени администратора (запустить командную строку от администратора в Windows 10 можно, введя «Командная строка» в поиске в панели задач, затем — правый клик по найденному результату — Запуск от имени администратора), вводим в нее sfc /scannow и нажимаем Enter.

После ввода команды, начнется проверка системы, по результатам которой найденные ошибки целостности, которые можно исправить (о том, какие нельзя — далее) будут автоматически исправлены с сообщением «Программа защиты ресурсов Windows обнаружила поврежденные файлы и успешно их восстановила», а в случае их отсутствия вы получите сообщение о том, что «Защита ресурсов Windows не обнаружила нарушений целостности».

Проверка целостности с помощью sfc scannow

Также имеется возможность проверить целостность конкретного системного файла, для этого можно использовать команду

sfc /scanfile="путь_к_файлу"

Однако при использовании команды есть один нюанс: SFC не может исправить ошибки целостности для тех системных файлов, которые используются в настоящий момент времени. Чтобы решить проблему, можно запустить SFC через командную строку в среде восстановления Windows 10.

Запуск проверки целостности Windows 10 с помощью SFC в среде восстановления

Для того, чтобы загрузиться в среде восстановления Windows 10, вы можете использовать следующие способы:

  1. Зайти в Параметры — Обновление и безопасность — Восстановление — Особые варианты загрузки — Перезагрузить сейчас. (Если пункт отсутствует, то вы можете также использовать такой метод: на экране входа в систему, кликните по значку «вкл» справа внизу, а затем, удерживая Shift, нажмите «Перезагрузка»).
  2. Загрузиться с заранее созданного диска восстановления Windows.
  3. Загрузиться с установочного диска или загрузочной флешки с дистрибутивом Windows 10, а в программе установки, на экране после выбора языка, слева внизу выбрать «Восстановление системы». Запуск командной строки в режиме восстановления
  4. После этого, зайдите в «Поиск и устранение неисправностей» — «Дополнительные параметры» — «Командная строка» (в случае если вы использовали первый из указанных выше способов, вам также потребуется ввести пароль администратора Windows 10). В командной строке по порядку используйте следующие команды:
  5. diskpart
  6. list volume
  7. exit
  8. sfc /scannow /offbootdir=C: /offwindir=C:Windows (где C — раздел с установленной системой, а C:Windows — путь к папке Windows 10, у вас буквы могут отличаться). Оффлайн-сканирование sfc /scannow
  9. Запустится сканирование целостности системных файлов операционной системы, при этом в этот раз команде SFC будет доступно восстановление всех файлов, при условии, что не повреждено хранилище ресурсов Windows.

Сканирование может продолжаться в течение значительного времени — пока мигает указатель подчеркивания, ваш компьютер или ноутбук не завис. По завершении закройте командную строку и перезагрузите компьютер в обычном режиме.

Восстановление хранилища компонентов Windows 10 с помощью DISM.exe

Утилита для развертывания и обслуживания образов Windows DISM.exe позволяет выявить и исправить те проблемы с хранилищем системных компонентов Windows 10, откуда при проверке и исправлении целостности системных файлов копируются оригинальные их версии. Это может быть полезным в тех ситуациях, когда защита ресурсов Windows не может выполнить восстановление файлов, несмотря на найденные повреждения. В этом случае сценарий будет следующим: восстанавливаем хранилище компонентов, а после этого снова прибегаем к использованию sfc /scannow.

Для использования DISM.exe, запустите командную строку от имени администратора. После чего можно использовать следующие команды:

Примечание: в случае, если команда восстановления хранилища компонентов не работает по той или иной причине, вы можете использовать файл install.wim (или esd) со смонтированного ISO образа Windows 10 (Как скачать Windows 10 ISO с сайта Microsoft) в качестве источника файлов, требующих восстановления (содержимое образа должно соответствовать установленной системе). Сделать это можно с помощью команды:

dism /Online /Cleanup-Image /RestoreHealth /Source:wim:путь_к_файлу_wim:1 /limitaccess

Вместо .wim можно использовать файл .esd тем же образом, заменив в команде все wim на esd.

При использовании указанных команд, журнал выполненных действий сохраняется в WindowsLogsCBSCBS.log и WindowsLogsDISMdism.log.

DISM.exe также можно использовать в Windows PowerShell, запущенном от имени администратора (запустить можно из меню правого клика по кнопке Пуск) с помощью команды Repair-WindowsImage. Примеры команд:

  • Repair-WindowsImage -Online -ScanHealth — проверка наличия повреждений системных файлов.
  • Repair-WindowsImage -Online -RestoreHealth — проверка и исправление повреждений.

Дополнительные методы восстановления хранилища компонентов, если описанные выше не срабатывают: Восстановление хранилища компонентов Windows 10.

Как видите, проверка целостности файлов в Windows 10 — не такая уж и сложная задача, которая порой может помочь исправить самые разные проблемы с ОС. Если не смогла, возможно, вам поможет что-то из вариантов в инструкции Восстановление Windows 10.

Как проверить целостность системных файлов Windows 10 — видео

Также предлагаю ознакомиться с видео, где использование основных команд проверки целостности показано наглядно с некоторыми пояснениями.

Дополнительная информация

Если sfc /scannow сообщает о том, что защите системы не удалось выполнить восстановление системных файлов, а восстановление хранилища компонентов (с последующим повторным запуском sfc) не помогло решить проблему, вы можете просмотреть, какие именно системные файлы были повреждены, обратившись к журналу CBS.log. Для того, чтобы экспортировать нужные сведения из журнала в текстовый файл sfc на рабочем столе, используйте команду:

findstr /c:"[SR]" %windir%LogsCBSCBS.log > "%userprofile%Desktopsfc.txt"

Также, по некоторым отзывам, проверка целостности с помощью SFC в Windows 10 может обнаруживать повреждения сразу после установки обновления с новой сборкой системы (без возможности исправить их, не установив новую сборку «начисто»), а также для некоторых версий драйверов видеокарт (в данном случае ошибка находится для файла opencl.dll. Если что-то из этих вариантов случилось и у вас, возможно, не следует предпринимать никаких действий.

Check expert solutions to eliminate or replace corrupt files

by Milan Stanojevic

Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He’s a PC enthusiast and he… read more


Updated on October 25, 2022

Reviewed by
Vlad Turiceanu

Vlad Turiceanu

Passionate about technology, Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming… read more

  • You can use the Windows built-in tools to repair corrupted files.
  • There’s the option to remove the corrupted system files from Windows 10 or repair them.
  • Some of the solutions for Windows 10 also work on Windows 11.

Repair corrupted files in Windows 10 and 11

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Many computer problems are caused by corrupted or damaged system files, and the Windows installation process is not an exception.

Fortunately, there are a few ways to fix corrupted system files on your system, and today we’re going to show you how to repair Windows 10 & 11 with ease, and how to prevent these types of problems from occurring again.

What causes corrupt system files in Windows 10?

A system file plays an important role in the operating system and when it gets damaged and cannot complete its function, it may be called corrupt.

All the programs can end up having corrupted files but when these files are part of the operating system, things can get a little bit more complicated. Some of the common causes include:

There are a lot of other possible reasons for which your Windows files or system files can become corrupted, but here are some of those:

  • Viruses and malware – Viruses and malware will sometimes cause system files to get corrupted. This occurrence is not very common as the main goal of a virus or malware is to gather important data, so crashing your system would not meet its end goal. But, if you spot a .djvu file extension, it is most likely a virus, so learn all the ways to remove it and secure your system. To keep yourself away from all the trouble, also check our curated list of the best antiviruses.
  • Power outages – These can happen randomly and without any telltale sign, and they can cause a lot of problems with your hard disk. If the part of the storage that contains your system installation is affected, the files that allow your OS to run normally may become corrupt. Do not hesitate to check the best UPS to keep your system up and running even in case of a power failure.
  • System crashes – System crashes may occur because of hardware or software problems and in turn, they may produce the corruption of system files. Check this guide to find out how to eliminate issues causing the system to crash in Windows 11.
  • Update errors – Update errors are pretty common and they often create problems with the system files and BSOD errors, which can lead to system file corruption. Check the linked guides for the best solutions to the following Windows Update error codes:
    • 0x800703f1
    • 0x8024ce0e
    • 0x80080008
  • Hardware problems – When the hard drive starts having problems reading and writing data, bad sectors and corrupt files can start occurring. Find out the best tools for hardware diagnostics in Windows.

Apart from the reasons listed above, there are various corrupted file generator tools that could have been used. If that’s the case, head to that very tool or website for the solution.

Of course, to avoid system corruption, you should keep your system updated and maintain your hard drive as clean as possible. But if you still run into trouble, our solutions below will definitely help you.

How do I fix corrupted files on Windows 10?

1. Use the SFC tool

1.1 Run System File Checker

1. Press the Windows key to open the Windows Search box.

2. Type cmd in the search box and click on Run as Administrator to open an elevated Command Prompt window.

run cmd as admin

3. Input the following command: sfc /scannow

sfc-scannow explorer.exe class not registered

4. Press Enter to run the command. The repair process will begin.

5. Don’t close Command Prompt or interrupt the repair process. It can take a while, so wait patiently while it completes.

If you want to repair corrupted files on your Windows 10 device, you need to perform an SFC (System File Checker) scan. It can be done easily with a command-line tool such as Command Prompt.

When you run the SFC scan, it will identify the problems and repair missing or corrupted system files in Windows 10. Also, it can easily take care of issues when the C drive is corrupted in Windows 10.

After the repair process is finished, if your system files are not corrupted, you’ll see the message Windows Resource Protection did not find any integrity violations.

However, the System File Checker tool can’t always fix corrupted files, so keep that in mind.

1.2 Check the SFC log

  1. Enter cmd in the Windows Search Bar and click on Run as administrator to open Command Prompt with full rights.
  2. Enter the following command and press Enter (By doing this, you’ll create a sfclogs.txt file on your Desktop): findstr /c:"[SR]" %windir%logscbscbs.log >sfcdetails.txt
  3. Open the sfcdetails.txt and check the results of SFC scan.

Keep in mind that this log file contains only information related to the SFC scan that is performed in Windows. Using the two methods listed above, you can easily do a CMD scan and repair.

2. Use the DISM tool

  1. Press the Windows key + X and click on Windows PowerShell (Admin) or Command Prompt (Admin) to open the app with administrative privileges.
  2. Type/paste the following command and press Enter: DISM /Online /Cleanup-Image /RestoreHealth
  3. The repair process can take 10 minutes or more, so be patient and don’t interrupt it.
  4. After DISM tool repairs your files, restart your PC.

DISM stands for Deployment Image Servicing & Management, and it’s used to fix any corruption problems that can prevent the SFC tool from running optimally. Also, this tool will help if the Windows 11 installation file is corrupted.

3. Run a SFC scan from Safe Mode

  1. Press the Windows key to launch the Start menu, click on the Power button, and while holding the Shift key, select Restart.Restart Windows 11
  2. You’ll see three options available. Select Troubleshoot.
  3. Select Advanced options.Advanced options to repair Windows 10
  4. Next, click Startup Settings.Startup settings to repair Windows 10
  5. Click the Restart button.Restart to repair Windows 10
  6. When your PC restarts, you’ll see a list of options. Select any version of Safe Mode by pressing the appropriate key.Boot into safe mode to repair Windows 10

When Safe Mode starts, repeat the steps from Solution 1 to perform an SFC scan.

Sometimes, an SFC scan can’t repair your files by running Windows normally, but if that happens, you can try running the SFC tool in Safe Mode.

Safe Mode is a special mode that uses only default drivers and applications and by using it, you’ll eliminate any possible interference from third-party apps.

4. Perform a SFC scan before Windows 10 starts

  1. Press the Power button to turn on the system, and as soon as the Windows logo appears, hold it to turn off the computer.
  2. Repeat the same process thrice, and on the fourth attempt, Windows will automatically perform a Startup repair.
  3. Once the process is complete, click on Advanced options.Advanced options
  4. When the list of options appears, select Troubleshoot.
  5. Choose Advanced options and select Command Prompt.registry error advanced options
  6. When your PC restarts, you might be asked to enter your username and password, so be sure to do that.
  7. Find the letter of your Windows 10 drive. To do that, enter the following command and press Enter: wmic logicaldisk get deviceid, volumename, description
  8. Pay attention to Volume Name. In most cases Windows Volume Name will be assigned to the letter D. This is perfectly normal if you start Command Prompt before starting Windows, so no need to worry about it.
  9. Also check System Reserved drive. In most cases, it should be C.
  10. Enter the following command and press Enter (Be sure to use the letters that you got from the previous steps): sfc /scannow /offbootdir=C: /offwindir=D:Windows
  11. Wait while your system files are scanned.
  12. After the scan is completed, close Command Prompt and start Windows 10 normally.

Sometimes you need to scan and repair protected system files, but you can’t do that by running Windows 10 normally.

To scan protected system files you’ll have to run an SFC scan before Windows 10 starts as shown above in this solution.

5. Replace the files manually

  1. Press the Windows key + X combination and select Windows PowerShell (Admin) or Command Prompt (Admin), depending on your system’s settings.
  2. Paste or type the following command and press Enter: takeown /f C:corrupted-file-location-and-file-name
    • Remember to replace corrupted-file-location-and-file-name with the actual location of the corrupted file. You need to include both the file name and extension and not just the location of the directory (By running the takeown command you’ll have ownership over the corrupted file).
  3. Include the following command to gain full administrator privileges over the file and press Enter: icacls C:corrupted-file-location-and-file-name /Grant Administrators:F
    • Once again, replace the corrupted-file-location-and-file-name with the actual location of the file.
  4. Now you need to replace the problematic file with the healthy file that you copied from a different PC.
  5. Paste the following command and press Enter: copy C:location-of-healthy-file C:corrupted-file-location-and-file-name
  6. Enter Yes if you’re asked whether you want to overwrite the file.
  7. Repeat these steps for all corrupted files.
  8. After all corrupted files are replaced, run the following command to verify if the problem with corrupted files is fixed: SFC /verifyonly

Note icon
NOTE

This is one of the more advanced solutions, so be sure to follow it exactly. We also advise you to be extra cautious while performing the steps, as getting them wrong could cause system instability.

First, you need to open your SFC log and check which corrupted files can’t be repaired. We already explained how to view the SFC log file in Solution 1, so be sure to check it out for instructions.

After you find the corrupted file, you need to transfer a healthy version of that file from another PC to your PC. Keep in mind that both PCs have to use the same version of Windows 10.

6. Use the System Restore feature

  1. Press Windows Key + S, type create a restore point, and select the option from the results.
  2. Click on the System Restore button.
  3. You will be recommended the latest restore point, but you can click on Choose a different restore point and hit the Next button to select a previously created one.Restore to repair Windows 10
  4. Select the desired restore point and click Next.Choose restore point to repair Windows 10
  5. Follow the instructions on the screen to perform the restoration.

After the process is complete, system files should be restored to the previous healthy version.

System Restore is a useful feature that will restore your system to an earlier state. If you are unable to fix corrupted files, you might want to consider performing System Restore.

If all these steps seem a bit too complicated for you, you could also use an automated Windows 10 repair tool in order to perform the same actions without any worries.

We recommend using a professional program that restores system values to their default version automatically, without affecting personal files or data.

Restoring your system to a previous state can fix a number of system issues. A simpler way to safely restore your system is using a specialized tool that can do all the work for you.

Restoro will automatically scan your PC for problematic files and will replace all critical Windows system files that are malfunctioning with previous versions that are working perfectly.

Here’s how you can perform this action:

  1. Download and install Restoro.
  2. Launch the application.
  3. Wait for it to find any system stability issues.
  4. Press Start Repair.
  5. Restart your PC for all the changes to take effect.

The built-in system restoration tool will revert your Windows to a previous version, therefore you can lose some precious data that was saved after the restoration point was made. You can always return your system to its pre-repair condition.

⇒ Get Restoro


Disclaimer: This program needs to be upgraded from the free version in order to perform some specific actions.


7. Reset corrupted Windows 10

  1. Press the Windows key to open the Start Menu.
  2. Then, click the Power button, press and hold the Shift key, and select the Restart option.Restart in Windows RE to repair Windows 10
  3. Choose Troubleshoot and select Reset this PC.
  4. You have two options available:
    • Keep my files will reinstall Windows 10, but it will keep your personal files and settings.
    • Remove everything will remove both personal files and settings (Keep in mind that third-party applications and downloaded files will be removed by performing the reset).
  5. If asked whether you want to clean the drive, choose the Just remove my files option.
  6. Choose your username and enter its password (If you’re asked to insert Windows 10 installation media, be sure to do so).
  7. Select your version of Windows and click the Reset button to start.
  8. Follow the instructions on the screen to complete the process.

If everything else fails, you might have to reset your Windows 10. This process will remove your installed apps and files, so be sure to back up important files.

You might need a Windows 10 installation media to perform this process, so be sure to create one using a bootable USB flash drive. Once done, you can repair Windows 10 system files from USB.

If the reset process didn’t fix the problem, repeat it, but choose the second option, Remove everything. Then select the Only the drive where Windows is installed option and finally select the Just remove my files option.

If that doesn’t fix the problem, perform a clean install of Windows 10 by using our comprehensive guide. With this, you will be able to reset corrupted Windows 10.

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

After going through all these methods, you know how to get rid of corrupted files in Windows 10. Also, you are now aware of how to recover corrupted files in Windows 10.

There are also great third-party software that can help you repair easily the majority of Windows 10/11 problems you may encounter, check out this guide and learn more.

Besides many of you might be wondering how to fix corrupted files in Windows 7? And you will certainly be pleased with the answer. The methods listed above will work as effectively and fix corrupted files in this OS as well.

Read more about this topic

  • Sfc /scannow stops on Windows 10/11 [BEST SOLUTIONS]
  • 5+ best Windows update repair tools for Windows 10/11
  • Fix: Restart to repair drive errors on Windows 10/11
  • Windows 10/11 Update Error 0x800703f1 [FIX]
  • How to fix Logilda.dll error/not found on Windows 10/11

How to fix corrupted files in Windows 11 using Startup Repair?

  1. Press Windows + I to launch the Settings app, and click on Recovery on the right in the System tab.Recovery to repair Windows 10
  2. Click on the Restart now button next to Advanced startup.Restart now to repair Windows 10
  3. Once your computer enter the Windows RE (Recovery Environment), click on Troubleshoot.Troubleshoot to repair Windows 10
  4. Next, click on Advanced options.Advanced options to repair Windows 10
  5. Now, select Startup repair from the options listed here.Startup repair to repair Windows 10
  6. Select your user account.Select User account to repair Windows 10
  7. Enter the password for your user account, if you have set one, and click on Continue to start the Startup Repair.Enter password to repair Windows 10

The Startup Repair tool helps repair issues preventing OS from booting effectively. And this is most likely due to the presence of corrupt system files in Windows 11 or the complete absence of certain critical system files.

It will automatically scan for corrupt files, and either replace or remove them, thus eliminating the problem. The tool may sometimes take a while to run, but it’s recommended that you let the process complete and not terminate it mid-way.

Also, bear in mind that the method listed above is in addition to the ones in the previous section. You can try those as well to get rid of corrupt files in Windows 11.

For those of you trying to learn how to fix corrupted files in Mac, the process may be different but the idea is pretty much the same.

How to find corrupted files in Windows 10?

The process itself is not tricky but will require you to be attentive to minute details. If it’s the corrupt system files in Windows 10 or 11, you will notice performance-related issues, or may not be able to use certain features.

In the worst case, the OS won’t boot at all, which can be fixed by running the DISM tool, SFC scan, or the Startup Repair tool from the Recovery Environment, as discussed in the previous sections.

In the case of corrupted files on SSD, you might not be able to access these or they may crash soon after launch. The same is the case for an SD card, so if you have been wondering how to fix corrupted files on an SD card, just try the methods listed earlier, or use a dedicated third-party tool.

Many users believe in the idea of a corrupted files virus since they are unable to use these files. But that’s not the case, and you should never delete them. Instead, go with the troubleshooting to repair these.

Until now, we have discussed a particular segment or location of the corrupted files, but certain formats may also corrupt.

Several users have reported coming across corrupted PDF files, corrupted Word files, corrupted GIF files, corrupted JPEG files, or corrupted PNG files, and you can check the best ways to fix them in the linked guides.

Apart from these, if you want to learn how to fix missing or corrupted DLL files in Windows 10, check this guide.

How to fix corrupted game files on Windows 10 PCs?

In the case of corrupt game files, that particular game will crash frequently or it may fail to run altogether. Several platforms, such as Steam and Xbox, have a built-in feature to replace or repair corrupted game files.

Also, the Repair and Reset feature built-in with Windows allows users to easily fix corrupted game file issues in Windows. The option can be found in the Apps settings. But, do keep in mind that you will not find the option for all apps installed on the computer.

So, if you made any changes or were trying to get a cheat code to work, it might corrupt game files and call for repair in Windows 10. Apart from that, downloading applications from unreliable sources is also known to cause issues with the files.

Be it the League of Legends corrupted files, Valorant corrupted files, Minecraft corrupted files, Forza Horizon 5 corrupted files, GT5 corrupted files, Civ 5 corrupted files, or any other game for that matter, you could easily go ahead with the corrupted files replacements using the dedicated platform.

How can I prevent file system corruption?

We’ve already explained why this problem occurs and how can you fix it but if you’re not careful, it can happen again.

Of course, not all the issues can be avoided but we can supply a couple of tips that will help with corrupted files prevention in Windows.

Protect your PC with an antivirus

Viruses and malware are some of the main causes of system corruption, so it’s reasonable to start thinking about protecting your PC with an antivirus.

Windows Defender, the built-in antivirus can do a great job but if you like to live more dangerous and visit untrusted websites, you can also pick one of the best antiviruses for Windows 11 from our list to make things safer.

We are using the powerful Eset Smart Security Premium to protect our PCs, which offers great scanning options.

Eset Smart Security Premium running on our system

The possibility to pause its protection for a specified amount of time is extremely useful, and the fact that it contains a Gaming mode ensures that you won’t be bothered while gaming.

Maintain your hard-drive

HDDs are more vulnerable than SSDs when it comes to physical damage and their resilience over time.

After a while, an HDD can develop bad sectors simply from normal usage and if you add power surges, power outages, or drops, you can get serious problems.

You can prevent power-related issues by getting an uninterruptable power supply, a device that acts as a buffer between your PC and the outlet and mitigates any such issues.

Also, you can also maintain your hard drive in good condition by defragmenting it and checking for errors by using the system tools.

But, do remember to never defragment an SSD since it has no real benefit and can actually harm the health of the drive and reduce its life.

Here is how you can easily perform defragmentation of your HDD in Windows 10:

  1. Click on the Search button on your taskbar, and type defrag.
  2. Select Defragment and Optimize Drives.
  3. Choose the drive you want to optimize and click the Optimize button to initiate the process.
  4. As soon as the process is finished, you will see that the Current status section has changed.

Other useful tips

  • Shut down and restart your computer properly by using the standard methods and not the physical power button
  • Always ensure that you meet the requirements when updating your system and installing software
  • Remove external drives safely; use the option from the system tray or from File Explorer, don’t just remove the drive from the port
  • Avoid interrupting any system process when you are performing a SFC, DISM, CHKDSK or any other system scan
  • Don’t delete any system files without knowing exactly what you’re doing

Sometimes, you will find a file unreadable even after following the steps listed above. That doesn’t mean that it’s still corrupt, but it’s simply unreadable. To fix that, check the best tools to make corrupted files readable after recovery.

Also, you may come across ads claiming to excel at Windows 10 online repair, but it’s recommended that you first check the source and verify that they are not malware or virus disguised as a repair tool.

We hope that our guide helped you repair corrupted files in Windows 10 and that your PC is now in perfect working order.

Fixing corrupted system files is sometimes difficult, and if you can’t repair the files with the SFC tool, you’ll need to use the DISM tool instead. If issues persist, you’ll have to reset your PC or perform a clean install, but all these methods will help fix corrupted files free of cost.

You should also try a third-party tool. We’ve got an excellent list including the best repair tools that will fix corrupted files in Windows 10.

If you have any other suggestions or questions, you can write them in the comment section below.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

newsletter icon

Newsletter

Check expert solutions to eliminate or replace corrupt files

by Milan Stanojevic

Milan has been enthusiastic about technology ever since his childhood days, and this led him to take interest in all PC-related technologies. He’s a PC enthusiast and he… read more


Updated on October 25, 2022

Reviewed by
Vlad Turiceanu

Vlad Turiceanu

Passionate about technology, Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world. Coming… read more

  • You can use the Windows built-in tools to repair corrupted files.
  • There’s the option to remove the corrupted system files from Windows 10 or repair them.
  • Some of the solutions for Windows 10 also work on Windows 11.

Repair corrupted files in Windows 10 and 11

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend Restoro PC Repair Tool:
This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues and remove viruses now in 3 easy steps:

  1. Download Restoro PC Repair Tool that comes with Patented Technologies (patent available here).
  2. Click Start Scan to find Windows issues that could be causing PC problems.
  3. Click Repair All to fix issues affecting your computer’s security and performance
  • Restoro has been downloaded by 0 readers this month.

Many computer problems are caused by corrupted or damaged system files, and the Windows installation process is not an exception.

Fortunately, there are a few ways to fix corrupted system files on your system, and today we’re going to show you how to repair Windows 10 & 11 with ease, and how to prevent these types of problems from occurring again.

What causes corrupt system files in Windows 10?

A system file plays an important role in the operating system and when it gets damaged and cannot complete its function, it may be called corrupt.

All the programs can end up having corrupted files but when these files are part of the operating system, things can get a little bit more complicated. Some of the common causes include:

There are a lot of other possible reasons for which your Windows files or system files can become corrupted, but here are some of those:

  • Viruses and malware – Viruses and malware will sometimes cause system files to get corrupted. This occurrence is not very common as the main goal of a virus or malware is to gather important data, so crashing your system would not meet its end goal. But, if you spot a .djvu file extension, it is most likely a virus, so learn all the ways to remove it and secure your system. To keep yourself away from all the trouble, also check our curated list of the best antiviruses.
  • Power outages – These can happen randomly and without any telltale sign, and they can cause a lot of problems with your hard disk. If the part of the storage that contains your system installation is affected, the files that allow your OS to run normally may become corrupt. Do not hesitate to check the best UPS to keep your system up and running even in case of a power failure.
  • System crashes – System crashes may occur because of hardware or software problems and in turn, they may produce the corruption of system files. Check this guide to find out how to eliminate issues causing the system to crash in Windows 11.
  • Update errors – Update errors are pretty common and they often create problems with the system files and BSOD errors, which can lead to system file corruption. Check the linked guides for the best solutions to the following Windows Update error codes:
    • 0x800703f1
    • 0x8024ce0e
    • 0x80080008
  • Hardware problems – When the hard drive starts having problems reading and writing data, bad sectors and corrupt files can start occurring. Find out the best tools for hardware diagnostics in Windows.

Apart from the reasons listed above, there are various corrupted file generator tools that could have been used. If that’s the case, head to that very tool or website for the solution.

Of course, to avoid system corruption, you should keep your system updated and maintain your hard drive as clean as possible. But if you still run into trouble, our solutions below will definitely help you.

How do I fix corrupted files on Windows 10?

1. Use the SFC tool

1.1 Run System File Checker

1. Press the Windows key to open the Windows Search box.

2. Type cmd in the search box and click on Run as Administrator to open an elevated Command Prompt window.

run cmd as admin

3. Input the following command: sfc /scannow

sfc-scannow explorer.exe class not registered

4. Press Enter to run the command. The repair process will begin.

5. Don’t close Command Prompt or interrupt the repair process. It can take a while, so wait patiently while it completes.

If you want to repair corrupted files on your Windows 10 device, you need to perform an SFC (System File Checker) scan. It can be done easily with a command-line tool such as Command Prompt.

When you run the SFC scan, it will identify the problems and repair missing or corrupted system files in Windows 10. Also, it can easily take care of issues when the C drive is corrupted in Windows 10.

After the repair process is finished, if your system files are not corrupted, you’ll see the message Windows Resource Protection did not find any integrity violations.

However, the System File Checker tool can’t always fix corrupted files, so keep that in mind.

1.2 Check the SFC log

  1. Enter cmd in the Windows Search Bar and click on Run as administrator to open Command Prompt with full rights.
  2. Enter the following command and press Enter (By doing this, you’ll create a sfclogs.txt file on your Desktop): findstr /c:"[SR]" %windir%logscbscbs.log >sfcdetails.txt
  3. Open the sfcdetails.txt and check the results of SFC scan.

Keep in mind that this log file contains only information related to the SFC scan that is performed in Windows. Using the two methods listed above, you can easily do a CMD scan and repair.

2. Use the DISM tool

  1. Press the Windows key + X and click on Windows PowerShell (Admin) or Command Prompt (Admin) to open the app with administrative privileges.
  2. Type/paste the following command and press Enter: DISM /Online /Cleanup-Image /RestoreHealth
  3. The repair process can take 10 minutes or more, so be patient and don’t interrupt it.
  4. After DISM tool repairs your files, restart your PC.

DISM stands for Deployment Image Servicing & Management, and it’s used to fix any corruption problems that can prevent the SFC tool from running optimally. Also, this tool will help if the Windows 11 installation file is corrupted.

3. Run a SFC scan from Safe Mode

  1. Press the Windows key to launch the Start menu, click on the Power button, and while holding the Shift key, select Restart.Restart Windows 11
  2. You’ll see three options available. Select Troubleshoot.
  3. Select Advanced options.Advanced options to repair Windows 10
  4. Next, click Startup Settings.Startup settings to repair Windows 10
  5. Click the Restart button.Restart to repair Windows 10
  6. When your PC restarts, you’ll see a list of options. Select any version of Safe Mode by pressing the appropriate key.Boot into safe mode to repair Windows 10

When Safe Mode starts, repeat the steps from Solution 1 to perform an SFC scan.

Sometimes, an SFC scan can’t repair your files by running Windows normally, but if that happens, you can try running the SFC tool in Safe Mode.

Safe Mode is a special mode that uses only default drivers and applications and by using it, you’ll eliminate any possible interference from third-party apps.

4. Perform a SFC scan before Windows 10 starts

  1. Press the Power button to turn on the system, and as soon as the Windows logo appears, hold it to turn off the computer.
  2. Repeat the same process thrice, and on the fourth attempt, Windows will automatically perform a Startup repair.
  3. Once the process is complete, click on Advanced options.Advanced options
  4. When the list of options appears, select Troubleshoot.
  5. Choose Advanced options and select Command Prompt.registry error advanced options
  6. When your PC restarts, you might be asked to enter your username and password, so be sure to do that.
  7. Find the letter of your Windows 10 drive. To do that, enter the following command and press Enter: wmic logicaldisk get deviceid, volumename, description
  8. Pay attention to Volume Name. In most cases Windows Volume Name will be assigned to the letter D. This is perfectly normal if you start Command Prompt before starting Windows, so no need to worry about it.
  9. Also check System Reserved drive. In most cases, it should be C.
  10. Enter the following command and press Enter (Be sure to use the letters that you got from the previous steps): sfc /scannow /offbootdir=C: /offwindir=D:Windows
  11. Wait while your system files are scanned.
  12. After the scan is completed, close Command Prompt and start Windows 10 normally.

Sometimes you need to scan and repair protected system files, but you can’t do that by running Windows 10 normally.

To scan protected system files you’ll have to run an SFC scan before Windows 10 starts as shown above in this solution.

5. Replace the files manually

  1. Press the Windows key + X combination and select Windows PowerShell (Admin) or Command Prompt (Admin), depending on your system’s settings.
  2. Paste or type the following command and press Enter: takeown /f C:corrupted-file-location-and-file-name
    • Remember to replace corrupted-file-location-and-file-name with the actual location of the corrupted file. You need to include both the file name and extension and not just the location of the directory (By running the takeown command you’ll have ownership over the corrupted file).
  3. Include the following command to gain full administrator privileges over the file and press Enter: icacls C:corrupted-file-location-and-file-name /Grant Administrators:F
    • Once again, replace the corrupted-file-location-and-file-name with the actual location of the file.
  4. Now you need to replace the problematic file with the healthy file that you copied from a different PC.
  5. Paste the following command and press Enter: copy C:location-of-healthy-file C:corrupted-file-location-and-file-name
  6. Enter Yes if you’re asked whether you want to overwrite the file.
  7. Repeat these steps for all corrupted files.
  8. After all corrupted files are replaced, run the following command to verify if the problem with corrupted files is fixed: SFC /verifyonly

Note icon
NOTE

This is one of the more advanced solutions, so be sure to follow it exactly. We also advise you to be extra cautious while performing the steps, as getting them wrong could cause system instability.

First, you need to open your SFC log and check which corrupted files can’t be repaired. We already explained how to view the SFC log file in Solution 1, so be sure to check it out for instructions.

After you find the corrupted file, you need to transfer a healthy version of that file from another PC to your PC. Keep in mind that both PCs have to use the same version of Windows 10.

6. Use the System Restore feature

  1. Press Windows Key + S, type create a restore point, and select the option from the results.
  2. Click on the System Restore button.
  3. You will be recommended the latest restore point, but you can click on Choose a different restore point and hit the Next button to select a previously created one.Restore to repair Windows 10
  4. Select the desired restore point and click Next.Choose restore point to repair Windows 10
  5. Follow the instructions on the screen to perform the restoration.

After the process is complete, system files should be restored to the previous healthy version.

System Restore is a useful feature that will restore your system to an earlier state. If you are unable to fix corrupted files, you might want to consider performing System Restore.

If all these steps seem a bit too complicated for you, you could also use an automated Windows 10 repair tool in order to perform the same actions without any worries.

We recommend using a professional program that restores system values to their default version automatically, without affecting personal files or data.

Restoring your system to a previous state can fix a number of system issues. A simpler way to safely restore your system is using a specialized tool that can do all the work for you.

Restoro will automatically scan your PC for problematic files and will replace all critical Windows system files that are malfunctioning with previous versions that are working perfectly.

Here’s how you can perform this action:

  1. Download and install Restoro.
  2. Launch the application.
  3. Wait for it to find any system stability issues.
  4. Press Start Repair.
  5. Restart your PC for all the changes to take effect.

The built-in system restoration tool will revert your Windows to a previous version, therefore you can lose some precious data that was saved after the restoration point was made. You can always return your system to its pre-repair condition.

⇒ Get Restoro


Disclaimer: This program needs to be upgraded from the free version in order to perform some specific actions.


7. Reset corrupted Windows 10

  1. Press the Windows key to open the Start Menu.
  2. Then, click the Power button, press and hold the Shift key, and select the Restart option.Restart in Windows RE to repair Windows 10
  3. Choose Troubleshoot and select Reset this PC.
  4. You have two options available:
    • Keep my files will reinstall Windows 10, but it will keep your personal files and settings.
    • Remove everything will remove both personal files and settings (Keep in mind that third-party applications and downloaded files will be removed by performing the reset).
  5. If asked whether you want to clean the drive, choose the Just remove my files option.
  6. Choose your username and enter its password (If you’re asked to insert Windows 10 installation media, be sure to do so).
  7. Select your version of Windows and click the Reset button to start.
  8. Follow the instructions on the screen to complete the process.

If everything else fails, you might have to reset your Windows 10. This process will remove your installed apps and files, so be sure to back up important files.

You might need a Windows 10 installation media to perform this process, so be sure to create one using a bootable USB flash drive. Once done, you can repair Windows 10 system files from USB.

If the reset process didn’t fix the problem, repeat it, but choose the second option, Remove everything. Then select the Only the drive where Windows is installed option and finally select the Just remove my files option.

If that doesn’t fix the problem, perform a clean install of Windows 10 by using our comprehensive guide. With this, you will be able to reset corrupted Windows 10.

Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.

After going through all these methods, you know how to get rid of corrupted files in Windows 10. Also, you are now aware of how to recover corrupted files in Windows 10.

There are also great third-party software that can help you repair easily the majority of Windows 10/11 problems you may encounter, check out this guide and learn more.

Besides many of you might be wondering how to fix corrupted files in Windows 7? And you will certainly be pleased with the answer. The methods listed above will work as effectively and fix corrupted files in this OS as well.

Read more about this topic

  • Sfc /scannow stops on Windows 10/11 [BEST SOLUTIONS]
  • 5+ best Windows update repair tools for Windows 10/11
  • Fix: Restart to repair drive errors on Windows 10/11
  • Windows 10/11 Update Error 0x800703f1 [FIX]
  • How to fix Logilda.dll error/not found on Windows 10/11

How to fix corrupted files in Windows 11 using Startup Repair?

  1. Press Windows + I to launch the Settings app, and click on Recovery on the right in the System tab.Recovery to repair Windows 10
  2. Click on the Restart now button next to Advanced startup.Restart now to repair Windows 10
  3. Once your computer enter the Windows RE (Recovery Environment), click on Troubleshoot.Troubleshoot to repair Windows 10
  4. Next, click on Advanced options.Advanced options to repair Windows 10
  5. Now, select Startup repair from the options listed here.Startup repair to repair Windows 10
  6. Select your user account.Select User account to repair Windows 10
  7. Enter the password for your user account, if you have set one, and click on Continue to start the Startup Repair.Enter password to repair Windows 10

The Startup Repair tool helps repair issues preventing OS from booting effectively. And this is most likely due to the presence of corrupt system files in Windows 11 or the complete absence of certain critical system files.

It will automatically scan for corrupt files, and either replace or remove them, thus eliminating the problem. The tool may sometimes take a while to run, but it’s recommended that you let the process complete and not terminate it mid-way.

Also, bear in mind that the method listed above is in addition to the ones in the previous section. You can try those as well to get rid of corrupt files in Windows 11.

For those of you trying to learn how to fix corrupted files in Mac, the process may be different but the idea is pretty much the same.

How to find corrupted files in Windows 10?

The process itself is not tricky but will require you to be attentive to minute details. If it’s the corrupt system files in Windows 10 or 11, you will notice performance-related issues, or may not be able to use certain features.

In the worst case, the OS won’t boot at all, which can be fixed by running the DISM tool, SFC scan, or the Startup Repair tool from the Recovery Environment, as discussed in the previous sections.

In the case of corrupted files on SSD, you might not be able to access these or they may crash soon after launch. The same is the case for an SD card, so if you have been wondering how to fix corrupted files on an SD card, just try the methods listed earlier, or use a dedicated third-party tool.

Many users believe in the idea of a corrupted files virus since they are unable to use these files. But that’s not the case, and you should never delete them. Instead, go with the troubleshooting to repair these.

Until now, we have discussed a particular segment or location of the corrupted files, but certain formats may also corrupt.

Several users have reported coming across corrupted PDF files, corrupted Word files, corrupted GIF files, corrupted JPEG files, or corrupted PNG files, and you can check the best ways to fix them in the linked guides.

Apart from these, if you want to learn how to fix missing or corrupted DLL files in Windows 10, check this guide.

How to fix corrupted game files on Windows 10 PCs?

In the case of corrupt game files, that particular game will crash frequently or it may fail to run altogether. Several platforms, such as Steam and Xbox, have a built-in feature to replace or repair corrupted game files.

Also, the Repair and Reset feature built-in with Windows allows users to easily fix corrupted game file issues in Windows. The option can be found in the Apps settings. But, do keep in mind that you will not find the option for all apps installed on the computer.

So, if you made any changes or were trying to get a cheat code to work, it might corrupt game files and call for repair in Windows 10. Apart from that, downloading applications from unreliable sources is also known to cause issues with the files.

Be it the League of Legends corrupted files, Valorant corrupted files, Minecraft corrupted files, Forza Horizon 5 corrupted files, GT5 corrupted files, Civ 5 corrupted files, or any other game for that matter, you could easily go ahead with the corrupted files replacements using the dedicated platform.

How can I prevent file system corruption?

We’ve already explained why this problem occurs and how can you fix it but if you’re not careful, it can happen again.

Of course, not all the issues can be avoided but we can supply a couple of tips that will help with corrupted files prevention in Windows.

Protect your PC with an antivirus

Viruses and malware are some of the main causes of system corruption, so it’s reasonable to start thinking about protecting your PC with an antivirus.

Windows Defender, the built-in antivirus can do a great job but if you like to live more dangerous and visit untrusted websites, you can also pick one of the best antiviruses for Windows 11 from our list to make things safer.

We are using the powerful Eset Smart Security Premium to protect our PCs, which offers great scanning options.

Eset Smart Security Premium running on our system

The possibility to pause its protection for a specified amount of time is extremely useful, and the fact that it contains a Gaming mode ensures that you won’t be bothered while gaming.

Maintain your hard-drive

HDDs are more vulnerable than SSDs when it comes to physical damage and their resilience over time.

After a while, an HDD can develop bad sectors simply from normal usage and if you add power surges, power outages, or drops, you can get serious problems.

You can prevent power-related issues by getting an uninterruptable power supply, a device that acts as a buffer between your PC and the outlet and mitigates any such issues.

Also, you can also maintain your hard drive in good condition by defragmenting it and checking for errors by using the system tools.

But, do remember to never defragment an SSD since it has no real benefit and can actually harm the health of the drive and reduce its life.

Here is how you can easily perform defragmentation of your HDD in Windows 10:

  1. Click on the Search button on your taskbar, and type defrag.
  2. Select Defragment and Optimize Drives.
  3. Choose the drive you want to optimize and click the Optimize button to initiate the process.
  4. As soon as the process is finished, you will see that the Current status section has changed.

Other useful tips

  • Shut down and restart your computer properly by using the standard methods and not the physical power button
  • Always ensure that you meet the requirements when updating your system and installing software
  • Remove external drives safely; use the option from the system tray or from File Explorer, don’t just remove the drive from the port
  • Avoid interrupting any system process when you are performing a SFC, DISM, CHKDSK or any other system scan
  • Don’t delete any system files without knowing exactly what you’re doing

Sometimes, you will find a file unreadable even after following the steps listed above. That doesn’t mean that it’s still corrupt, but it’s simply unreadable. To fix that, check the best tools to make corrupted files readable after recovery.

Also, you may come across ads claiming to excel at Windows 10 online repair, but it’s recommended that you first check the source and verify that they are not malware or virus disguised as a repair tool.

We hope that our guide helped you repair corrupted files in Windows 10 and that your PC is now in perfect working order.

Fixing corrupted system files is sometimes difficult, and if you can’t repair the files with the SFC tool, you’ll need to use the DISM tool instead. If issues persist, you’ll have to reset your PC or perform a clean install, but all these methods will help fix corrupted files free of cost.

You should also try a third-party tool. We’ve got an excellent list including the best repair tools that will fix corrupted files in Windows 10.

If you have any other suggestions or questions, you can write them in the comment section below.

Still having issues? Fix them with this tool:

SPONSORED

If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.

newsletter icon

Newsletter

В этом посте мы увидим, как вручную заменить поврежденный единственный системный файл Windows на заведомо исправную копию файла, если средство проверки системных файлов не работает. Встроенная программа проверки системных файлов – это инструмент, который вы можете легко запустить, чтобы заменить потенциально поврежденные или отсутствующие системные файлы хорошими. Но может случиться так, что SFC не сможет заменить поврежденный файл и выдаст сообщение об ошибке. В этом посте мы увидим, как вручную заменить один поврежденный системный файл Windows на заведомо исправную копию файла, если SFC не работает.

Читать . Как использовать средство проверки системных файлов для замены одного поврежденного файла.

Как исправить поврежденный системный файл в Windows 10

Прежде всего, вам необходимо открыть следующие файлы журнала и определить, какой именно файл был поврежден:

  • % USERPROFILE% Desktop sfcdetails.txt
  • CBS.Log% WinDir% Logs CBS CBS.log

Вы сможете увидеть детали там.

После того, как вы узнаете имя и путь к файлу, вы должны стать владельцем этого поврежденного файла.

Для этого откройте командную строку с повышенными правами и выполните следующую команду:

 takeown/f FileNameAndPath 

Здесь FileNameAndPath представляет путь и имя поврежденного файла. Например, это wuapi.dll было повреждено, затем введите:

 takeown/f C:  Windows  System32  wuapi.dll 

Затем вы должны предоставить администраторам полный доступ и контроль над этим файлом.

Для этого откройте командную строку с повышенными правами и выполните следующую команду:

 icacls FileNameAndPath/GRANT ADMINISTRATORS: F 

В нашем примере это будет:

 icacls C:  Windows  System32  wuapi.dll/предоставить администраторам: F 

Как заменить поврежденный системный файл Windows хорошей копией

Теперь вам нужно заменить поврежденный файл хорошей копией. Для этого откройте командную строку с повышенными правами и выполните следующую команду:

 копировать NewFileLocation FileNameAndPath 

Здесь NewFileLocation – это место, где вы сохранили хороший файл. Так что если вы сохранили его на рабочем столе, в нашем примере это будет:

 копия C:  Users \ Desktop  wuapi.dll C:  windows  system32  wuapi.dll 

Это должно помочь!

Связанные чтения:

  1. Проверка системных файлов SFC не может восстановить поврежденный файл участника
  2. Служба защиты ресурсов Windows обнаружила поврежденные файлы, но не смогла исправить некоторые из них
  3. Проверка системных файлов не работает, не запускается или не может быть восстановлена
  4. Windows Resource Protection не удалось запустить службу восстановления
  5. Запустите проверку системных файлов в безопасном режиме, во время загрузки или в автономном режиме
  6. Восстановите хранилище компонентов Windows с помощью DISM
  7. DISM против SFC первым? Что мне сначала запустить в Windows 10?

Понравилась статья? Поделить с друзьями:
  • Программа для замены рабочего стола windows 7
  • Программа для диагностики оперативной памяти windows 10 64 bit
  • Программа для замены проводника windows 10
  • Программа для диагностики машины через ноутбук скачать бесплатно для windows
  • Программа для замены меню пуск windows 10 на windows 7