Skip to main content

Windows ASR Controller – GUI utility for managing Microsoft Defender Attack Surface Reduction rules.

Project description

Windows ASR Controller

A graphical utility for managing Microsoft Defender Attack Surface Reduction (ASR) rules.

Windows ASR Controller is a lightweight GUI tool that allows personal users, students, and cybersecurity educators to easily configure Microsoft Defender's Attack Surface Reduction rules without using PowerShell manually.

The repository contains three versions of the tool:

  • 🟦 EXE Version: Standalone Windows executable (no Python required)
  • 🐍 Python Version: Installable via PyPI (windows-asr-controller)
  • 📜 PS1 Version: Original PowerShell ASR Manager script

🚀 Features

  • View all ASR rules and their current modes
  • Enable, disable, audit, or warn any ASR rule
  • Apply actions to all rules or selected rules
  • Import and export rule configurations in JSON format
  • GUI and PowerShell versions
  • Uses official Microsoft Defender cmdlets under the hood
  • Suitable for unmanaged / personal Windows devices
  • No internet access required once installed

📦 Installation (PyPI Version)

Install using pip:

py -m pip install windows-asr-controller

Run the application in admin CMD:

py -m windows-asr-controller

No additional libraries are required — only Python's standard library.


🖥️ Windows EXE Version (Standalone)

A prebuilt executable is included in the repository:

windows_asr_controller.exe

Just double-click to launch.
Windows will display a UAC prompt because ASR configuration requires administrator privileges.


📜 PowerShell Version (PS1)

The repository also includes the PowerShell edition:

Windows-ASR-Controller.ps1

This script provides a full menu interface for managing ASR rules.


🛡️ Requirements

  • Windows 10 or Windows 11
  • Administrator privileges
  • Microsoft Defender Antivirus must be enabled
    • ASR rules do not work if Defender is disabled or replaced
  • Python 3.8+ (for the PyPI version)

❗ Important Notes

  • This tool does not modify Group Policy or Intune settings.
  • It is designed for local, non-domain-joined Windows machines.
  • If Defender is disabled, ASR rules will not take effect.

📝 License

Released under the MIT License — free for personal, educational, and commercial use.


🙋 Support

For questions, improvements, or issues, please open a GitHub issue or contact the author.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

windows_asr_controller-0.1.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

windows_asr_controller-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file windows_asr_controller-0.1.1.tar.gz.

File metadata

  • Download URL: windows_asr_controller-0.1.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for windows_asr_controller-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fc6ad612441f8f7ace78814c936a133aee15f2e541f517aeef8e1cb514773177
MD5 44bea4e100f93be168d227e285665391
BLAKE2b-256 5cf08499e142311d9a619e0c6406836461923a034fdc27325ab394bc1825a4ea

See more details on using hashes here.

File details

Details for the file windows_asr_controller-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for windows_asr_controller-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2355adf831e373a9a44c610bfc47f65f0f099e2192156f4f0cb1d1c5c7df32b
MD5 70b6ffee552ecb2df6c82eac57420c1f
BLAKE2b-256 a1a86a2cde909a0e14d321c49c701055c23fd2434f8e40d9457b6d6aa77d55fa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page