Guardian Not Functioning Correctly? Resolving DLL Conflicts with Elum Tools or pyRevit

Knowledge BaseService Bulletins
Guardian Not Functioning Correctly? Resolving DLL Conflicts with Elum Tools or pyRevit
Status
Resolution Identified
Guardian Version
All
Revit Version
2025, 2026
Last Updated
May 21, 2026

Overview

Guardian may not function correctly when a third-party add-in ships its own copy of System.Management.dll that gets loaded before Revit’s version. Because the add-in’s file takes priority in the load order, Revit’s standard library is never reached — leaving Guardian unable to complete the system calls it depends on for role recognition, licensing, and activity tracking.

This issue has been confirmed in Revit 2025 and 2026, but any Revit version where a third-party add-in’s copy of System.Management.dll takes precedence in the load order may be affected.

Symptoms

You may experience one or more of the following:

  • Role misidentification: Company Admins or Project Admins do not see the tools expected for their role in the Guardian ribbon
  • Licensing button unresponsive: The Licensing button in the Guardian ribbon does not respond
  • Activity not tracked: User activity is not recorded as expected
  • Add-in dependency: Guardian functions normally only when all other add-ins are disabled — the issue returns as soon as a conflicting add-in such as Elum Tools or pyRevit is re-enabled
  • Diagnostic log error: Logs reference a System.PlatformNotSupportedException

Known Cases

The following add-ins have been confirmed to cause this conflict:

  • Elum Tools
  • pyRevit – Confirmed in some environments where incompatible libraries are loaded from runtime folders. Multiple System.Management.dll instances may exist depending on which pyRevit extensions are installed.

Resolution

The fix is to replace the add-in’s copy of System.Management.dll with the version shipped by Revit. This ensures the correct file is loaded first, restoring Guardian’s system calls while preventing “missing file” warnings in the add-in.

⚠   Note:
Repeat these steps for every affected Revit version installed on the machine (e.g. once for Revit 2025, once for Revit 2026).

Step 1 — Locate the Revit source file

  1. Open File Explorer and navigate to your Revit program folder:
    • C:\Program Files\Autodesk\Revit 20XX
  2. Find System.Management.dll and copy it (Ctrl+C).

Step 2 — Replace the file: Elum Tools

  1. Navigate to the Elum Tools add-in bundle folder:
    • C:\ProgramData\Autodesk\Revit\Addins\20XX\!ElumTools.bundle
  2. Paste (Ctrl+V) and choose Replace when prompted.
  3. Repeat for each installed Revit version (e.g. Addins\2025\ and Addins\2026\).

Step 2 — Replace the file: pyRevit

Unlike Elum Tools, pyRevit stores its System.Management.dll files in the user’s Roaming AppData folder, not the Addins folder. There are multiple instances — replace all of them.

Navigate to the following locations and paste the Revit version of the file into each, choosing Replace when prompted:

System.Management.dll files in file explorer

You can type %AppData% directly into the File Explorer address bar and press Enter to navigate there quickly.

Step 3 — Restart Revit

  1. Close Revit completely and relaunch it.
  2. Verify that Guardian roles, licensing, and activity tracking are functioning as expected.

Tip: Diagnosing Other Add-ins

If you are still experiencing issues after following the steps above, another installed add-in may be causing the same conflict. Any add-in that ships its own copy of System.Management.dll and loads before Revit is a potential source. To identify the correct DLL location for any add-in, check its .addin file:

  1. Navigate to the Revit add-ins folder for the affected version and locate the add-in’s .addin file: C:\ProgramData\Autodesk\Revit\Addins\20XX\
  2. Right-click the .addin file and select Open with > Notepad (or any text editor).
  3. Find the <Assembly> tag. The path declared there is where the add-in loads its DLL files — navigate to that folder and if needed, replace System.Management.dll with the Revit version as described above.

Note that some add-ins, like pyRevit, install to a location outside the standard Addins folder. The <Assembly> path will always point to the correct location regardless of where the .addin file itself is stored.

IT / Enterprise Deployments
For enterprise or multi-machine deployments, this replacement can be scripted via PowerShell or a software deployment tool. Target the paths above, substituting the appropriate Revit version year and username (or %AppData% environment variable). Note that future updates to Elum Tools or pyRevit may re-install the conflicting file — plan to re-apply this patch after major add-in updates.

Important Notes

  • Add-in updates: Future updates to Elum Tools or pyRevit may re-install the conflicting System.Management.dll. Re-apply this fix after any major add-in update.
  • Multiple Revit versions: Each installed version of Revit requires its own patched add-in folders. Do not skip any version in use at your organization.
  • pyRevit extensions: Depending on which pyRevit extensions are installed, additional System.Management.dll instances may exist beyond the locations listed above. Use the add-in file tip above to confirm the correct assembly paths for your environment.

Further Assistance

If you have followed these steps and Guardian is still not functioning correctly, please contact our support team.

Need More Help?

Contact our support team to receive personalized assistance.

Guardian graphic