ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE_FULLTRUST_CAPABILITY 0x80073D18

Error code 15640 · HRESULT 0x80073D18

WINDOWS

An optional package with a FullTrust entry point requires the main package to have the runFullTrust capability.

Windows troubleshooting diagram: Device Manager warning and a system file scan
Windows errors: check drivers, system files and Event Viewer, in that order.

What it means

ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE_FULLTRUST_CAPABILITY is a Windows error code (system error 15640, returned as HRESULT 0x80073D18) reported by Windows. Its official message is: “An optional package with a FullTrust entry point requires the main package to have the runFullTrust capability.”

How to fix ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE_FULLTRUST_CAPABILITY

  1. Run the affected program as administrator (right-click → Run as administrator)
  2. Check permissions on the target resource: Properties → Security → your account
  3. Check Event Viewer → Windows Logs → Security for the matching audit entry
  4. Run the Windows Update troubleshooter (Settings → System → Troubleshoot → Other tools)
  5. Reset update components: stop 'wuauserv' and 'bits', clear C:\Windows\SoftwareDistribution, restart both services
  6. Verify system file integrity with 'sfc /scannow'

Related errors

Source: Microsoft WinError.h

Last updated: