What Intune Detection Rule Generator helps you do
The Haivix Intune Detection Workbench is where you go when a Win32 app needs to be understood, validated, fixed, or reviewed. Analyze an installer, capture before/after install evidence, test a rule on a device, troubleshoot 0x87D1041C, and audit Graph JSON — with explainable recommendations. MSI packages are analyzed in the browser; EXE packages use a local EXE analyzer plus optional PowerShell collectors. Everything stays on your device unless you choose a read-only Microsoft sign-in for tenant Detection Health.
Check the tool page and Privacy Policy for how this workflow handles your input.
How to use Intune Detection Rule Generator
- Upload an MSI or EXE for browser-local analysis. For EXE installed-state evidence (ranked ARP Identity), run the optional local PowerShell analyzer after install and import haivix-analysis.json.
- Review the recommended strategy (MSI ProductCode, ARP Identity, registry, or file), Observed/Declared/Inferred evidence, heuristic confidence, and Intune Ready score.
- Export portal settings, an ARP Identity custom detection script, PowerShell, or Graph v1.0/Beta JSON, then verify with the test collector on a representative device.
What you can do with Intune Detection Rule Generator
- Analyze an installer, troubleshoot a detection failure, or audit an existing Graph rule from three workbench entry cards.
- Analyze MSI installers locally and extract ProductCode, UpgradeCode, version, publisher, and architecture — including predicted (declared) ARP identity.
- Capture Before/After install snapshots (ARP, Program Files, services, tasks) and rank observed detection markers.
- Diagnose 0x87D1041C (and related Win32 HRESULTs) from a built-in code picker with ranked hypotheses (32/64-bit view, HKCU vs System, exact version, AND logic, script STDOUT).
- Rank detection strategies including ARP Identity with What we found / Why / Why not / What could change this.
- Test detection with a first-class PASS/FAIL workflow and scenario matrix after importing collector JSON.
- Remember recent apps in a local IndexedDB workspace and compare a newer installer to the previous rule.
- Show Detection reliability and “what could break this rule?” scenarios after generate or audit.
- Audit existing Graph detection JSON, compare v1.0 and Beta under Audit, or optionally scan tenant apps (sample or read-only Microsoft sign-in).
- Export portal steps, defensive PowerShell, ARP Identity scripts, Graph v1.0 or Beta JSON, plus a read-only detection test collector.
Example: understand, recommend, test, then fix
Open Analyze an Installer (or import Before/After snapshots after a clean install). Review the recommended strategy, provenance, Intune Ready score, Detection reliability, and linter.
Generate artifacts, run the test collector, then import haivix-detection-test.json for PASS/FAIL evidence. If Intune reports 0x87D1041C later, open Troubleshoot a Failure, pick the code (optional Graph JSON pins the cause), instead of starting from scratch.
What to know before you start
- Recommendation confidence is a Haivix heuristic for packaging guidance — it is not a statistical prediction that the rule will succeed in every tenant.
- Predicted ARP from installer metadata is declared evidence, not proof the app is installed — verify with the local analyzer after a clean install.
- UpgradeCode influences ARP ranking and explanations only; Haivix does not invent an Intune UpgradeCode detection rule type. MSI ProductCode stays preferred when stable.
- PE-only EXE scans do not invent Program Files detection paths or ARP Identity rules from product name alone; import haivix-analysis.json after install or enter markers manually.
- Likely silent switches must be tested on a representative device; Unknown means Haivix will not guess a command.
- Compare v1.0 and Beta (under Audit) normalizes both pastes to HaivixDetectionRule before diffing — raw JSON shape noise is listed under Shape notes, not as failures.
- All manually configured detection rules are combined with AND logic in Intune, so every rule must match for the app to be detected. ARP Identity uses a single custom detection script instead.
- A custom detection script must exit 0 and write to STDOUT; any STDERR output makes the result not installed.
- HKCU and user-profile markers are unreliable for system-context apps because the Intune Management Extension evaluates them outside the interactive user's profile.
- Self-updating applications can outgrow an exact version rule; the recommendation engine prefers greater-than-or-equal when self-update risk is elevated.
- This workbench is detection guidance — not packaging, .intunewin, or deployment-lifecycle automation.
Observed vs declared evidence, UpgradeCode ranking, and custom detection script export — without packaging lifecycle scope.