Skip to content

About

App designed to boost performance, personalize your system, and enhance your Windows experience.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Repository files navigation

win-optimizer — Windows optimization and maintenance app

win-optimizer — Windows 10 & 11 Optimizer

win-optimizer combines Windows cleanup, app removal, privacy settings, desktop customization and system maintenance. It also provides hardware monitoring, process inspection and Windows diagnostics.

Preview settings in Test mode and review cleanup results before choosing what to apply.

Download

Download win-optimizer for Windows 10 & 11

Open win-optimizer.Installer.exe, select regular or portable, then browse or enter a destination folder. Regular installs register with Windows and support shortcuts and uninstallation; portable installs use a movable app folder. Updates and uninstallation preserve files that setup did not install. Changing installation type requires another folder or removal of the existing installation. See data and uninstallation before removing shared data.

x64 · .NET and Windows App SDK runtimes included.

Prefer PowerShell? Install with one command
irm "https://raw.githubusercontent.com/sh1zen/win-optimizer/main/win-optimizer.ps1" | iex

The command downloads and opens the same setup wizard to choose regular or portable installation and its destination folder. Installation and in-app updates use the latest published stable release. System-level operations require the applicable Windows administrator permissions; some hardware tools also depend on compatible firmware or drivers.

Screenshots

Explore more

User guide — features, settings and backups

Getting started

The app restores your language, theme, window placement, sidebar and app-list layout at startup. A loading screen shows initialization progress before the main interface opens.

  1. Pick a task. Open Software & Apps, Optimize, Cleaner or another section from the sidebar. Overview cards lead to individual tools; Optimize and Customize also offer search suggestions.
  2. Inspect your choices. Read the current values and available options. Use a setting's ⓘ button or Ctrl+D to inspect registry values, scripts and dependencies; close the dialog with Close, Escape or Ctrl+D.
  3. Preview settings when needed. Use the title-bar Test mode button to build a temporary configuration draft before applying supported settings to Windows.
  4. Review and confirm. Select scan results or changes, confirm the operation and follow its progress in the shared footer. Cancellation is available where supported; logs and history help you review the outcome.

Closing during an operation asks for confirmation before stopping work. Confirmed closing and update restarts wait for operation cleanup and pending saves; cancelling the close leaves monitoring active.

Use Back/Forward or Alt+Left/Right to move between section overviews and subpages, including Settings categories. Selecting a sidebar destination opens its overview. App inventory has its own loading indicator.

Windows optimization features

What you want to do Where to start
Remove unwanted Windows apps and installed software Software & Apps
Adjust privacy, gaming, power and desktop settings Optimize and Customize
Clean temporary files, caches and broken shortcuts Cleaner
Review antivirus, firewall and security settings Security
Inspect unused drivers and available driver updates Drivers
Watch hardware activity with desktop widgets Extension
Manage system editors, battery charging, startup, processes and Windows health Control
Prepare Windows installation media and reusable configurations Advanced Tools

Remove unwanted apps and review leftovers

Software & Apps lists Windows apps, capabilities, optional features and external software for selected uninstallation. Table, card and compact views share saved sorting by group, name, installation date, size or last usage. Dates/sizes sort newest/largest first, with unknowns last. Cards and compact views retain groups; table headers also offer column sorting.

Installation dates can reflect updates, sizes are estimates or packaged file sizes, and last usage depends on the interactive account's available shell launch history. Unavailable values appear as —. Show hidden or inactive installed apps is an administrator-only opt-in for catalogued AppX packages retained on the device without a current-account registration; inactive entries have orange indicators.

Uninstall opens a desktop program's unambiguously matched registered uninstaller, blocks and minimizes win-optimizer while it runs, then restores the app when it exits. If none can be identified, confirm whether to use automatic removal through the available package manager or detected installation files. Cancelling that prompt preserves the app. The inventory refreshes after the workflow finishes, including partial failures or cancellation. Only verified removals are confirmed; Refresh also checks Windows on demand. AppX inventory and external-app removal follow the interactive account when the app runs with another administrator's credentials. Store downloads and portable-app paths use that same account. Interactive EXE installers finish before reporting success; cancellation stops further silent attempts.

After uninstallation, a review page opens. Choose Scan to find leftovers, then review files and folders followed by registry entries, one step at a time. Each step supports individual and group selection, Select all, Deselect all and confirmed Delete selected. Moving between steps preserves your choices; deletion affects only the current step's selection. Empty steps are shown too. Active, shared, restart-deferred and unverifiable resources remain protected, and coverage gaps are reported. Scan again refreshes the evidence. Every residue cleanup requires a verified backup, which you can restore in the review or through Uninstall cleanup backups.

Configuration imports can select apps for review or explicitly request removal; External Apps defaults to selection only.

App icons use artwork from installed Windows packages and desktop programs' registered local icons. Refresh reloads desktop icon references; entries without readable artwork use category glyphs.

External Apps combines its supported app catalogue with installed desktop programs registered by Windows for the machine or current account. Refresh discovers new installations. Programs outside the catalogue appear under Other Utilities; automatic reinstallation is available only for supported catalogue entries.

The Leftover tab scans obsolete app registrations, unused installer caches and aged installation folders across shared application locations and all registered Windows profiles, including per-user installer caches. It also finds empty previous installation directories under Program Files and Local\Programs while protecting active paths and Windows-managed folders. Review paths and eligibility reasons, then choose Delete selected. The summary includes selections hidden by search; Refresh rescans. Cleanup requires a verified backup, restorable through Uninstall cleanup backups. The leftover scan guide defines exact ownership evidence, age limits and protections for active installations, runnable files, queued operations and incomplete coverage.

Fine-tune Windows settings and privacy

Optimize and Customize bring privacy, gaming, Windows Update, power, sound, notifications and desktop customization into searchable categories. Controls show current settings and available choices. Advertising, suggestions and promotional content have individual controls in Privacy & Security, Notifications and Start Menu. Configuration review shows queued changes matching your search.

  • Context-menu customization: enable or disable a program's supported Explorer registrations together, or expand a group to change individual entries. Icons, enabled-entry counts, search and registry-location details help identify them. Changes apply immediately and can be reversed with the same toggle; machine registrations may require elevation. Group operations report partial failures. Registry commands, COM handlers and file-type registrations are supported; packaged Windows 11 extensions may not appear.
  • Network tuning: inspect 25 controls for TCP behavior, offloading, IPv4/IPv6 limits and legacy name-resolution priorities. Confirm each edit and use Refresh to reread Windows values. Clear override removes a legacy priority override; those priorities may be ignored by modern resolution and require a restart after changes. Enhance network performance restores normal TCP receive-window auto-tuning and enables global RSS. Results depend on your network and adapter; these settings do not guarantee speed improvements. DNS, proxies, VPNs and adapter-specific choices remain intact. See the network controls guide.
  • Optional Windows features: confirmed toggles control selected services, diagnostic data, Cortana, Copilot and advertising. On applies the named restriction; off restores related policies and declared service defaults. Previous custom service choices are not restored. The services toggle covers installed Retail Demo, Offline Maps and Fax services and requires a restart. Windows 10 also offers Timeline activity publishing. Home/Pro can still send required diagnostic data when telemetry restrictions are enabled.
  • Copilot controls: apply Windows/Edge policies and remove the interactive account's standalone Microsoft Copilot app and local data. The toggle reflects policy state; turning it off restores policies. Reinstall the app from Microsoft Store if needed. Edge coverage depends on version and profile; web access remains available. Individual policy/service controls are also available under Privacy and Gaming and Performance.
  • Update notifications: on shows standard Windows Update notifications; off suppresses them, including restart warnings. Recommended and Windows-default configurations leave notifications on.

Context-menu, network and optional-feature tools block changes in Test mode and configuration review. Network edits verify Windows readback and expose discovery errors. Optional-feature tools run separately from configuration presets and exports.

Clean junk files and reclaim disk space

Cleaner covers privacy traces, junk files, shortcuts, registry cleanup, registry defragmentation and disk optimization. Scan first, choose a scanned category on the left and select actionable findings on the right. Category counters show found and selected items; protected findings remain counted separately. Changing categories preserves item choices and group expansion. Select all results, Clear selection and confirmed cleanup cover the whole scan. Scan choices save automatically; changing options requires another scan. Failed or cancelled scans provide no cleanup plan. The cleanup report shows totals and a numerical breakdown for every category selected before scanning, including categories with no findings. It counts found, selected, completed, removed, failed and unprocessed items. Estimated file space freed counts only successfully removed files; removed registry data is shown separately, and maintenance operations count as completed operations. Partial and cancelled cleanup retain confirmed results. Scan diagnostics and cleanup errors are available under collapsed Technical details. Protected registry entries are reported while cleanup continues with other selected items. Choose Scan to refresh findings before cleaning again. Disk analysis displays the selected drive and the full, selectable Windows report. Result sizes use B/KB/MB/GB. Selected data size includes file lengths and estimated registry-value payloads; registry metadata and immediate disk-space recovery are not included.

Use Settings → Cleaner to choose scan targets, file age, registry categories, deep scanning, cache locations and the drive to optimize. Privacy, junk, registry and shortcut scans have independent account selections. The interactive account is selected initially; clearing all accounts skips user data while enabled common locations still run. Unavailable profiles produce notices.

Cleanup coverage, protected files and recovery
  • Junk files: user/Windows temporary folders, diagnostic logs (CBS archives, DISM, setup and Windows Update), WER reports, crash dumps, temporary Internet files, thumbnails and DirectX shader caches are enabled by default. Saved exclusions are respected. Installed-app LocalCache/TempState folders are separate opt-ins. Windows Installer, component-store and Prefetch files are outside these rules; event-channel maintenance is available from Cleaner.
  • File age and activity: all detected junk appears in results, but the default seven-day modification-age limit protects recent files with disabled selection and a reason. Choose 0–365 days; zero includes recent inactive files. Locked files and files accessed after scanning begins remain protected. Close their app and rescan before cleaning unavailable files.
  • Privacy traces: supported browser caches/history and Windows/application traces use known locations. Office/WinRAR history, jump lists, offline browser caches and Defender support logs are separate opt-ins. Clearing jump lists also clears pinned items. Active or locked files show a reason and cannot be selected; portable apps and custom data paths may fall outside coverage.
  • Broken shortcuts: selected Desktop, Start menu and recent-document locations are checked for confirmed missing local targets. Unresolved or unavailable network targets are retained. Recent-document scanning defaults on independently of privacy history, and overlapping findings appear once.
  • Registry maintenance: cleanup checks typed references in applicable registry views and requires explicit selection of values. Service, virtual-device and firewall findings are diagnostic. References and file evidence are rechecked before changes. Compaction uses selected registry accounts; deep scanning also analyzes machine hives.
  • Backups: file/value backup and whole-hive backup options default on. Backup preparation must finish before selected resources change. Restore file/value backups from Settings; conflicting current data is preserved. Whole-hive backups include offline recovery notes. Cancellation retains completed work and backups; active native hive operations finish before stopping.

Use Cleaner → Events cleanup to select and confirm event channels to clear. Windows creates EVTX backups; per-channel results report failures and archive-verification errors. Partial cleanup shows a completion summary; complete failures and archive issues show an error. Open archives in Event Viewer.

Review Windows security settings

Security checks antivirus protection, Windows Firewall profiles, known active Defender threats, UAC and pending security/critical updates in the local Windows Update cache. Empty cached update results need an online Windows Update check. Threat inspection reads existing detections; use Windows Security for a current malware scan and verify third-party antivirus registrations with their provider.

Deep scan adds optional hardening and privacy checks for ISATAP, Teredo, Firefox homepage protection, language-list access and app-launch tracking. Select supported findings and confirm Apply selected fixes. Network changes can affect managed networks or games. Firefox protection locks its policy homepage, using about:home when no policy URL exists, and requires a browser restart. Custom Firefox policies and portable installations need manual review.

