Skip to content

Releases: ikkxeer/PSCacheCleaner

3.0 Windows Cache Cleaner & Update/Optimize 🧹

20 Mar 22:26
4e4dac2

Choose a tag to compare

Hello! I am pleased to bring one of the most important versions to date in which I will focus on completely improving the structure and speed of the code while incorporating a User Interface! 😊

All the code has finally been implemented as a compact graphical interface. In this case, I am still developing the graphical interface with new improvements, utilities and so on, but I will use this as a base.

So there are 2 different files:

  • PSCacheCleaner.ps1 - No User Interface ❌
  • PSCacheCleanerGUI.ps1 - With User Interface ✅

I have uploaded the files from the repository as a compressed file so that it weighs less and I can carry all the files in one.
There have been no new developments in the project beyond the user interface.


Example image:

Diseño sin título

Full Changelog: 2.5...3.0

2.4 Windows Cache Cleaner & Update/Optimize 🧹

19 Mar 07:53
26c27f7

Choose a tag to compare

Hello! This version 2.4 will focus mainly on improving code and performance, this new patch helps certain parts of the code that will make the user get more performance! 😊

In this new version the following changes have been made:

  1. Create file SECURITY.md ✅
  2. Discord temp error [SOLVED] ✅
  3. Adobe Premiere Pro temp error [SOLVED] ✅
  4. Nvidia temp error [SOLVED] ✅
  5. Adobe Photoshop logs clear ✅ #24
  6. Clear Opera cache ✅ #24
  7. Inside script control version ✅ #26
  8. Clear Net temp cache ✅ #27
  9. Clear System Root temp cache ✅ #28
  10. Clear Windows Update downloads temp ✅ #29
  11. Clear Crash Dump folder ✅ #30
  12. Bug clean recycle bin ✅ #31

Thank you very much for the support and I hope to be able to improve the code more and add new functions to it, I would love to receive proposals for improvements and new ideas, so I am open to any idea or fork! ✨

snippet (2)

Full Changelog: 2.3...2.4

2.3 Windows Cache Cleaner & Update/Optimize 🧹

18 Mar 22:26
f8f8d16

Choose a tag to compare

Hello! In this version I have focused on correcting errors that I have been encountering with users that I have put into testing in different environments with my script, I have resolved several of the bugs that I had reported, in addition to this I have added different improvements that we can see in the list of changes! 💻

In this new version the following changes have been made:

  1. Chrome temp cleaner error [SOLVED] ✅
  2. Error Handlling when checking modules [SOLVED] ✅
  3. Clear Outlook cache ✅
  4. Clear Epic Games cache ✅
  5. Create file CONTRIBUTING.md ✅
  6. Cleare Adobe Premiere Pro cache ✅

Thank you very much for the support and I hope to be able to improve the code more and add new functions to it, I would love to receive proposals for improvements and new ideas, so I am open to any idea or fork! ✨

snippet (1)

Full Changelog: 2.2...2.3

2.2 Windows Cache Cleaner & Update/Optimize 🧹

17 Mar 22:16
a07406c

Choose a tag to compare

Hello! In this version I wanted to improve Cache cleaning in major aspects, especially aimed at browsers. In addition, I have added several functionalities that I think will be useful for most people! 😎

In this new version the following changes have been made:

  1. Clean Cache NVIDIA ✅
  2. Clean Cache Google Chrome ✅
  3. Clean Cache Mozilla Firefox ✅
  4. Clean Cache Discord ✅
  5. Clean Cache Spotify ✅
  6. Clean Cache Edge ✅
  7. Update Microsoft Store apps ✅
  8. Handling errors when installing modules ✅
  9. Header at the beginning of the script ✅

Thank you very much for the support and I hope to be able to improve the code more and add new functions to it, I would love to receive proposals for improvements and new ideas, so I am open to any idea or fork! ✨

image

Full Changelog: 2.1...2.2

