ERROR_INSTALL_OPTIONAL_PACKAGE_REQUIRES_MAIN_PACKAGE_FULLTRUST_CAPABILITY 0x80073D18
Error code 15640 · HRESULT 0x80073D18
An optional package with a FullTrust entry point requires the main package to have the runFullTrust capability.
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
- Run the affected program as administrator (right-click → Run as administrator)
- Check permissions on the target resource: Properties → Security → your account
- Check Event Viewer → Windows Logs → Security for the matching audit entry
- Run the Windows Update troubleshooter (Settings → System → Troubleshoot → Other tools)
- Reset update components: stop 'wuauserv' and 'bits', clear C:\Windows\SoftwareDistribution, restart both services
- Verify system file integrity with 'sfc /scannow'
Related errors
Source: Microsoft WinError.h
Last updated: