Skip to content

RajwanYair/RegiLattice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

623 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

⚡ RegiLattice

RegiLattice — Windows Registry Tweaks Toolkit

Windows 10 / Windows 11 registry tweaks toolkit — privacy hardening · performance optimizer · debloater · security hardening · group policy alternative · .NET 10 C# · WinForms GUI · CLI

CI .NET 10 C# Tests Platform License Version

A comprehensive Windows 10 / Windows 11 registry tweak toolkit and system optimizer — debloater · privacy hardening tool · performance optimizer · security hardening · group policy alternative — with 7,479 verified tweaks across 127 categories, a declarative RegOp engine, a full CLI with 25+ commands, an interactive console menu, and a WinForms GUI with 11 switchable themes. Built on .NET 10 (C# 13) for native performance on Windows 10/11 x64.

Download & Install

Pre-built installer (recommended):

👉 Download RegiLattice v6.25.0 (MSI installer + portable EXE) from the Releases page

The MSI installer:

  • Installs GUI (RegiLattice.GUI.exe) under Program Files\RegiLattice\GUI\
  • Installs CLI (RegiLattice.exe) under Program Files\RegiLattice\CLI\ and adds it to PATH
  • Creates a Start Menu shortcut
  • Supports upgrade and uninstall via Add/Remove Programs
  • Requires no separate .NET runtime (self-contained, win-x64)

Portable executables (no install required):

Download RegiLattice.GUI.exe or RegiLattice.exe directly from the Releases page, place them anywhere, and run.

Highlights

RegiLattice Stats

  • 7,479 verified tweaks across 127 categories — each fully reversible with apply + remove
  • Declarative RegOp pattern — most tweaks defined as data (ApplyOps/RemoveOps/DetectOps), not code
  • 3 interfaces — WinForms GUI, CLI with 25+ commands, interactive console menu
  • WinForms GUI — 11 switchable themes (Catppuccin Mocha/Latte, Nord, Dracula, Tokyo Night, Gruvbox Dark, Solarized Dark, One Dark Pro, Rosé Pine, Everforest, Cyberpunk), collapsible categories, scope badges (USER/MACHINE/BOTH), live search, checkbox selection, status filters, profile selector
  • 5 machine profiles — business, gaming, privacy, minimal, server
  • Dry-run mode — preview changes without touching the registry (--dry-run)
  • Snapshot & diff — save/restore tweak state (JSON), compare snapshots (--snapshot-diff)
  • Compliance history — rolling drift log; --compliance-history + --compliance-report auto CLI flags
  • Validation & stats--validate checks all TweakDef integrity; --stats shows scope/admin/corp breakdown
  • JSON export--export-json for scripting; --export-reg for .REG file generation
  • Composable filtersFilter() engine API supports scope, category, min-build, tags, corp-safe, and free-text query
  • Dependency resolver — topological ordering; ApplyBatch() auto-resolves deps
  • Parallel detectionStatusMap(parallel: true) for fast batch status checks
  • UAC elevation — automatic admin re-launch
  • Corporate network safety — blocks tweaks on domain-joined, Azure AD, VPN, and managed machines
  • Automatic backups — every registry mutation is backed up to JSON before changes
  • Package managers — built-in Scoop, pip, Chocolatey, WinGet, and PowerShell module manager dialogs
  • 3,230 tests across 17+ test files — full engine, model, service, plugin, and GUI coverage (xUnit)
  • Dependency resolutionResolveDependencies() topological sort; Dependents() reverse lookup
  • Validation engineValidateTweaks() checks IDs, labels, categories, broken DependsOn, circular deps
  • Plugin system — JSON Tweak Packs with marketplace, SHA-256 verification
  • Localization — built-in English + German locale (48 strings)

RegiLattice Feature Categories

Architecture

Full architecture reference — Mermaid diagrams for data flow, class model, CI pipeline, and more: docs/Architecture.md CLI commands reference: docs/CLI-Reference.md Tweak categories reference: docs/TweakCategories.md

RegiLattice Architecture — Core, GUI, CLI, Tweaks, Registry

How It Works

How RegiLattice Works — Browse, Preview, Apply, Verify, Revert

Use Cases

Who What RegiLattice solves
Privacy-conscious users Disable telemetry, activity tracking, Cortana, OneDrive sync, diagnostic data, and advertising IDs across 31 privacy categories in one pass
Gamers Reduce input lag, disable background services, optimize GPU scheduling, power plan, TCP stack, and HPET across 31 gaming categories
IT admins / sysadmins Batch-apply GPO-equivalent registry hardening (SEHOP, LSA-PPL, ASLR, SMB signing, UAC, BitLocker) with full rollback and dry-run mode
Corporate IT / MDM CorporateGuard blocks unsafe tweaks on domain-joined, Azure AD, and Intune-managed machines; --force override when authorized
Developers Declarative TweakDef + RegOp API, extensible plugin system, xUnit-tested, CLI for scripting and CI pipelines
Power users Apply a machine profile (business/gaming/privacy/minimal/server) in a single command; snapshot before/after, diff, restore

Theme Gallery

11 Switchable Colour Themes

Tweak Categories (127)

127 categories spanning privacy, performance, security, accessibility, gaming, networking, browser hardening, developer tools, cloud storage, remote desktop, virtualization, and more. Each tweak is fully reversible with apply/remove/detect operations.

See docs/TweakCategories.md for the full category reference, or use --categories for live counts.

Requirements

  • Windows 10/11 (build 19041+)
  • .NET 10 Runtime (or build from source with .NET 10 SDK)
  • Administrator privileges for HKLM tweaks (auto-elevates via UAC prompt)

Quick Start

Build from Source

# Clone and build
git clone https://github.com/RajwanYair/RegiLattice.git
cd RegiLattice
dotnet build RegiLattice.sln -c Release

# Run tests (3,230 tests)
dotnet test RegiLattice.sln

# Publish self-contained executables
dotnet publish src/RegiLattice.GUI/RegiLattice.GUI.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o publish/gui
dotnet publish src/RegiLattice.CLI/RegiLattice.CLI.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o publish/cli

GUI (Recommended)

dotnet run --project src/RegiLattice.GUI
# or run the published self-contained executable:
.\publish\gui\RegiLattice.GUI.exe
# or install via MSI and launch from Start Menu

WinForms window with 11 themes (Catppuccin Mocha default), collapsible categories, scope badges (USER/MACHINE/BOTH), live search bar, checkbox selection (double-click to toggle), status filters, profile selector, and package manager dialogs (Scoop, pip, Chocolatey, WinGet).

CLI

dotnet run --project src/RegiLattice.CLI -- --list
dotnet run --project src/RegiLattice.CLI -- apply disable-telemetry
dotnet run --project src/RegiLattice.CLI -- remove disable-telemetry
dotnet run --project src/RegiLattice.CLI -- status disable-telemetry
dotnet run --project src/RegiLattice.CLI -- --profile gaming
dotnet run --project src/RegiLattice.CLI -- --gui
dotnet run --project src/RegiLattice.CLI -- --menu
dotnet run --project src/RegiLattice.CLI -- --dry-run --list
dotnet run --project src/RegiLattice.CLI -- --snapshot state.json
dotnet run --project src/RegiLattice.CLI -- --restore state.json
dotnet run --project src/RegiLattice.CLI -- --snapshot-diff before.json after.json
dotnet run --project src/RegiLattice.CLI -- --export-json tweaks.json
dotnet run --project src/RegiLattice.CLI -- --export-reg tweaks.reg
dotnet run --project src/RegiLattice.CLI -- --doctor
dotnet run --project src/RegiLattice.CLI -- --hwinfo

Machine Profiles

dotnet run --project src/RegiLattice.CLI -- --profile business   # 39 categories — productivity & security
dotnet run --project src/RegiLattice.CLI -- --profile gaming     # 31 categories — GPU & low-latency
dotnet run --project src/RegiLattice.CLI -- --profile privacy    # 31 categories — telemetry & tracking off
dotnet run --project src/RegiLattice.CLI -- --profile minimal    # 22 categories — fast, clean essentials
dotnet run --project src/RegiLattice.CLI -- --profile server     # 28 categories — hardened & headless

PowerShell Launcher

.\Launch-RegiLattice.ps1              # launch with defaults
.\Launch-RegiLattice.ps1 --gui        # launch GUI directly

Screenshots

Place screenshot images in docs/screenshots/ and reference them here.

View Description
GUI — Catppuccin Mocha Main window with collapsible categories, scope badges, and search bar
GUI — Nord Theme Same layout with the Nord colour palette
CLI — --list Terminal output with categories, status badges, and descriptions
Snapshot Diff Coloured terminal or HTML diff comparing two snapshot files
Profile Selector GUI dropdown showing Business / Gaming / Privacy / Minimal / Server profiles
About Dialog System info, hardware detection, and version details

Corporate Network Safety

Automatically detects corporate environments and blocks non-safe tweaks to prevent policy violations:

  • Active Directory domain membership (P/Invoke GetComputerNameExW)
  • Azure AD / Entra ID join status (dsregcmd /status)
  • VPN adapters — Cisco AnyConnect, GlobalProtect, Zscaler, WireGuard, etc.
  • Group Policy registry indicators
  • SCCM / Intune management agents

Override with --force (CLI) or the "Force" checkbox (GUI) at your own risk.

Project Structure

RegiLattice Project Structure — src, tests, infrastructure

Adding a Custom Tweak

Create a new .cs file in src/RegiLattice.Core/Tweaks/ and register it in TweakEngine.RegisterBuiltins().

Example — declarative RegOp pattern (preferred for simple registry tweaks):

// src/RegiLattice.Core/Tweaks/MyCategory.cs
using RegiLattice.Core.Models;

namespace RegiLattice.Core.Tweaks;

public static class MyCategory
{
    private const string Key = @"HKEY_CURRENT_USER\Software\MyApp";

    public static List<TweakDef> Tweaks { get; } =
    [
        new TweakDef
        {
            Id = "myapp-fancy-mode",
            Label = "Enable Fancy Mode",
            Category = "My App",
            NeedsAdmin = false,
            CorpSafe = true,
            RegistryKeys = [Key],
            Description = "Enables Fancy Mode in MyApp.",
            Tags = ["myapp", "fancy", "ui"],
            ApplyOps = [RegOp.SetDword(Key, "FancyMode", 1)],
            RemoveOps = [RegOp.DeleteValue(Key, "FancyMode")],
            DetectOps = [RegOp.CheckDword(Key, "FancyMode", 1)],
        },
    ];
}

For complex tweaks that need custom logic, use ApplyAction/RemoveAction/DetectAction delegates instead:

new TweakDef
{
    Id = "myapp-complex-tweak",
    Label = "Complex Custom Logic",
    Category = "My App",
    RegistryKeys = [Key],
    ApplyAction = (requireAdmin) => { /* custom apply logic */ },
    RemoveAction = (requireAdmin) => { /* custom remove logic */ },
    DetectAction = () => { /* return true if applied */ return false; },
}

See CONTRIBUTING.md for the full guide.

Building the Installer

The MSI installer is built with WiX Toolset v6. It requires the self-contained publish outputs to exist first:

# 1. Publish self-contained executables
dotnet publish src/RegiLattice.GUI/RegiLattice.GUI.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o publish/gui
dotnet publish src/RegiLattice.CLI/RegiLattice.CLI.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -o publish/cli

# 2. Build the MSI
dotnet build installer/RegiLattice.Installer.wixproj -c Release

# Output: installer/bin/Release/RegiLattice.msi

Install WiX toolset (if not already installed):

dotnet tool install --global wix
# or update:
dotnet tool update --global wix

Trademark Notices

RegiLattice is an independent open-source project and is not affiliated with, endorsed by, or sponsored by Microsoft Corporation or any other company whose products are mentioned.

Third-party names referenced in this project are trademarks or registered trademarks of their respective owners:

  • Windows®, Windows 10, Windows 11, .NET, WinForms, Group Policy, Intune, OneDrive, Cortana, Microsoft Copilot, and Edge are trademarks of Microsoft Corporation.
  • Catppuccin, Nord, Dracula, Tokyo Night, Gruvbox, Solarized, One Dark Pro, Rosé Pine, and Everforest are names of independent open-source colour-palette projects, used here as theme names only with attribution to their respective communities.
  • All other product and company names are trademarks™ or registered trademarks® of their respective owners.

Use of these names is for identification and descriptive purposes only and does not imply any endorsement or affiliation.


License

MIT — see LICENSE for details.


Keywords & GitHub Topics

Repository Description (GitHub UI → "About" gear → Description)

Paste this into the repository Description field for maximum GitHub search visibility:

Windows 10/11 registry tweaks toolkit — 7,479 tweaks, debloater, privacy hardening, performance optimizer, security hardening, group policy alternative. WinForms GUI + CLI. .NET 10, C# 13.

Recommended GitHub Topics

Set the following topics on the repository (GitHub UI → "About" gear → Topics):

windows-registry registry-editor windows-tweaks windows-optimizer windows-11 windows-10 debloat privacy performance-optimization system-optimization gaming-optimization windows-hardening security-hardening registry-backup dotnet csharp winforms cli-tool open-source tweak-manager group-policy privacy-tools windows-debloat registry-automation tweak-engine gpo-alternative windows-11-tweaks windows-11-debloat windows-11-privacy windows-11-gaming windows-11-hardening disable-telemetry windows-decrapifier sysadmin-tools corporate-it compliance-audit drift-detection snapshot-diff dry-run declarative-config registry-policy winget chocolatey scoop

Repository Description (paste into GitHub → About gear → Description)

Windows 10/11 registry tweaks toolkit — 7,479 tweaks, debloater, privacy hardening, performance optimizer, security hardening, group policy alternative, compliance audit. WinForms GUI + CLI. .NET 10, C# 13. Open source.

Search Keywords

Registry & System: windows-registry · registry-editor · registry-optimizer · registry-backup · registry-cleaner · registry-automation · registry-scripting · registry-policy · group-policy-alternative · windows-settings-manager · windows-configuration

Privacy & Security: disable-telemetry · anti-telemetry · privacy-tools · privacy-tweaks · disable-tracking · windows-privacy · block-microsoft-telemetry · disable-cortana · disable-windows-search · disable-activity-tracking · windows-hardening · security-hardening · uac-management · lsa-protection · aslr-sehop · windows-firewall-rules · windows-defender-policy · bitlocker-policy · corporate-hardening · cis-benchmarks

Performance & Gaming: windows-performance · performance-tweaks · gaming-optimization · latency-reduction · gpu-tweaks · cpu-optimization · ram-optimization · ssd-optimization · windows-gaming · game-mode · disable-animations · windows-startup-optimizer · power-plan · reduce-ram-usage · network-optimization · tcp-optimization · boot-optimization · responsiveness · input-lag · turbo-boost

Debloat & Cleanup: debloat · debloat-windows · remove-bloatware · uninstall-apps · disable-bloatware · windows-cleanup · disk-cleanup · cortana-removal · onedrive-removal · telemetry-removal · windows-decrapifier · trim-windows · minimal-windows

Windows Versions: windows-11-tweaks · windows-10-tweaks · win11 · win10 · windows-11-optimization · windows-11-privacy · windows-11-gaming · windows-11-debloat · windows-11-hardening

Developer & IT: dotnet · dotnet-10 · csharp-13 · winforms · windows-forms · cli-tool · powershell-tool · windows-automation · sysadmin-tools · it-management · group-policy · gpo · intune-compatible · corporate-it · windows-deployment · scripting-windows · winget · chocolatey · scoop

Package & Tool Management: package-manager · winget-integration · chocolatey-integration · scoop-integration · pip-integration · powershell-modules · tool-management · software-management

Compliance & Audit: compliance-audit · drift-detection · policy-compliance · configuration-audit · baseline-hardening · cis-benchmarks · security-baseline · windows-compliance · it-policy-enforcement · change-tracking

Similar / Related Tools: RegiLattice is a programmatic, fully reversible, and enterprise-safe alternative to tools in the same space as O&O ShutUp10, W10Privacy, Winaero Tweaker, Chris Titus WinUtil, BloatyNosy, sophia-script, and Windows10Debloater — built on .NET 10 with a declarative engine, CLI, WinForms GUI, xUnit test suite, and corporate network guard.

shutup10-alternative · w10privacy-alternative · winaero-alternative · chris-titus-winutil-alternative · windows-decrapifier · debloat-windows-11 · debloat-windows-10

About

Windows 10/11 registry tweaks toolkit — 8,803 tweaks, debloater, privacy hardening, performance optimizer, security hardening, group policy alternative, compliance audit. WinForms GUI + CLI. .NET 10, C# 13. Open source.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages