Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to repair corrupted system files in Windows 10

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to repair the damaged system files in Windows 10. It is very detailed and has a certain reference value. Interested friends must read it!

The built-in system File Checker is an easy-to-run tool to replace system files that may be corrupted or missing. However, it is possible that SFC cannot replace the corrupted file and throws an error message. In this article, we will see how to manually replace a single corrupted Windows system file with a known copy of the file if SFC does not work.

How to repair corrupted system files in windows 10

First, you need to open the following log file and determine which particular file is corrupted:

% userprofile%\ Desktop\ sfcdetails.txt

CBS.Log% WinDir%\ Logs\ CBS\ CBS.log

You will be able to see the details there.

Once you know the name and path of the file, you must have ownership of the corrupted file.

To do this, open the promoted command prompt and execute the following command:

Takeown / f FileNameAndPath

Here, FileNameAndPath represents the path and file name of the corrupted file. For example, it has been corrupted by wuapi.dll and then type:

Takeown / f C:\ Windows\ System32\ wuapi.dll

Next, you must grant the administrator full access and control over this file.

To do this, open the promoted command prompt and execute the following command:

Icacls FileNameAndPath / GRANT ADMINISTRATORS:F

In our example, it will be:

Icacls C:\ Windows\ System32\ wuapi.dll / grant administrators:F

How to replace corrupted Windows system files with a good copy

Now you need to replace the corrupted file with a good copy. To do this, open the promoted command prompt and execute the following command:

Copy NewFileLocation FileNameAndPath

Here, NewFileLocation is the location where the file is saved. So, if you have saved it to the desktop, in our example it will be:

Copy C:\ Users\\ Desktop\ wuapi.dll C:\ windows\ system32\ wuapi.dll above are all the contents of this article entitled "how to repair damaged system Files in Windows 10". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report