Home  >  Article  >  System Tutorial  >  How to Remove Previous of Windows Installation in Windows 10

How to Remove Previous of Windows Installation in Windows 10

PHPz
PHPzOriginal
2024-08-02 05:05:421087browse

Ten days after you upgrade to Windows 10, your previous version of Windows will be automatically deleted from your PC. If your drive is low in space, you can manually delete the previous version of Windows installation. This article describes 3 ways to delete Windows installation files on Windows 10 PC.


  • Way 1: Delete previous Windows installation in Settings
  • Way 2: Remove previous Windows installation via Cleanup tool
  • Way 3: Delete Windows .old Folder via Command Prompt

How to Delete Windows Installation Folder in Settings

Deleting your previous version of Windows installation(s), here is how:

Step 1: Open Settings app, click System > Storage.

Step 2: Click on This PC and then scroll down the list and choose Temporary files.

How to Remove Previous of Windows Installation in Windows 10

Step 3: Under Remove temporary files, select the Previous version of Windows check box and then choose Remove files.

How to Remove Previous of Windows Installation in Windows 10

How to Remove Windows Installation Folder using Disk Cleanup

Windows .old folder contains a copy of the previous Windows installation in C: disk, and it takes up much of storage. It can free up several GBs of disk space by using the Remove previous Windows installations option in Disk Cleanup Tool.

Step 1: Open the Disk Cleanup tool in the Run.

Press Win+R to open Run dialog, type cleanmgr, and then hit Enter key.

How to Remove Previous of Windows Installation in Windows 10

Wait while the system is calculating the amount of the used space.

How to Remove Previous of Windows Installation in Windows 10

Step 2: Once the tool opens, click Clean up system file button.

How to Remove Previous of Windows Installation in Windows 10

Step 3: Scroll down till you see Previous Windows installation(s). Check this option and click on OK.

How to Remove Previous of Windows Installation in Windows 10

Step 4: Click on Delete Files to complete the task.

How to Remove Previous of Windows Installation in Windows 10

While there you may also want to delete these upgrade & installation files:

  • Windows upgrade logs files: These files contain information that helps you troubleshoot upgrade & installation process. If your process has gone smoothly, you may delete these files.
  • Windows ESD installation files: If you do not need to reset or refresh your PC, you may delete these files.
  • Temporary Windows installation files: These installation files are used by Windows setup and they can be safely deleted.

How to Delete Windows .old Folder using Command Prompt

If you can't remove the Windows .old folder and other related files with the above options, you can try to remove Windows .old Folder using Command Prompt.

Step 1: Open Command Prompt as administrator.

Press Windows logo + X shortcut keys, then hit A key on the keyboard.

How to Remove Previous of Windows Installation in Windows 10

Step 2: In Command Prompt window, execute the delete command below, and press Enter.

RD /S /Q %SystemDrive%windows.old

How to Remove Previous of Windows Installation in Windows 10

Or execute this command step by step if you like:

  • cd C:
  • attrib -r -a -s -h C:Windows.old /S /D
  • takeown /f Windows.old /a /r
  • rd /s /q Windows.old

How to Remove Previous of Windows Installation in Windows 10

Windows .old 資料夾將會立即刪除。

要在啟動時使用命令提示字元刪除 Windows .old 資料夾,方法如下:

第1步:您需要在Windows 10中使用進階啟動選項開啟啟動時的命令提示字元。

第 2 步:下一步是 啟動時驗證 Windows 10 磁碟機代號.

Windows 10 磁碟機號碼在啟動時可能不會總是像 Windows 啟動時那樣是C:,因此請務必在執行命令之前驗證其磁碟機號碼。

1.在命令提示字元中,輸入 diskpart,然後按 Enter

2.然後輸入列出音量並按Enter

3.從列出的磁碟區中,尋找並驗證您的 Windows 10 磁碟機的磁碟機號。

4.最後,輸入exit並按Enter鍵。

How to Remove Previous of Windows Installation in Windows 10

步驟3:然後執行刪除Windows .old資料夾指令如下:

RD /S /Q "D:Windows .old"

How to Remove Previous of Windows Installation in Windows 10

提示:D 是您先前版本 Windows 的實際盤符,因為它的大小為 47GB。另外卷太小無法存放系統資料夾

第四步:關閉命令提示字元。然後點選繼續將電腦重新啟動到Windows 10。

How to Remove Previous of Windows Installation in Windows 10

Windows .old 資料夾將會立即刪除。

The above is the detailed content of How to Remove Previous of Windows Installation in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn