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.3.tar.gz (8.8 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.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: windows_asr_controller-0.1.3.tar.gz
  • Upload date:
  • Size: 8.8 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.3.tar.gz
Algorithm Hash digest
SHA256 f8dccf8ad795693e6ccf4f10fb5a8497c18b05ea85f9e7931d9b0c1a5c38420b
MD5 a99f0d6b0d15f6f5d48f431545de2ad1
BLAKE2b-256 1b6b46796c21c23d20d133975b498f952e08353eda32bb6ffc840d894cd44213

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for windows_asr_controller-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3ed7ee1477e2fbede09fc88edd4ab4815cc998a5b874d725f30640742e9ab38f
MD5 5fa7e88f70ece95b117d26dd891d69ff
BLAKE2b-256 2975cf9c27a182ce3f4350759eca2c076cf2dd2ef0289ae782affd9e0891c951

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