很多时候,在我们的计算机中处理文件时,在访问某些文件时,我们可能会收到一条错误消息,提示“您尝试访问的文件已损坏(The file you are trying to access is corrupted)”。这可能由于多种原因而发生,例如,文件可能未正确复制或文件参数不够正确。任何(Any)类型的文件都可能损坏,例如音乐文件、文档、系统文件等。
Windows 11/10 中损坏的文件
因此,让我们讨论一下什么是损坏的文件,是什么导致它们损坏,以及您可以采取哪些措施来防止文件损坏。以下是所有这些问题的解决方案:
什么是Windows中的损坏文件?
损坏的文件是不再正常工作的文件。这些文件可能会有所不同,从您经常使用的文件(例如您从数码相机导入的图片)到在幕后工作的系统或程序文件。
如果遇到损坏的文件该怎么办?
大多数损坏的文件无法修复,您应该删除或替换它们。但是,您偶尔可以使用程序来修复损坏的文件(或至少挽救文件中的一些数据)。这种类型的一些程序可以在网络上获得。
如果文件是系统或程序文件,您可以检查硬盘是否有错误。如果报告了任何错误文件,Windows可能能够修复它们。
如何修复或修复Windows 11/10中损坏的文件?
要修复和修复Windows 11/10 中损坏的系统文件,您可以运行系统文件检查器工具。您还可以运行 DISM 工具(run the DISM Tool)来修复损坏的系统映像。如果损坏程度较大,您可能需要使用“重置此电脑(Reset This PC)”、“云重置(Cloud Reset)”或“修复此电脑(Repair this computer)”功能。
如果您无法修复损坏的文件怎么办?
删除该文件,或者,如果您之前备份了计算机的硬盘,请尝试检索该文件的旧版本以替换损坏的版本。如果损坏的文件是重要的系统或程序文件,您可能需要重新安装与损坏的文件关联的程序。
阅读(Read):如何修复或修复损坏或损坏的注册表(How to fix or repair corrupted or damaged Registry)
如何防止文件损坏?
文件损坏的情况很少见。通常,在保存文件时出现问题时会发生这种情况。例如,保存文件的程序可能会停止工作,或者您的计算机可能会在保存文件时断电。
您可以通过使用浪涌抑制器或不间断电源 ( UPS ) 保护计算机电源来降低文件损坏的可能性。此外,请始终确保正确关闭计算机。避免(Avoid)按住电源按钮,因为它通常会强制Windows突然关闭。
在您的计算机上使用(Use)适当的安全软件,例如防病毒(Antivirus)、反间谍软件(Anti Spyware)等,以保护您的重要文件免受病毒和其他威胁,因为病毒和木马(Trojans)是 PC 上文件损坏的其他主要来源。
阅读(Read):如何使用系统文件检查器来替换单个损坏的文件。
Corrupted files in Windows: Explanation, Prevention & Recovery
Many times when working with files in our computers, while accessing some fileѕ we mаy receive an error message saying, ‘The file you are trying to access is corrupted’. This can happen due to several reasons, for instance, the file may not be copied properly or the file parameters are not correct enough. Any type of file may get corrupted like music files, documents, system files, etc.
Corrupted files in Windows 11/10
So, let’s discuss what corrupted files are, what makes them corrupted, and what you can do to prevent your files from being damaged. Here are the solutions to all these problems:
What are corrupted files in Windows?
Corrupted files are files that no longer work properly. These can vary from files that you use regularly (such as pictures that you’ve imported from a digital camera) to system or program files that work behind the scenes.
What should you do if you encounter a corrupted file?
Most corrupted files can’t be repaired and you should delete or replace them. However, you can occasionally use a program to repair a corrupted file (or at least salvage some of the data within the file). Some programs of this type are available on the web.
If the file is a system or program file, you can check your hard disk for errors. If any bad files are reported, Windows might be able to repair them.
How to fix or repair corrupted files in Windows 11/10?
To repair and fix corrupted system files in Windows 11/10, you can run the System File Checker Tool. You can also run the DISM Tool to repair a corrupted system image. If the corruption has occurred to a large extent, you may need to use Reset This PC, Cloud Reset or Repair this computer features.
What if you can’t fix a corrupted file?
Either delete the file or, if you previously backed up your computer’s hard disk, try to retrieve an older version of the file to replace the corrupted version. If the corrupted file is an important system or program file, you might need to reinstall the program that the corrupted file is associated with.
Read: How to fix or repair corrupted or damaged Registry
How do I prevent files from becoming corrupted?
It’s rare for a file to become corrupted. Typically, it happens when something goes wrong while the file is being saved. For example, the program saving the file might stop working, or your computer might lose power just as the file is being saved.
You can decrease the chances of a file becoming corrupted by protecting your computer’s power with a surge suppressor or with an uninterruptible power supply (UPS). Also, always make sure you turn off your computer properly. Avoid pressing and holding the power button because it usually forces Windows to shut down abruptly.
Use proper security software on your computer such as Antivirus, Anti Spyware, etc. to protect your important files from viruses and other threats because viruses and Trojans are other major sources of file corruption on a PC.
Read: How to use System File Checker to replace a single corrupted file.