# Microsoft Office Patch Download - Extraction Issue in Patch Store During Office patch downloads, ManageEngine uses the **Office Deployment Tool (ODT)** to fetch update files from Microsoft CDN. If the **setup.exe** inside the patch package fails to extract properly into the Patch Store, the download process fails. ## Symptoms Office patches stuck in **Download Failed** status. **Remarks** shows entries like: - Unable to execute command - Command execution failure - setup.exe not found / extraction failed `%temp%\OfficeSetup[.log` may show: - Failed to extract setup.exe - Access denied or file corrupted ## Possible Cause 1. Insufficient privileges for the service account running ManageEngine. - Cannot write to the Patch Store folder. 2. Antivirus or endpoint protection blocking .exe extraction. 3. Corrupt download of the Office Deployment Tool (ODT). 4. Read/Write permission issue in the Patch Store directory. 5. Disk space issues preventing extraction. ## Resolution ### Step 1: Verify Patch Store Permissions - Navigate to the Patch Store: `\PatchRepository\` - Ensure the service account (the one running ManageEngine services) has Full Control (Read/Write/Execute) on the folder. ### Step 2: Manually Test Extraction of ODT - Download the latest [Office Deployment Tool](https://www.microsoft.com/en-us/download/details.aspx?id=49117) from Microsoft. - Copy it into a test folder (eg:. C:\o365) - Use 7-Zip or Windows’ built-in extraction tool to unpack the .exe file, and then confirm that setup.exe has been successfully extracted. - If manual extraction fails, re-download the ODT (corrupted file). ### Step 3: Check Antivirus / Security Policies - Temporarily disable antivirus or add exclusions for: - `\PatchRepository\` - `%temp%\OfficeSetup*.log` - Ensure .exe extraction is not blocked. ### Step 4: Disk Space Validation - Ensure sufficient free space in the Patch Store drive. - Office updates require several GB free for extraction + caching. ## Manual Troubleshooting with Commands ### Test Extraction with ODT ``` setup.exe /extract:C:\o365\ /quiet ``` - Should create setup.exe + supporting files in the target folder. ## Log Locations **Office Setup Logs (Temp folder)** - `%temp%\OfficeSetup[(timestamp).log` **System Temp (if running as service)** - `C:\Windows\Temp\OfficeSetup[.log` ## Next Steps If extraction still fails after these fixes: - Collect Server Logs and %temp%\OfficeSetup.log. - Verify folder/file permissions. - Escalate to ManageEngine support with logs.