This is a Windows batch script designed to perform various cleaning tasks on a Windows system. It provides a simple menu interface to choose from different cleaning options.
- Clean user's temporary folder: Deletes all files and subfolders in the user's temporary folder (%temp%).
- Clean Windows Prefetch folder: Deletes all files and subfolders in the Windows Prefetch folder (C:\Windows\Prefetch).
- Clean Windows temporary folder: Deletes all files and subfolders in the Windows temporary folder (C:\Windows\Temp).
- Empty Recycle Bin: Permanently deletes all files in the Recycle Bin.
- Empty Download folder: Deletes all files and subfolders in the user's Downloads folder.
- Flush DNS Cache: Flushes the DNS resolver cache.
- Activate Ultimate Performance Power Plan: Activates the Ultimate Performance power plan if available.
- Restore Power Plan: Restores the default power plan settings.
- Clear Microsoft Store Cache: Clears the cache for the Microsoft Store.
- Clear Windows Update Cache: Stops the Windows Update service, clears the Windows Update cache, and restarts the service.
- Repair Windows System: Runs System File Checker (SFC) and DISM to repair Windows system files.
- Clear Thumbnail Cache: Deletes all thumbnail cache files in the Explorer folder.
- Run the script with administrator privileges. If not run as administrator, it will attempt to elevate privileges.
- Select an option from the menu by entering the corresponding number.
- Follow the on-screen prompts to complete the selected action.
- After each action, there is a 3-second delay before returning to the main menu.
- This script requires administrative privileges to perform some actions.
- Use caution when running scripts that delete files, as they cannot be recovered once deleted.
- Some options may require additional confirmation before execution.
After exiting the program, a notification will be shown to confirm the program's completion.
This script is designed to work on Windows systems.