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.
Sådan slettes Win Setup-filer 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 er 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 sikkert at slette the following files from your Windows PC when you do not need them anymore:
- Windows installationsfiler
- Windows. gammel
- $ 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
Bemærk: 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.
Metode 1: Brug Diskoprydning
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øgning bar, type Disk Ryd op og klik på Kør as administrator, som fremhævet nedenfor.
2. i Select the drive you want to clean up section, choose your drive (e.g. C: drive), click on OK at fortsætte.
3. disk Oprydning will now scan for files and calculate the amount of space that can be cleared.
4. Relevant boxes are automatically checked in the disk Oprydning Window. Just, click on OK.
Bemærk: You can also check the boxes marked papirkurven to clear out more space.
5. Skift derefter til Flere indstillinger fanebladet og klik på knappen Ryd op knappen under Systemgendannelse og skyggekopier, som afbildet.
6. Klik på Slette in the confirmation prompt to delete all older Win Setup files except the last System Restore Point.
7. Vent for disk Oprydning utility to finish the process and genstart din pc.
Now, all the files in C:Windows.old location will be deleted from your Windows 10 laptop/desktop.
Bemærk: Windows removes these files automatically every ten days, even if they are not deleted manually.
Læs også: Sådan bruges Diskoprydning 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øgning bar, type Opbevaring indstillinger og klik på Åbn.
2. Klik på System & reserveret in Opbevaring settings, as shown.
3. Klik her på Manage system restore knappen i System & reserveret skærmbilledet.
4. Vælg System Protection > Configure as shown below, Then, in System Protection Settings, Klik på Slette som fremhævet nedenfor.
Bemærk: All restore points will be deleted for the selected drive. Here, Kør C, som vist.
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.
Metode 3: Brug kommandoprompt
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øgning bar, type cmd og klik på Kør som 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 Indtast nøgle efter hver kommando:
cd C: attrib -r -a -s -h C:Windows. gammel /S /D takeow /f Windows. gammelt /a /r rd /s /q Windows. gammel
Wait for the commands to be executed. You have now successfully deleted Win setup files from your system using Command Prompt.
Læs også: Fix kommandoprompt vises og forsvinder derefter på 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.
Bemærk: You are advised to run an antivirus-scanning before you use this tool.
Følg de givne trin for at gøre det:
1. Trykke Windows + I nøgler sammen for at åbne Indstillinger.
2. Klik her Opdatering og sikkerhed, som vist.
3. Klik nu på Windows Security i venstre rude.
4. Vælg derefter Virus- og trusselsbeskyttelse mulighed under Beskyttelsesområder sektion.
5A. All the threats will be enlisted here. Click on Start handlinger under Nuværende trusler to take actions against the threats.
5B. If you do not have any threats in your system, the system will show the Ingen handlinger nødvendige 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. Åbn CCleaner download page i enhver webbrowser.
2. Rul ned til GRATIS valg og klik på Hent, som fremhævet nedenfor.
3. Efter download skal du åbne opsætningsfil , installere CCleaner by following on-screen instructions.
4. Now, open the program and click on Run CCleaner, som afbildet nedenfor.
5. Klik derefter på Brugerdefineret ren from the left pane and switch to the Windows fane.
Bemærk: Til Windows, CCleaner will delete the Windows OS files, by default. Whereas, for Ansøgninger 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. Klik til sidst på Kør renere, som fremhævet nedenfor.
8. Klik på Fortsæt. to confirm and wait for the cleaning process to be completed.
Læs også: Sådan sletter du midlertidige filer i 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å til Indstillinger > Opdatering og sikkerhed som nævnt i Metode 4.
2. Vælg Recovery option from the left pane and click on Kom i gang i den højre rude.
3. Now, choose an option from the Nulstil denne pc Vindue:
- Gem mine 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ølg endelig instruktioner på skærmen for at fuldføre nulstillingsprocessen.
Anbefales
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.