The Tools section of Winscript provides a set of one-click system maintenance utilities that complement the main debloat and privacy scripts. Each tool targets a specific maintenance task and generates a standalone PowerShell command that you can run directly or include in your Winscript output.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flick9000/winscript/llms.txt
Use this file to discover all available pages before exploring further.
Shortcuts
The Shortcuts panel opens common Windows system panels directly — no scripts are generated for these, they are pure GUI launchers.| Shortcut | Opens |
|---|---|
| Windows Settings | The Windows Settings app |
| Device Manager | devmgmt.msc — manage hardware and drivers |
| Control Panel | The classic Control Panel |
| Virtual Memory | Advanced system properties → Virtual Memory dialog |
| Visual Effects | Advanced system properties → Visual Effects dialog |
| MSConfig | System Configuration utility |
Clean-up Tools
Clean Temporary Files
Deletes files from the Windows Temp folder and the Prefetch folder to free up disk space and remove stale data.Run Disk Cleanup
Launches the Windows Disk Cleanup utility in silent, low-disk mode using thesagerun:5 preset, which selects all available cleanup categories automatically.
Empty Recycle Bin
Uses theShell.Application COM object to iterate over every item in the Recycle Bin (namespace 10) and remove it forcefully, printing each deleted item’s name to the console.
Repair Tools
DISM (Deployment Image Servicing and Management)
Scans and repairs the Windows component store and system image.RestoreHealth downloads replacement files from Windows Update when corruption is detected. This is the first step recommended before running SFC, as SFC relies on an intact component store to restore files.
SFC (System File Checker)
Scans the integrity of all protected system files and replaces corrupted or missing files with cached copies from the Windows component store.Run DISM before SFC. If the component store itself is damaged, SFC cannot replace corrupted files. Running DISM first ensures the source files SFC uses are intact.
Create Restore Point
Creates a system restore point labelledRestorePoint1 before you apply any Winscript tweaks. The command first enables restore on the system drive (in case it was previously disabled) and then snapshots the current state.
RestorePoint1 entry.
Clear Browser History
Removes history, cache, and cookies for Chrome, Edge, Firefox, and Brave from their standard user data directories. The paths use environment variables so they resolve correctly for any user account.These paths target the Default profile only. If you use multiple browser profiles, additional profile directories (e.g.,
Profile 1, Profile 2) will not be affected.Reset Network
Flushes the DNS resolver cache and releases and renews the IP address lease. This can resolve connectivity issues caused by stale DNS entries or a misbehaving DHCP lease.Run MAS (Microsoft Activation Scripts)
Downloads and runs the Microsoft Activation Scripts project directly from its official distribution URL using PowerShell’sirm (Invoke-RestMethod) and pipes the output to iex (Invoke-Expression) for immediate execution.