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.
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? پاسخ این است بله. 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 حذف امن است the following files from your Windows PC when you do not need them anymore:
- Windows setup files
- Windows. old
- $ ویندوز. ~ BT
On the other hand, you have to be more cautious, and you should not delete فایل های زیر:
- Files in AppData
- Files in Program Files
- Files in ProgramData
- C: ویندوز
توجه داشته باشید: 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.
روش 1: از پاکسازی دیسک استفاده کنید
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. در جستجوی ویندوز نوار ، نوع دیسک پاک کردن و کلیک بر روی دویدن as مدیر، همانطور که در زیر مشخص شده است.
2 که در Select the drive you want to clean up section, choose your drive (e.g. C: drive), click on OK برای ادامه.
3. پاکسازی دیسک will now scan for files and calculate the amount of space that can be cleared.
4. Relevant boxes are automatically checked in the پاکسازی دیسک Window. Just, click on OK.
توجه داشته باشید: You can also check the boxes marked سطل آشغال to clear out more space.
5. در مرحله بعد، به گزینه های بیشتر زبانه و بر روی کلیک کنید پاک کردن دکمه زیر بازیابی سیستم و کپی های سایه، همانطور که نشان داده شده است.
6. با کلیک بر روی حذف in the confirmation prompt to delete all older Win Setup files except the last System Restore Point.
7. صبر کنيد برای پاکسازی دیسک utility to finish the process and شروع دوباره کامپیوتر شما
Now, all the files in C:Windows.old location will be deleted from your Windows 10 laptop/desktop.
توجه داشته باشید: Windows removes these files automatically every ten days, even if they are not deleted manually.
همچنین خواندن: نحوه استفاده از Disk Cleanup در ویندوز 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 در جستجوی ویندوز نوار ، نوع ذخیره سازی تنظیمات و کلیک بر روی را باز کنید.
2. با کلیک بر روی سیستم و رزرو شده in ذخیره سازی settings, as shown.
3. در اینجا، بر روی کلیک کنید Manage system restore دکمه در سیستم و رزرو شده صفحه نمایش.
4 انتخاب کنید System Protection > Configure as shown below, Then, in System Protection Settings, با کلیک بر روی حذف همانطور که در زیر مشخص شده است.
توجه داشته باشید: All restore points will be deleted for the selected drive. Here, درایو C، همانطور که نشان داده شده است.
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.
روش 3: از 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. در جستجوی ویندوز نوار ، نوع CMD و کلیک بر روی به عنوان مدیر اجرا شوید
2A. Here, type the following command and hit را وارد کنید:
RD /S /Q %SystemDrive%windows.old
2B. Type the given commands one by one and press کلید ورود بعد از هر دستور:
CDC: 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.
همچنین خواندن: رفع خط فرمان ظاهر می شود سپس در ویندوز 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. 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.
توجه داشته باشید: You are advised to run an اسکن آنتی ویروس before you use this tool.
برای این کار مراحل داده شده را دنبال کنید:
1 مطبوعات ویندوز + من کلید با هم برای باز کردن تنظیمات.
2. در اینجا، بر روی آن کلیک کنید به روز رسانی و امنیت، همانطور که نشان داده شده است.
3 حالا روی کلیک کنید امنیت ویندوز در سمت چپ
4. سپس، را انتخاب کنید محافظت در برابر ویروس و تهدید گزینه زیر مناطق حفاظتی بخش.
5A. All the threats will be enlisted here. Click on اقدامات را شروع کنید زیر تهدیدات فعلی to take actions against the threats.
5B. اگر هیچ تهدیدی در سیستم خود نداشته باشید، سیستم آن را نشان می دهد هیچ اقدامی لازم نیست 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. باز کن CCleaner download page در هر مرورگر وب
2. به پایین بروید رایگان گزینه و کلیک کنید دانلود، همانطور که در زیر مشخص شده است.
3. پس از دانلود، آن را باز کنید فایل راه اندازی و نصب CCleaner نرم افزار by following on-screen instructions.
4. Now, open the program and click on Run CCleaner, همانطور که در زیر نشان داده شده است.
5. سپس ، بر روی کلیک کنید تمیز کردن سفارشی from the left pane and switch to the ویندوز تب.
توجه داشته باشید: برای ویندوز، CCleaner will delete the Windows OS files, by default. Whereas, for برنامه های کاربردی، CCleaner will delete the programs which you have installed manually.
6 زیر سیستم check the files and folders containing Win Setup Files and other files you wish to delete.
7. در آخر بر روی کلیک کنید Cleaner را اجرا کنید، همانطور که در زیر مشخص شده است.
8. با کلیک بر روی ادامه to confirm and wait for the cleaning process to be completed.
همچنین خواندن: 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 برو به تنظیمات > به روز رسانی و امنیت همانطور که در روش 4.
2. را انتخاب کنید بهبود option from the left pane and click on شروع به کار در صفحه سمت راست
3. Now, choose an option from the این رایانه را بازنشانی کنید پنجره:
- فایل های خود را نگه دارید option will remove apps and settings but keeps your files.
- The remove everything option will remove all your files, apps, and settings.
4. در نهایت، دنبال کنید دستورالعملهای روی صفحه to complete the reset process.
توصیه شده
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.