Windows是世界上使用最广泛的操作系统。操作系统中有几个基本文件负责您的设备正常运行;同时,还有大量不必要的文件和文件夹占用了您的磁盘空间。缓存文件和临时文件都会占用磁盘上的大量空间,并且可能会降低系统性能。
现在,您可能想知道是否可以从系统中删除AppData本地临时文件?如果是,那么如何删除Windows 10 计算机上的临时文件?(Temp Files)
从Windows 10(Windows 10)系统中删除临时文件将释放空间并提高系统性能。因此,如果您想这样做,那么您来对地方了。我们为您带来了一份完美的指南,可帮助您从Windows 10中删除临时文件。
如何在 Windows 10 中删除临时文件(How to Delete Temp Files in Windows 10)
从 Windows 10 中删除临时文件是否安全?(Is It Safe to Delete Temp Files from Windows 10?)
是的!从Windows 10 PC 中删除临时文件是安全的。
系统中使用的程序会创建临时文件。当相关程序关闭时,这些文件会自动关闭。但由于多种原因,这种情况并不总是发生。例如,如果您的程序在中途崩溃,则临时文件不会关闭。它们保持开放很长时间,并且尺寸日益扩大。因此(Hence),始终建议定期删除这些临时文件。
如前所述,如果您在系统中发现不再使用的任何文件或文件夹,则这些文件称为临时文件。它们既不被用户打开,也不被任何应用程序使用。Windows不允许您删除系统中打开的文件。因此,在(Hence)Windows 10中删除临时文件是非常安全的。
1.临时文件夹(1. Temp Folder)
在Windows 10(Windows 10)中删除临时文件是提高系统性能的明智选择。这些临时文件和文件夹在程序的初始需求之外是不必要的。
1. 在文件资源管理器中导航到本地磁盘 (C:)(Local Disk (C:) in the File Explorer)
2. 在这里,双击Windows 文件夹(Windows folder),如下图所示。
3. 现在点击Temp并同时按下(Temp )Ctrl 和 A(Ctrl and A together. )选择所有文件和文件夹。按键盘上的删除(delete)键。
注意:(Note:)如果系统上打开了任何相关程序,屏幕上将提示错误消息。跳过它以继续删除。如果系统运行时某些临时文件被锁定,则无法删除它们。
4. 从Windows 10(Windows 10)删除临时文件后重新启动系统。
如何删除 Appdata 文件?(How to delete Appdata Files?)
1. 按 Windows 键 + R 然后键入%localappdata%并按 Enter。
2. 最后,点击Temp并删除其中的临时文件。
2. 休眠文件(2. Hibernation Files)
休眠文件是巨大的,它们在磁盘中占据了巨大的存储空间。它们从不用于系统的日常活动。休眠模式(hibernate mode)将 所有打开文件的信息保存在硬盘中,并允许关闭计算机。所有休眠文件都存储在C:\hiberfil.sys 位置。当用户打开系统时,所有的工作都会重新出现在屏幕上,从它停止的地方开始。系统在休眠模式下不消耗任何能量。但建议您在不使用时禁用系统中的休眠模式。
1. 在Windows 搜索(Windows search)栏中键入命令提示符或 cmd 。然后,单击以管理员身份运行。(Run as administrator.)
2. 现在在命令提示符(Command Prompt)窗口中键入以下命令,然后按 Enter:
powercfg.exe /hibernate off
现在,系统已禁用休眠模式。C:\hiberfil.sys location will be deleted now. 中的所有休眠文件。禁用休眠模式后,该位置中的文件将被删除。
注意:(Note:)当您禁用休眠模式时,您无法实现Windows 10系统的快速启动。
另请阅读:(Also Read:) [已解决] 无法执行临时目录中的文件([SOLVED] Unable To Execute Files In The Temporary Directory)
3.系统下载的程序文件(3. Program Files Downloaded in the System)
在 C:WindowsDownloaded Program Files 文件夹中下载的文件不被任何程序使用。此文件夹包含ActiveX控件和Internet Explorer的(Internet Explorer)Java小程序使用的文件。当借助这些文件在网站上使用相同的功能时,您无需再次下载。
(Program)下载到系统中的程序文件由于ActiveX控件(ActiveX)已经没有用了, Internet Explorer的(Internet Explorer)Java小程序现在已经不被人们使用了。它不必要地占用磁盘空间,因此,您应该定期清除它们。
这个文件夹通常看起来是空的。但是,如果其中有文件,请按照以下过程删除它们:
1. 点击到本地磁盘 (C:)(Local Disk (C:) ),然后双击Windows 文件夹(Windows folder ),如下图所示。
2. 现在,向下滚动并双击Downloaded Program Files 文件(Downloaded Program Files )夹。
3. 选择此处存储的所有文件,然后按Delete键。
现在,所有下载的程序文件都从系统中删除。
4. Windows 旧文件
每当您升级Windows版本时,早期版本的所有文件都会作为副本保存在标记为Windows Older Files的文件夹中。如果您希望返回到更新前可用的旧版Windows ,您可以使用这些文件。(Windows)
注意:(Note:)在删除此文件夹中的文件之前,请备份您以后要使用的文件(切换回以前版本所需的文件)。
1. 单击您的 Windows键并在搜索栏中键入磁盘清理(Disk Cleanup),如下所示。
2.从搜索结果中打开 磁盘清理。(Disk Cleanup)
3. 现在,选择要清理的驱动器。( drive)
4. 在这里,点击清理系统文件(Clean up system files)。
注意:(Note:) Windows会每十天自动删除这些文件,即使它们不是手动删除的。
5. 现在,浏览以前的 Windows 安装(Previous Windows installation(s) )文件并删除它们。
C:\Windows.old location 中的所有文件都将被删除。
5. Windows 更新文件夹(5. Windows Update Folder)
每次有更新时都会重新创建C:\Windows\SoftwareDistribution文件夹中的文件,即使在删除之后也是如此。解决此问题的唯一方法是在您的 PC 上禁用Windows 更新服务。(Windows Update Service)
1. 单击开始(Start )菜单并输入服务(Services)。
2. 打开服务(Services )窗口并向下滚动。
3. 现在,右键单击Windows 更新(Windows Update )并选择停止(Stop ),如下图所示。
4. 现在,在文件资源管理器中导航到本地磁盘 (C:)(Local Disk (C:) in the File Explorer)
5. 在这里,双击 Windows 并删除 SoftwareDistribution 文件夹。 ( delete the SoftwareDistribution folder. )
6. 再次打开服务(Services )窗口并右键单击Windows 更新(Windows Update)。
7. 这一次,选择开始(Start),如下图所示。
注意:(Note:)如果文件已损坏,此过程还可用于将Windows 更新恢复到其原始状态。(Windows Update)删除文件夹时要小心,因为其中一些文件夹位于受保护/隐藏的位置。
另请阅读:(Also Read:) Windows 10 创意者更新后无法清空回收站(Unable to empty Recycle Bin after Windows 10 Creators Update)
6. 回收站(6. Recycle Bin)
虽然回收站不是文件夹,但大量的垃圾文件存储在这里。每当您删除文件或文件夹时,Windows 10 都会自动将它们发送到回收站。
您可以从回收站中restore/delete Empty Recycle Bin/ Restore all items, 。
如果您不想在删除后将项目移动到回收站,您可以选择直接从计算机中删除它们:
1. 右键单击回收站(Recycle bin)并选择属性。(Properties. )
2. 现在,选中标题为“不要将文件移动到回收站(Don’t move files to the Recycle Bin. Remove files immediately when deleted)”的框。删除后立即删除文件”,然后单击确定(OK )以确认更改。
现在,所有已删除的文件和文件夹将不再移动到回收站(Recycle);它们将从系统中永久删除。
7.浏览器临时文件(7. Browser Temporary Files)
缓存充当临时内存,存储您访问的网页,并在后续访问期间加强您的冲浪体验。格式问题和加载问题可以通过清除浏览器上的缓存和 cookie 来解决。浏览器(Browser)临时文件可以安全地从Windows 10系统中删除。
A. 微软边缘(A. MICROSOFT EDGE)
1. 按 Windows 键 + R 然后键入 %localappdata%并按 Enter。
2. 现在点击Packages并选择Microsoft.MicrosoftEdge_8wekyb3d8bbwe。
3. 接下来,导航到 AC,( navigate to AC,)然后是 MicrosoftEdge。
4.最后,点击缓存并删除(Cache and Delete)其中存储的所有临时文件。
B. 互联网探索者(B. INTERNET EXPLORER)
1. 按Windows Key + R然后键入 %localappdata% 并按Enter。
2. 在这里,单击Microsoft并选择Windows。
3. 最后,点击INetCache并删除其中的临时文件。
C. MOZILLA Firefox
1. 按Windows Key + R然后键入 %localappdata% 并按Enter。
2. 现在,单击Mozilla并选择Firefox。
3.接下来,导航到Profiles,然后是randomcharacters.default。
4. 单击cache2后跟条目以删除此处存储的临时文件。
D. 谷歌浏览器(D. GOOGLE CHROME)
1. 按Windows Key + R然后键入 %localappdata% 并按Enter。
2. 现在,点击Google并选择Chrome。
3. 接下来,导航到User Data,然后是Default。
4. 最后,点击缓存(Cache)并删除其中的临时文件。
完成上述所有方法后,您将安全地从系统中清除所有临时浏览文件。
8. 日志文件(8. Log Files)
应用程序的系统性能(systematic performance)数据作为日志文件存储在您的 Windows PC 上。建议从系统中安全删除所有日志文件,以节省存储空间并提高系统性能。
注意:您应该只删除以“ (Note:).LOG ”结尾的文件,其余的保持原样。
1. 导航到C:\Windows。
2. 现在,单击Logs,如下图所示。
3. 现在,删除所有(delete)扩展名为 .LOG(.LOG extension)的日志文件。
系统中的所有日志文件都将被删除。
另请阅读:(Also Read:) 如何在 Windows 10 中修复损坏的系统文件(How to Repair Corrupted System Files in Windows 10)
9. 预取文件(9. Prefetch Files)
预取文件是包含常用应用程序日志的临时文件。这些文件用于减少应用程序的启动时间。该日志的所有内容都以哈希格式(hash format)存储,因此无法轻易解密。它在功能上类似于缓存,但同时也更大程度地占用磁盘空间。按照以下过程从系统中删除Prefetch文件:
1. 像之前一样导航到C:\Windows。
2. 现在,点击Prefetch。
3. 最后,删除(Delete)Prefetch文件夹中的所有文件。
10. 崩溃转储(10. Crash Dumps)
故障转储文件存储属于每个特定故障的信息。它包含有关在所述崩溃期间处于活动状态的所有进程和驱动程序的信息。以下是从Windows 10(Windows 10)系统中删除故障转储的一些步骤:
1. 按 Windows 键 + R 然后键入%localappdata%并按 Enter。
2. 现在,单击 CrashDumps(click on CrashDumps )并删除(delete)其中的所有文件。
3.再次(Again),导航到本地(Local)文件夹。
4. 现在,导航到Microsoft > Windows > WER。
5. 双击ReportArchive并从此处删除临时(delete the temporary )故障转储文件。
受到推崇的:(Recommended:)
我们希望本指南对您有所帮助,并且您能够删除 Windows 10 PC 上的临时文件(delete temp files on your Windows 10 PC)。借助我们的综合指南,让我们知道您可以节省多少存储空间。如果您对本文有任何疑问/评论,请随时将它们放在评论部分。
How to Delete Temp Files in Windows 10
Windоws is the most widely used Operating System in the world. There are several essеntial files in the OS that are responsible for your device to operate properlу; at the ѕame time, there аre plenty of unnecеssary files and folders as well that take up your disk space. Both cache files and temp files occυpy a lot of spaсe on your disk and may slow down the рerformance of the system.
Now, you might be wondering can you delete AppData local temp files from the system? If yes, then how can you delete Temp Files on your Windows 10 computer?
Deleting temp files from Windows 10 system will free up space and will boost up the performance of the system. So if you are looking to do so, you are at the right place. We bring to you a perfect guide that will help you with deleting temp files from Windows 10.
How to Delete Temp Files in Windows 10
Is It Safe to Delete Temp Files from Windows 10?
Yes! It is safe to delete temp files from Windows 10 PC.
Programs used in the system create temporary files. These files are closed automatically when the associated programs are closed. But because of several reasons, this does not always happen. For example, if your program crashes in the middle of the way, then the temporary files are not closed. They remain open for a long time and enlarge in size day by day. Hence, it is always recommended to delete these temporary files periodically.
As discussed, if you find any file or a folder in your system that is no longer in use, those files are called temp files. They are neither opened by the user nor used by any application. Windows will not allow you to delete open files in your system. Hence, deleting temp files in Windows 10 is perfectly safe.
1. Temp Folder
Deleting temp files in Windows 10 is a wise choice to boost your system performance. These temporary files and folders are not necessary beyond their initial needs by the programs.
1. Navigate to Local Disk (C:) in the File Explorer
2. Here, double-click on Windows folder as depicted in the picture below.
3. Now click on Temp & select all the files and folders by pressing Ctrl and A together. Hit the delete key on the keyboard.
Note: An error message will be prompted on the screen if any of the associated programs are open on the system. Skip it to continue deleting. Some temp files cannot be deleted if they are locked when your system runs.
4. Restart the system after deleting temp files from Windows 10.
How to delete Appdata Files?
1. Press Windows Key + R then type %localappdata% and hit Enter.
2. Finally, click on Temp and remove the temporary files in it.
2. Hibernation Files
The hibernation files are enormous, and they occupy huge storage space in the disk. They are never used in the day-to-day activities of the system. The hibernate mode saves all the information of open files in the hard drive and allows the computer to be turned off. All the hibernate files are stored in C:\hiberfil.sys location. When the user turns ON the system, all the work is brought back up on the screen, from exactly where it was left off. The system does not consume any energy when it is in hibernate mode. But it is recommended to disable the hibernate mode in the system when you are not using it.
1. Type command prompt or cmd in Windows search bar. Then, click on Run as administrator.
2. Now type the following command in Command Prompt window and hit Enter:
powercfg.exe /hibernate off
Now, the hibernate mode is disabled from the system. All the hibernate files in C:\hiberfil.sys location will be deleted now. The files in the location will be deleted once you have disabled the hibernate mode.
Note: When you disable hibernate mode, you cannot achieve a fast startup of your Windows 10 system.
Also Read: [SOLVED] Unable To Execute Files In The Temporary Directory
3. Program Files Downloaded in the System
The files downloaded in the C:\Windows\Downloaded Program Files folder are not used by any programs. This folder contains the files that are used by ActiveX controls and Java applets of Internet Explorer. When the same feature is utilized on a website with the help of these files, you do not need to download it again.
Program files downloaded in the system are of no use since ActiveX controls, and Java applets of Internet Explorer are not used by people nowadays. It occupies disk space unnecessarily, and hence, you should clear them in periodic intervals of time.
This folder often seems to be empty. But, if there are files in it, delete them by following this process:
1. Click on to Local Disk (C:) followed by double-clicking on the Windows folder as shown in the below picture.
2. Now, scroll down and double-click on the Downloaded Program Files folder.
3. Select all the files stored here, and hit the Delete key.
Now, all the downloaded program files are removed from the system.
4. Windows Older Files
Whenever you upgrade your Windows version, all the files of the earlier version are saved as copies in a folder marked Windows Older Files. You can use these files if you wish to go back to the older version of Windows available before the update.
Note: Before deleting the files in this folder, backup the file you want to use later (the files necessary to switch back to previous versions).
1. Click on your Windows key and type Disk Cleanup in the search bar as shown below.
2. Open Disk Cleanup from the search results.
3. Now, select the drive you want to clean.
4. Here, click on Clean up system files.
Note: Windows removes these files automatically every ten days, even if they are not deleted manually.
5. Now, go through the files for Previous Windows installation(s) and delete them.
All the files in C:\Windows.old location will be deleted.
5. Windows Update Folder
The files in the C:\Windows\SoftwareDistribution folder are recreated every time there’s an update, even after deletion. The only way to tackle this problem is to disable Windows Update Service on your PC.
1. Click on the Start menu and type Services.
2. Open the Services window and scroll down.
3. Now, right-click on Windows Update and select Stop as depicted in the picture below.
4. Now, navigate to Local Disk (C:) in the File Explorer
5. Here, double-click on Windows and delete the SoftwareDistribution folder.
6. Open the Services window again and right-click on Windows Update.
7. This time, select Startas depicted in the below picture.
Note: This procedure can also be used to bring Windows Update back to its original state if the files have gotten corrupt. Be cautious while deleting the folders because some of them are placed in protected/hidden locations.
Also Read: Unable to empty Recycle Bin after Windows 10 Creators Update
6. Recycle Bin
Although recycle bin is not a folder, a bulk of junk files are stored here. Windows 10 will automatically send them to the recycle bin whenever you delete a file or a folder.
You can either restore/delete the individual item from the recycle bin or if you want to delete/restore all the items, click on Empty Recycle Bin/ Restore all items, respectively.
If you do not want to move items to recycle bin once deleted, you can choose to remove them from your computer directly as:
1. Right-click on the Recycle bin and select Properties.
2. Now, check the box titled “Don’t move files to the Recycle Bin. Remove files immediately when deleted” and click OK to confirm the changes.
Now, all the deleted files and folders will no longer be moved to Recycle bin; they will be deleted from the system permanently.
7. Browser Temporary Files
The cache acts as a temporary memory that stores the web pages you visit and fastens your surfing experience during subsequent visits. Formatting issues and loading problems can be solved by clearing the cache and cookies on your browser. Browser temporary files are safe to be deleted from a Windows 10 system.
A. MICROSOFT EDGE
1. Press Windows Key + R then type %localappdata% and hit Enter.
2. Now click on Packages and select Microsoft.MicrosoftEdge_8wekyb3d8bbwe.
3. Next, navigate to AC, followed by MicrosoftEdge.
4. Finally, click on Cache and Delete all the temporary files stored in it.
B. INTERNET EXPLORER
1. Press Windows Key + R then type %localappdata% and hit Enter.
2. Here, click on Microsoft and select Windows.
3. Finally, click on INetCache and remove the temporary files in it.
C. MOZILLA FIREFOX
1. Press Windows Key + R then type %localappdata% and hit Enter.
2. Now, click on Mozilla and select Firefox.
3. Next, navigate to Profiles, followed by randomcharacters.default.
4. Click on cache2 followed by entries to delete the temporary files stored here.
D. GOOGLE CHROME
1. Press Windows Key + R then type %localappdata% and hit Enter.
2. Now, click on Google and select Chrome.
3. Next, navigate to User Data, followed by Default.
4. Finally, click on Cache and remove the temporary files in it.
After following all the above methods, you will have cleared all the temporary browsing files safely from the system.
8. Log Files
The systematic performance data of applications are stored as log files on your Windows PC. It is recommended to delete all the log files safely from the system to save storage space and boost the performance of your system.
Note: You should only delete the files that end in “.LOG” and leave the rest as they are.
1. Navigate to C:\Windows.
2. Now, click on Logs as depicted in the picture below.
3. Now, delete all the log files that have .LOG extension.
All the log files in your system will be removed.
Also Read: How to Repair Corrupted System Files in Windows 10
9. Prefetch Files
Prefetch files are temporary files that contain the log of frequently used applications. These files are used to reduce the booting time of applications. All the contents of this log are stored in a hash format so that they cannot be decrypted easily. It is functionally similar to cache and at the same time, it occupies disk space to a greater extent. Follow the below procedure to remove Prefetch files from the system:
1. Navigate to C:\Windows as you did earlier.
2. Now, click on Prefetch.
3. Finally, Delete all the files in the Prefetch folder.
10. Crash Dumps
A crash dump file stores the information belonging to each specific crash. It contains information about all the processes and drivers that are active during the said crash. Here are some steps to delete crash dumps from your Windows 10 system:
1. Press Windows Key + R then type %localappdata% and hit Enter.
2. Now, click on CrashDumps and delete all the files in it.
3. Again, navigate to the Local folder.
4. Now, navigate to Microsoft > Windows > WER.
5. Double-click on ReportArchive and delete the temporary crash dump files from here.
Recommended:
We hope that this guide was helpful and you were able to delete temp files on your Windows 10 PC. Let us know how much storage space you could save with the help of our comprehensive guide. If you have any queries/comments regarding this article, then feel free to drop them in the comments section.