A small Windows maintenance automation project written in Batch and PowerShell.
Clinera uses a lightweight launcher to download the current maintenance script from this repository and execute it locally. The goal is to centralize a few repetitive workstation-maintenance tasks in one script while keeping the executed version easy to update.
The current maintenance script can:
- flush the Windows DNS cache
- remove temporary system files
- clear selected Chrome, Edge, and Firefox browsing data
- empty the Recycle Bin
- remove Windows Prefetch files
- perform a basic HTTP availability check against a configured endpoint
clinera/
├── exec # launcher: downloads the current script and executes it
├── comand # maintenance tasks
└── README.md
exec downloads comand from this repository using PowerShell's Invoke-WebRequest, stores the downloaded script in %TEMP%, and then executes it.
GitHub repository
↓
PowerShell download
↓
%TEMP%\script_baixado.bat
↓
Batch execution
Review both scripts before running them. On a Windows machine, execute the launcher from a Command Prompt with the permissions required by the maintenance operations you intend to run.
Some operations may require elevated privileges.
This project performs destructive cleanup operations. Depending on the browser and system state, it can remove browser cookies, history, cached data, temporary files, Recycle Bin contents, and Prefetch files.
Do not run it on a workstation unless you understand the current contents of comand and are comfortable with those changes. The launcher executes the version hosted in this repository at runtime, so reviewing the remote script before execution is especially important.
Clinera started as a practical automation utility for reducing repetitive manual maintenance steps on Windows workstations. It is kept intentionally simple and transparent so each operation can be inspected directly in the Batch source.