Cannot deploy Office LTSC Professional Plus 2024

Dominic 0 Reputation points
2026-10-07T16:38:32.1033333+00:00

I am trying to deploy Office LTSC Professional Plus 2024 using the Office Deployment Tool (ODT). The machine has App Control for Business (WDAC) Enforced. A stale installation of Microsoft Visio is corrupted and cannot be uninstalled via Settings, triggering Error Code: 30198-25 / 0-2039. The ODT setup needs to be unblocked and run from an elevated prompt using the local office2024.xml configuration file.

Other tags include
config.xml

Configuration.xml

configuration-Office365-x64.xml

Windows for business | Windows Client for IT Pros | Devices and deployment | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Ronald Sabiiti 160 Reputation points Independent Advisor
    2026-10-07T16:46:17.1433333+00:00

    Hello @Dominic

    Welcome to Microsoft Q&A!

    Thank you for your patience, and taking the time to elaborate on your concerns.

    This scenario combines Office LTSC 2024 deployment via ODT, enforced WDAC policies, and a corrupted Visio install that blocks setup with error codes 30198‑25 / 0‑2039.

    Recommended Resolution Path.

    1. WDAC Enforcement

    Confirm that setup.exe from the Office Deployment Tool is Microsoft‑signed and permitted by your WDAC policy.

    If blocked, add a rule to allow the ODT binary or run from an elevated prompt in a trusted path.

    2. Remove Corrupted Visio Remnants

    Use the Microsoft Support and Recovery Assistant (SaRA) or the Office Scrub Tool to forcibly remove Visio remnants.

    Alternatively, create an uninstall XML and run:

    cmd

    setup.exe /uninstall VisioPro /config uninstall.xml
    

    This strips out corrupted Visio components before installing LTSC 2024.

    3. Clean Install Configuration

    Place your office2024.xml (or configuration.xml) in the same folder as setup.exe.

    Example minimal config for LTSC 2024:

    xml

    <Configuration>
      <Add OfficeClientEdition="64" Channel="PerpetualVL2024">
        <Product ID="ProPlus2024Volume">
          <Language ID="en-us" />
        </Product>
      </Add>
      <Display Level="None" AcceptEULA="TRUE" />
      <Property Name="AUTOACTIVATE" Value="1" />
    </Configuration>
    

    Run elevated:

    cmd

    setup.exe /configure office2024.xml
    

    4. Error Code Meaning

    • 30198‑25 → corrupted existing Office/Visio install.
    • 0‑2039 → blocked/unable to access required files (often WDAC or permissions).
    • Both are resolved by cleaning old remnants and ensuring ODT is permitted.

    In Summary: To unblock ODT and deploy Office LTSC 2024:

    • Permit setup.exe under WDAC.

    Use SaRA or an uninstall XML to scrub corrupted Visio remnants.

    Run ODT elevated with a clean office2024.xml.

    Error codes confirm corruption + WDAC enforcement, not a licensing issue.

    I hope this helps to better understand the diagnostic options available and the risks involved.

    If this information was helpful, please click Accept Answer.

    Thank you for choosing Microsoft Q&A.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.