Fixes recheck evidence and verify readback, with explicit results for changed, unavailable, managed or tamper-protected settings. Rescan before retrying attempted fixes. Cancellation retains completed changes. Test/review modes allow scanning and block fixes; UAC, threats and updates require review in Windows settings or your antivirus.

Inspect driver packages and updates

Drivers scans unreferenced driver-store packages, disconnected device registrations and applicable offers from Microsoft's public Windows Update service. The online search includes optional offers and inspects bundled driver packages. Drivers available only from a hardware manufacturer's website may not be offered by Windows Update. Only show WHQL-tested driver updates defaults on in Settings → Drivers; verification uses matching INF/catalog evidence, rather than a trusted signature alone. Scanning may download packages for inspection, but does not install updates or automatically accept licenses. Online failures are reported separately from empty results. The results show the active filter; if WHQL verification hides offers, turn off the filter in Settings → Drivers and scan again to review their unverified status.

Select unused packages or disconnected devices and confirm Uninstall selected. Removal requires elevation and a fresh inventory check; bound, changed, inbox and boot-critical packages are protected. Removing a disconnected device retains its package, and that device may still be needed. Cancellation stops between native removals and reports completed work, failures and restart requirements.

Monitor hardware with desktop widgets

The Extension section provides desktop widgets:

  • SysMonitor: follow CPU, memory, network and available hardware sensors in a movable compact or expanded desktop widget. Customize theme, refresh interval, always-on-top behavior, expanded sections and scale (50–200%, default 100%). Preferences save automatically; scale changes apply immediately. Expanded GPU, clock, power, voltage and storage cards show 60-sample charts with colored legends and full sensor/device names on hover.

SysMonitor stays active when you close the main window; use its gear or launch the app again to reopen the window. Disabling the last widget while the window is hidden exits the process. Start with Windows is opt-in and requires an administrator desktop account. Reopen a moved portable installation to update the logon task path. Low-level sensors use LibreHardwareMonitor and may require elevation and PawnIO, linked from Settings; install it and restart the app for supported readings.

Sensor support depends on hardware, firmware and drivers.

Manage startup, processes and Windows health

Open Control for system editors, battery charging, connection management, diagnostics and maintenance:

  • Environment variables editor: edit user/system variables and ordered PATH entries, or use raw text, then Save. Values remain unexpanded; user edits target the interactive account even under alternate-account elevation. Restart existing processes when needed to pick up changes. Refreshing or changing scope asks before discarding unsaved edits; a failed scope read preserves the current draft.
  • Hosts File Editor: edit IPv4/IPv6 mappings, aliases, comments and enable switches, or use text mode. Save changes validates the draft, rejects external changes, verifies a backup and preserves encoding and permissions. Undo last save uses the same save workflow to restore it.
  • Battery charge limit: discover supported OEM controls, select an advertised threshold and choose Apply limit. Only matching firmware readback confirms success. Battery health, capacity and available power readings accompany the controls. The battery guide covers provider availability, OEM support installation and hardware limitations.
  • Connection: inspect adapters, DNS, Windows VPN profiles, 30 days of retained usage and a live 15-minute traffic window while the page is open. DNS changes require Apply; VPN management opens the interactive user's Windows Settings. Test/review modes allow reads and block changes.
  • Saved Wi-Fi passwords: view saved profiles, adapter/security details and readable passwords on a separate page. Windows permissions govern access; open networks, enterprise authentication and unavailable keys have distinct labels. Credentials stay in memory and clear on leaving the page. Use the signed-in account; alternate-account elevation cannot read this inventory.
  • Autorun management: review startup entries grouped by user, shared and system scope and confirm supported enable/disable actions. The autorun guide covers editable sources, account permissions and inspection through Microsoft Autorunsc.
  • Process monitor: explore a process tree, CPU/memory/I/O, process details and TCP/UDP ports. The measurement guide explains sorting, coverage, permissions and consent for open-file queries and traffic observation.
  • Windows status and restore: run quick health checks, full diagnosis, DISM/SFC repair or separately confirmed component cleanup. The Windows servicing guide explains repair sources, restart restrictions, ResetBase consequences and cancellation.