2.1 Windows Cache Cleaner & Update/Optimize 🧹

16 Mar 22:44
c89fd48

Choose a tag to compare

Hello! I am delighted to present a new version of the script, this time I have tried to improve various parts of the script to improve both its functionality, add new functionalities and make the performance much better than what it was before! 🔥

In this new version the following changes have been made:

  1. New function to clear Microsoft Store cache ✅
  2. New function to clear DNS cache ✅
  3. New feature to clean Recycle Bin (Optional) ✅
  4. More error handling ✅
  5. More information in the terminal ✅
  6. Extra comments to better understand the code ✅
  7. Better code structure and display style ✅
  8. Checking paths when cleaning directories to avoid errors ✅

Thank you very much for the support and I hope to be able to improve the code more and add new functions to it, I would love to receive proposals for improvements and new ideas, so I am open to any idea or fork! ✨

Full Changelog: 2.0...2.1

2.0 Windows Cache Cleaner & Update/Optimize 🧹

14 Mar 13:37
a380321

Choose a tag to compare

This PowerShell script is designed to automate various system maintenance tasks on Windows. It performs the following operations:

  1. Check Administrator Privileges: Checks if the script is being run with administrative privileges. If not, it restarts the script with elevated privileges.

  2. Install Required Module: Installs the PSWindowsUpdate module if not already installed.

  3. Disk Optimization: Optimizes the C drive by defragmenting, retrimming, consolidating slabs, and optimizing tiers.

  4. File Cleanup:

    • Cleans up specified directories, including C:\Windows\Prefetch, C:\Windows\SoftwareDistribution, temporary directories, and printer spooler directory.
    • Counts the number of files deleted during cleanup.
  5. Event Log Cleanup: Clears the Windows event logs.

  6. Disk Cleanup (cleanmgr): Initiates the disk cleanup process in the background using cleanmgr with very low disk space and automatic cleanup options.

  7. Application Update (Optional):

    • Asks the user if they want to update applications.
    • Checks for the presence of the winget package manager. If installed, it upgrades all applications.
    • If winget is not installed, prompts the user to install it.
  8. Windows Update (Optional):

    • Asks the user if they want to update Windows Update.
    • Installs available Windows updates from Microsoft Update and accepts all updates without a reboot.

How to Use

  1. Right click and run the script.

  2. Accept elevate permissions

  3. Follow the on-screen prompts to proceed with various maintenance tasks.

Requirements

  • Windows PowerShell 5.1 or higher
  • Administrative privileges
  • PSWindowsUpdate module (automatically installed by the script if not present)
  • winget package manager (optional, for application updates)

Notes

  • Ensure that you have a backup of important data before running any maintenance script.
  • Review the script and customize it according to your specific requirements before execution.

Author

This script was authored by Ikkxeer

For any inquiries or issues, please contact @ikkxeer

Contributing

Contributions to enhance the script or address issues are welcome. Please open a GitHub issue or submit a pull request.

Full Changelog: 1.0...2.0

1.0 Windows Cache Cleaner [NOT WORKING] 🔎

03 Feb 23:13
d743a5b

Choose a tag to compare

This Python script automates the cleanup of unnecessary files in Windows, targeting temporary folders, the Prefetch directory, and SoftwareDistribution. Use it cautiously, understanding potential consequences.

Features

  • Temporary Folder Cleanup: The script clears out files from the system's temporary folder (%TEMP%).
  • Prefetch Directory Cleanup: It also removes files from the Prefetch directory (C:\Windows\Prefetch), which may contain cached data for faster application loading.
  • Software Distribution Cleanup: Additionally, the script targets the SoftwareDistribution directory (C:\Windows\SoftwareDistribution), commonly associated with Windows Update.

Usage

  1. Ensure Python is installed on your system.
  2. Save the script to a file with a .py extension (e.g., cleanup_script.py).
  3. Run the script by double-clicking it or executing it from the command line: python cleanup_script.py.