When you update your Windows Operating System, the old OS files continue to remain on the disk 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.
Hur man tar bort Win-installationsfiler i 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? Svaret är Ja. 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 säkert att radera the following files from your Windows PC when you do not need them anymore:
- Windows installationsfiler
- Windows. gammal
- $ Windows. ~ BT
On the other hand, you have to be more cautious, and you should not delete the following files:
- Filer i AppData
- Files in Program Files
- Filer i ProgramData
- C: Windows
Anmärkningar: 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.
Metod 1: Använd diskrensning
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. I Windows sökning bar, typ Disk Städa och klicka på Körning as administratör, som markerats nedan.
2. i Select the drive you want to clean up section, choose your drive (e.g. C: drive), click on OK att fortsätta.
3. diskrensning will now scan for files and calculate the amount of space that can be cleared.
4. Relevant boxes are automatically checked in the diskrensning Window. Just, click on OK.
Notera: You can also check the boxes marked Papperskorgen korgen~~POS=HEADCOMP to clear out more space.
5. Växla sedan till Fler alternativ fliken och klicka på Städa upp knapp under Systemåterställning och skuggkopior, som avbildats.
6. Klicka på Radera in the confirmation prompt to delete all older Win Setup files except the last System Restore Point.
7. Vänta för diskrensning utility to finish the process and omstart din dator.
Now, all the files in C:Windows.old location will be deleted from your Windows 10 laptop/desktop.
Notera: Windows removes these files automatically every ten days, even if they are not deleted manually.
Läs också: Hur man använder diskrensning i 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 I Windows sökning bar, typ lagring inställningar och klicka på Öppna.
2. Klicka på System & reserverat in lagring settings, as shown.
3. Klicka här på Manage system restore knapp i System & reserverat skärm.
4. välj System Protection > Configure as shown below, Then, in System Protection Settings, Klicka på Radera som markerats nedan.
Notera: All restore points will be deleted for the selected drive. Here, Kör C, som visat.
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.
Metod 3: Använd kommandotolken
If you want to delete Win setup files in Windows 10 using the Command Prompt, follow the steps listed below to do so:
1. I Windows sökning bar, typ cmd och klicka på Kör som administratör.
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-tangent efter varje kommando:
cd C: attrib -r -a -s -h C:Windows. gammal /S /D takeow /f Windows. gammalt /a /r rd /s /q Windows. gammal
Wait for the commands to be executed. You have now successfully deleted Win setup files from your system using Command Prompt.
Läs också: Fix Command Prompt visas och försvinner sedan i 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.
Notera: You are advised to run an antivirus scan before you use this tool.
Följ de angivna stegen för att göra det:
1. Tryck Windows + I nycklar tillsammans för att öppna Inställningar.
2. Klicka här Uppdatering och säkerhet, som visat.
3. Klicka nu på Windows Security i den vänstra rutan.
4. Välj sedan Virus- och hotskydd alternativet under Skyddsområden sektion.
5A. All the threats will be enlisted here. Click on Start Actions under Aktuella hot 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. Öppna CCleaner download page i vilken webbläsare som helst.
2. Bläddra ner till FRI alternativ och klicka på Download, som markerats nedan.
3. Efter nedladdning, öppna installationsfil och installera CCleaner by following on-screen instructions.
4. Now, open the program and click on Run CCleaner, som avbildas nedan.
5. Klicka sedan på Anpassad rengöring from the left pane and switch to the Windows fliken.
Notera: För Windows, CCleaner will delete the Windows OS files, by default. Whereas, for Tillämpningar CCleaner will delete the programs which you have installed manually.
6. Under Systemet, check the files and folders containing Win Setup Files and other files you wish to delete.
7. Klicka slutligen på Kör renare, som markerats nedan.
8. Klicka på Fortsätta to confirm and wait for the cleaning process to be completed.
Läs också: 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. Gå till Inställningar > Uppdatering och säkerhet som nämnts i Förfarande 4.
2. Välj Återvinning alternativet från den vänstra rutan och klicka på KOM IGÅNG i den högra rutan.
3. Now, choose an option from the Återställ den här datorn fönster:
- Behåll mina filer option will remove apps and settings but keeps your files.
- The remove everything option will remove all your files, apps, and settings.
4. Följ slutligen instruktioner på skärmen för att slutföra återställningsprocessen.
Rekommenderad
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.