当您更新Windows 操作系统(Windows Operating System)时,旧的操作系统文件继续保留在磁盘上并存储在Windows 旧(Windows old)文件夹中。保存这些文件是因为如果需要,它们需要回滚到Windows的早期版本。所以,你一定在想我应该删除Windows安装文件,但是当Windows安装过程中发生一些错误时,这些文件很重要。当Windows安装过程中出现问题时,这些文件将有助于将其还原到以前的版本。另外,如果您对新更新的Windows(Windows)版本不满意,您可以将操作系统回滚到较早的版本。如果您的更新运行顺利并且您不想回滚,则可以按照本文中的说明从您的设备中删除Win设置文件。(Win)
如何在 Windows 10 中删除 Win 安装文件(How to Delete Win Setup Files in Windows 10)
我应该删除 Windows 安装文件吗?(Should I Delete Windows Setup Files?)
Win 安装文件(Win Setup Files)可能会有所帮助,但这些文件会累积并占用大量磁盘空间。结果,许多用户想知道:我应该删除 Windows 安装文件吗?(Should I delete Windows Setup Files?)答案是肯定(Yes)的。删除 Win 安装文件没有害处。(There is no harm in deleting Win setup files.)但是,您不能像往常一样删除这些文件和文件夹。相反,您将需要使用第三方工具或使用下面讨论的方法。
删除Windows文件通常很可怕。如果从原始目录中删除了必要的文件,您的系统可能会崩溃。当您不再需要以下文件时,可以安全地从您的 Windows PC 中删除它们:(safe to delete)
- Windows 安装文件
- 视窗。老的
- $Windows.~BT
另一方面,您必须更加谨慎,并且不应该删除(should not delete)以下文件:
- AppData 中的文件
- 程序文件中的文件
- ProgramData 中的文件
- C:窗户
注意(Note):从文件夹中删除文件之前,请备份您以后可能要使用的文件,即切换回以前版本所需的操作系统文件。
方法一:使用磁盘清理(Method 1: Use Disk Cleanup)
磁盘清理(Disk Cleanup)类似于回收站(Recycle Bin)。通过磁盘清理(Disk Cleanup)删除的数据不会从系统中永久删除,并且在您的硬盘驱动器上仍然可用。您可以在需要时恢复这些安装文件。按照下面提到的步骤使用磁盘清理删除(Disk Cleanup)Win安装文件。
1. 在Windows 搜索(Windows search)栏中,键入Disk Cleanup并单击Run as administrator,如下所示。
2. 在选择您要清理的驱动器(Select the drive you want to clean up)部分,选择您的驱动器(例如 C:驱动器),单击确定(OK )继续。
3.磁盘清理(Disk Cleanup)现在将扫描文件并计算可以清理的空间量。
4.磁盘清理(Disk Cleanup)窗口中会自动选中相关框。只需点击OK。
注意:(Note:)您还可以选中标记为回收站(Recycle Bin)的框以清除更多空间。
5. 接下来,切换到更多选项选项(More Options)卡,然后单击系统还原和卷影副本下的(System Restore and Shadow Copies)清理(Clean up) 按钮,如图所示。
6. 单击确认提示中的删除以删除除最后一个系统还原点之外的所有旧(Delete)Win(System Restore Point)安装(Win Setup)文件。
7.等待(Wait)磁盘清理(Disk Cleanup)实用程序完成该过程并重新启动(restart)您的 PC。
现在,C:\Windows.old location中的所有文件都将从您的 Windows 10 笔记本电脑/台式机中删除。
注意:(Note:) Windows会每十天自动删除这些文件,即使它们不是手动删除的。
另请阅读:(Also Read:) 如何在 Windows 10 中使用磁盘清理(How to Use Disk Cleanup in Windows 10)
方法二:使用存储设置(Method 2: Use Storage Settings)
当您不想使用方法 1删除(Method 1)Win设置文件时,您可以通过Windows 设置(Windows Settings)进行删除,如下所示:
1 在Windows 搜索(Windows search)栏中,键入存储(Storage) 设置(settings )并单击打开。(Open. )
2. 点击存储(Storage)设置中的系统和保留(System & reserved),如图。
3.在这里,单击系统和保留(System & reserved )屏幕中的管理系统还原(Manage system restore)按钮。
4. 选择System Protection > Configure,如下所示,然后,在系统保护设置中,(System Protection Settings,)单击删除(Delete ),如下所示。
注意:(Note:)将删除所选驱动器的所有还原点。在这里,驱动器 C(Drive C),如图所示。
5. 等待该过程完成,除最后一个还原点外,所有Win安装文件都将被删除。(Win)通过这种方式,您可以确定在需要时能够恢复系统。
方法 3:使用命令提示符(Method 3: Use Command Prompt)
如果您想使用命令提示符删除(Command Prompt)Windows 10中的(Windows 10)Win设置文件,请按照下面列出的步骤执行此操作:
1. 在Windows 搜索(Windows search)栏中,键入cmd并单击以管理员身份运行。(Run as administrator.)
2A。在这里,键入以下命令并按Enter:
RD /S /Q %SystemDrive%\windows.old
2B。一一键入给定的命令,并在每个命令后按Enter 键:(Enter key)
cd C:\
attrib -r -a -s -h C:\Windows.old /S /D
takeown /f Windows.old /a /r
rd /s /q Windows.old
等待(Wait)命令执行。您现在已经使用命令提示符成功地从系统中删除了(Command Prompt)Win设置文件。
另请阅读:(Also Read:) 修复命令提示符在 Windows 10 上出现然后消失(Fix Command Prompt Appears then Disappears on Windows 10)
方法四:使用CCleaner(Method 4: Use CCleaner)
如果您没有通过上述任何方法得到修复,您可以尝试使用CC Cleaner等第三方工具删除Win安装文件。该工具可以帮助您在几分钟内清理您的设备,包括清除浏览历史记录、缓存并尽可能释放您的磁盘空间。
注意:(Note:)建议您在使用此工具之前运行防病毒扫描。(antivirus scan)
请按照给定的步骤执行此操作:
1. 同时按下Windows + I 键(keys)打开设置(Settings)。
2. 在这里,点击更新和安全(Update & Security),如图所示。
3. 现在,单击左窗格中的Windows 安全性。(Windows Security )
4. 接下来,选择保护区域(Protection areas )部分下的病毒和威胁保护(Virus & threat protection )选项。
5A。所有的威胁都将在这里列出。单击(Click)当前威胁(Current threats )下的开始操作(Start Actions )以针对威胁采取措施。
5B。如果您的系统中没有任何威胁,系统将显示无需操作(No actions needed )警报,如下所示。
扫描过程完成后,Windows Defender 将删除所有病毒和恶意软件程序。(Windows Defender)
现在,在病毒扫描后,您可以运行CCleaner通过从您的(CCleaner)Windows 10 PC 中清除(Win)Win安装文件来清理磁盘空间,如下所示:
1.在任何网络浏览器中打开CCleaner 下载页面。(CCleaner download page)
2. 向下滚动到免费(FREE)选项,然后单击下载(Download),如下所示。
3. 下载后,打开安装文件(setup file)并按照屏幕上的说明安装(install) CCleaner。
4. 现在,打开程序并单击运行 CCleaner,(Run CCleaner, )如下图所示。
5. 然后,单击左侧窗格中的自定义清理(Custom Clean )并切换到Windows选项卡。
注意:(Note:)对于Windows, CCleaner默认会删除Windows 操作系统(Windows OS)文件。而(Whereas)对于应用程序,(Applications,) CCleaner将删除您手动安装的程序。
6. 在系统下,(System,)检查包含Win Setup Files的文件和文件夹以及您要删除的其他文件。
7. 最后,点击Run Cleaner,如下所示。
8. 单击继续(Continue )确认并等待清洁过程完成。
另请阅读:(Also Read:) 如何在 Windows 10 中删除临时文件(How to Delete Temp Files in Windows 10)
如何恢复 Windows 电脑(How to Restore Windows PC)
如果您对 Windows 的新更新版本不满意并想回滚到以前的版本,请按照以下步骤操作:
1.如方法 4(Method 4) 所述,进入设置(Settings)>更新和安全(Update & Security)。
2.从左窗格中选择恢复选项,然后单击右窗格中的(Recovery )开始(Get started )。
3. 现在,从重置此 PC(Reset this PC)窗口中选择一个选项:
-
保留我的文件(Keep my files )选项将删除应用程序和设置,但保留您的文件。
-
删除所有内容(The remove everything )选项将删除您的所有文件、应用程序和设置。
4. 最后,按照屏幕上的说明(on-screen instructions)完成重置过程。
受到推崇的(Recommended)
如果我删除 Windows 安装程序文件(should I delete Windows Setup files )并且您能够删除Windows 10 PC 上的 Win 安装( delete Win setup files)程序文件,我们希望您能回答您的问题。让我们知道哪种方法对您来说最简单。另外,如果您对本文有任何疑问或建议,请随时将它们放在评论部分。
How to Delete Win Setup Files in Windows 10 [GUIDE]
When you update your Windows Operating System, the old OS files continue to remain on the diѕk and are stored in Windows old folder. These files are saved as they would be required to roll back to an earlier version of Windows, if and when needed. So, you must be thinking that should I delete Windows setup files but, these files are important when some error happens while Windows installation. When something goes wrong during Windows installation, these files will prove to be helpful to restore it to the previous version. In addition, if you are not satisfied with the newly updated version of Windows, you may roll back the operating system to the earlier version. If your update runs smoothly and you do not want to roll back, you may delete Win setup files from your device as explained in this article.
How to Delete Win Setup Files in Windows 10
Should I Delete Windows Setup Files?
Win Setup Files can be helpful but these files get accumulated and take up huge disk space. As a result, many users wonder: Should I delete Windows Setup Files? The answer is Yes. There is no harm in deleting Win setup files. However, you cannot delete these files & folders like you normally do. Instead, you will need to use third-party tools or utilize the methods discussed below.
Deleting Windows files is often scary. If a necessary file is deleted from its original directory, your system may crash. It is safe to delete the following files from your Windows PC when you do not need them anymore:
- Windows setup files
- Windows. old
- $Windows.~BT
On the other hand, you have to be more cautious, and you should not delete the following files:
- Files in AppData
- Files in Program Files
- Files in ProgramData
- C:\Windows
Note: Before deleting the files from the folder, backup the files you may want to use later viz the operating system files required to switch back to previous versions.
Method 1: Use Disk Cleanup
Disk Cleanup is similar to Recycle Bin. The data deleted through Disk Cleanup are not permanently deleted from the system and remain available on your hard drive. You may recover these installation files, whenever needed. Follow the steps mentioned below to delete Win setup files using Disk Cleanup.
1. In the Windows search bar, type Disk Cleanup and click on Run as administrator, as highlighted below.
2. In Select the drive you want to clean up section, choose your drive (e.g. C: drive), click on OK to proceed.
3. Disk Cleanup will now scan for files and calculate the amount of space that can be cleared.
4. Relevant boxes are automatically checked in the Disk Cleanup Window. Just, click on OK.
Note: You can also check the boxes marked Recycle Bin to clear out more space.
5. Next, switch to the More Options tab and click on the Clean up button under System Restore and Shadow Copies, as depicted.
6. Click on Delete in the confirmation prompt to delete all older Win Setup files except the last System Restore Point.
7. Wait for the Disk Cleanup utility to finish the process and restart your PC.
Now, all the files in C:\Windows.old location will be deleted from your Windows 10 laptop/desktop.
Note: Windows removes these files automatically every ten days, even if they are not deleted manually.
Also Read: How to Use Disk Cleanup in Windows 10
Method 2: Use Storage Settings
When you do not want to delete Win setup files using Method 1, you can do so through Windows Settings, as follows:
1 In the Windows search bar, type Storage settings and click on Open.
2. Click on System & reserved in Storage settings, as shown.
3. Here, click on the Manage system restore button in System & reserved screen.
4. Select System Protection > Configure as shown below, Then, in System Protection Settings, click on Delete as highlighted below.
Note: All restore points will be deleted for the selected drive. Here, Drive C, as shown.
5. Wait for the process to be completed and all Win setup files will be deleted except for the last restore point. In this way, you can be certain that you will be able to restore your system, if and when needed.
Method 3: Use Command Prompt
If you want to delete Win setup files in Windows 10 using the Command Prompt, follow the steps listed below to do so:
1. In the Windows search bar, type cmd and click on Run as administrator.
2A. Here, type the following command and hit Enter:
RD /S /Q %SystemDrive%\windows.old
2B. Type the given commands one by one and press Enter key after each command:
cd C:\
attrib -r -a -s -h C:\Windows.old /S /D
takeown /f Windows.old /a /r
rd /s /q Windows.old
Wait for the commands to be executed. You have now successfully deleted Win setup files from your system using Command Prompt.
Also Read: Fix Command Prompt Appears then Disappears on Windows 10
Method 4: Use CCleaner
If you did not get a fix by any of the methods mentioned above, you could try to delete Win setup files using third-party tools like CC Cleaner. This tool could help you to clean your device within a few minutes, including clear browsing history, cache memory and free up your disk space as much as possible.
Note: You are advised to run an antivirus scan before you use this tool.
Follow the given steps to do so:
1. Press Windows + I keys together to open Settings.
2. Here, click on Update & Security, as shown.
3. Now, click on Windows Security in the left pane.
4. Next, select the Virus & threat protection option under the Protection areas section.
5A. All the threats will be enlisted here. Click on Start Actions under Current threats to take actions against the threats.
5B. If you do not have any threats in your system, the system will show the No actions needed alert, as highlighted below.
The Windows Defender will remove all the virus and malware programs once the scanning process is complete.
Now, after a virus scan, you may run CCleaner to clean up disk space by clearing Win setup files from your Windows 10 PC, as follows:
1. Open the CCleaner download page in any web browser.
2. Scroll down to the FREE option and click on Download, as highlighted below.
3. After downloading, open the setup file and install CCleaner by following on-screen instructions.
4. Now, open the program and click on Run CCleaner, as depicted below.
5. Then, click on Custom Clean from the left pane and switch to the Windows tab.
Note: For Windows, CCleaner will delete the Windows OS files, by default. Whereas, for Applications, CCleaner will delete the programs which you have installed manually.
6. Under System, check the files and folders containing Win Setup Files and other files you wish to delete.
7. Lastly, click on Run Cleaner, as highlighted below.
8. Click on Continue to confirm and wait for the cleaning process to be completed.
Also Read: How to Delete Temp Files in Windows 10
How to Restore Windows PC
If you are not satisfied with the newly updated version of your Windows and want to roll back to the previous version, follow the steps mentioned below to do so:
1. Go to Settings > Update & Security as mentioned in Method 4.
2. Select the Recovery option from the left pane and click on Get started in the right pane.
3. Now, choose an option from the Reset this PC Window:
-
Keep my files option will remove apps and settings but keeps your files.
-
The remove everything option will remove all your files, apps, and settings.
4. Finally, follow the on-screen instructions to complete the reset process.
Recommended
We hope you got an answer to your query should I delete Windows Setup files and you were able to delete Win setup files on your Windows 10 PC. Let us know which method was easiest for you. Also, if you have any queries or suggestions regarding this article, then feel free to drop them in the comments section.