Battery support depends on hardware, firmware and drivers. System-variable, hosts and firmware writes require the applicable Windows/BIOS permissions and are blocked in Test mode and configuration review.

Prepare Windows installations and restore configurations

Advanced Tools provides:

  • WIMUtil: customize Windows installation media, add drivers, and generate an answer file from current selections or select a local XML file. Keep the source ISO outside the extraction folder. Conversion exports and verifies every edition before replacing the source image; driver integration retains nested package files and existing setup commands. Changing or re-extracting media resets dependent steps; changing XML, drivers or image files requires rebuilding the ISO. Failed extraction keeps dependent steps locked. ISO creation waits for running tasks, builds and checks a temporary file, then replaces the destination. Failure or cancellation preserves an existing ISO.
  • Autounattend generator: build a Windows unattended-installation XML file from selected settings.
  • System information: collect a dated snapshot of hardware, Windows and installed drivers. Later visits reuse it until Refresh; unavailable data is identified, and cancellation retains the prior snapshot. Driver signature metadata is separate from Drivers-page WHQL verification.
  • Restore: import/export configurations, apply managed Windows defaults after confirmation, and create, list or delete Windows restore points. Test mode allows listing and configuration export while blocking system changes.

Test mode, backups and change history

Use Test mode in the title bar to prepare a temporary draft of current compatible settings. Edits stay in the draft. Export typed values and app selections to a .win-optimizer file, or exit with Export config, Apply changes or Discard. Closing the exit dialog discards the draft; cancelled or failed exports retain it. Apply runs only edited settings through the normal configuration workflow. System-changing actions are guarded during the session; preferences and read-only Cleaner scans remain available. Power-plan deletion is blocked in Test mode.

Logs and history groups saved sessions and change receipts by topic, newest first. Expand topics, search activity or filter changes, diagnostics and problems. Setting changes show Before/After values, and technical details retain exceptions and record provenance. Load older activity continues through saved records. Clear app logs confirms and clears diagnostics while retaining change history.

Backup and restore options depend on the tool. Cleaner provides file/value and whole-hive backup options, app-residue cleanup requires a verified backup, and the Restore tools manage Windows restore points. Review the relevant operation's results and recovery options before proceeding. Startup saves an initial configuration backup and retries failed or timed-out attempts on the next launch.

Preferences and app updates

Settings offers searchable categories with automatic saves. Adjust language, theme, app color and expanded/compact navigation. Restore configuration resets the open category; Reset all settings resets all preferences exposed by the page. An unreadable preferences file blocks incremental saves so existing settings remain intact.

Settings → Info includes manual update checks and independent automatic app and removal-script update switches, both enabled by default. Automatic checks start after a 30-second delay and run at most daily across restarts; manual checks are independent of those switches. A failed check is shown as an error rather than a claim that the installed version is current.

Application data lives under %ProgramData%\win-optimizer, shared across installations. Account-dependent data uses Users\<SID> folders. See the storage reference for paths, permissions and retention.

Uninstallation keeps this store by default so reinstalling retains preferences, backups and history. Full cleanup removes the entire store, including cached tools and scripts, this installation's Windows usage/compatibility and shortcut history across registered accounts, matching startup tasks and the app's Prefetch files. Empty app folders in Task Scheduler are removed; other applications' entries and tasks are preserved. It does not undo Windows changes. Restore settings that depend on these scripts before choosing full cleanup, and close the app first. Administrator access may be required to remove protected data. If cleanup fails, uninstall stops and reports the remaining-data location so you can retry or keep it.

Silent uninstallation also keeps data by default. Administrators can explicitly use unins000.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DATA=remove for full cleanup, or /DATA=keep to retain data. An invalid data option aborts uninstallation.

Developer guide — build, tests and architecture

Development

Use Windows, the .NET 11 SDK specified in global.json, Visual Studio 2026 / Build Tools with MSBuild 18+, the .NET desktop and C++ desktop workloads, and the Windows SDK. Open win-optimizer.sln in Visual Studio. CI uses the same SDK. The application targets .NET 10 and includes its runtime.

./build.ps1
./build.ps1 -Configuration Debug
./build.ps1 -NoRestore

The default is Release/x64 at build/win-optimizer.exe, with logs in build/logs/build.log. -Clean rebuilds; -MSBuildPath selects MSBuild explicitly. Use -NoRestore for code-only incremental builds after a successful restore; restore again after changing dependencies or the SDK. Release uses optimized IL and portable PDBs retained in compiler intermediates; deployment and publish folders omit symbol copies. Debug builds keep normal debugger settings and adjacent symbols. Packaging exports matching PDBs separately to build/symbols/win-optimizer-vYY.MM.DD-win-x64.zip, outside the runtime payload. Keep that ZIP with its release for source-level debugging and crash analysis. ./extras/export-debug-symbols.ps1 -Version YY.MM.DD exports an existing Release build. For concurrent builds, -BuildRoot ./build/isolated redirects all generated output to a separate reusable location. Version.props is the single source for the application's YY.MM.DD version, defaulting to the build machine's local date. -Version selects an explicit release date. Visual Studio uses the same version file. Product/file metadata uses YY.MM.DD; application update tags use vYY.MM.DD.

Test commands, focused suites and isolation requirements are in the test guide.

Packaging uses ./extras/build-and-package.ps1 with Inno Setup 6 and a YY.MM.DD version (-Version, defaulting through Version.props to the current date). It produces build/installers/win-optimizer.Installer.exe from build/publish/. Use -SkipSigning for an unsigned package without signing prompts, and -InnoCompiler <path-to-ISCC.exe> for a portable Inno Setup installation. Build ownership, test/build reuse and signing order are documented in Architecture.

The Build Windows installer GitHub Actions workflow runs on pushes/pull requests to main and through Actions → Build Windows installer → Run workflow. Its optional version accepts YY.MM.DD, defaulting to the build date. Download the validated unsigned installer from Artifacts → win-optimizer-windows-x64-vYY.MM.DD after success. Installers are retained for 30 days; test results/build logs for 14 days, including failures. Matching symbol ZIPs are separate win-optimizer-symbols-windows-x64-vYY.MM.DD artifacts retained for 30 days. Validation artifacts use win-optimizer-validation-vYY.MM.DD (or vunresolved if version resolution fails).

Push a vYY.MM.DD tag to run the Release workflow, build that version and publish the validated installer with notes from CHANGELOG.md. Keep concise changes under ## [Unreleased]. Before a release, move its notes into ## [vYY.MM.DD] - YYYY-MM-DD using the exact tag and release date, and leave Unreleased at the top for future changes. Publication uses only the matching section's body, preserving its Markdown through a UTF-8 notes file. A missing, empty or duplicate tag section stops publication. For a release dated today, prepare the matching changelog section and commit the sources, then run:

$releaseTag = 'v' + (Get-Date -Format 'yy.MM.dd')
git tag $releaseTag
git push origin $releaseTag

ARCHITECTURE.md describes components, storage and execution contracts. Application artwork covers icon authoring, generation and attribution. Third-party notices list resolved application dependencies, build tooling, bundled WinGet components and optional downloads. Review them when updating package references or refreshing the WinGet bundle.

Support and feedback

Found a problem or have a feature idea? Use the GitHub issue tracker.

To support development, open the heart icon in the title bar or Settings → Info → Support win-optimizer to open PayPal. You can also donate through PayPal.

win-optimizer is an independent project, unaffiliated with Microsoft. Windows is a registered trademark of Microsoft Corporation.

License

This project is licensed under the Apache License, Version 2.0. Copyright © Andrea Frolli. See THIRD-PARTY-NOTICES.txt for licenses and attributions for third-party components.

About

App designed to boost performance, personalize your system, and enhance your Windows experience.

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages