MSI Installer Error 2203 — Cannot Open Database File
About MSI Installer Error 2203
Fix Windows Installer error 2203 occurring when MSI packages cannot access the installation database due to permission issues or corrupted temp directory. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.
Here are the key things to understand: Error 2203 means the Windows Installer cannot open the MSI database file. Often shows: 'Database: C:\Windows\Installer\xxxxx.msi. Cannot open database file. System error -2147287035'. The SYSTEM account needs full access to the Temp folder and the MSI file location. This error can occur during both installation and uninstallation of programs. Corrupted Windows Installer cache can cause 2203 errors for previously installed software. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.
The most common reasons this occurs include: Insufficient permissions on the Temp directory for the SYSTEM account. Temp folder path too long or containing special characters. Windows Installer service not running or misconfigured. Corrupted MSI file in the Windows\Installer cache directory. Identifying the root cause is the first step toward finding the right solution.
To resolve this, follow these recommended steps: Grant SYSTEM full control on Temp: right-click %TEMP% folder > Properties > Security > Add SYSTEM with Full Control. Also grant SYSTEM full control on C:\Windows\Installer directory. Set TMP and TEMP variables to a short path: setx TEMP C:\Temp and setx TMP C:\Temp. Restart the Windows Installer service: services.msc > Windows Installer > Restart. Run the installer as Administrator. Re-register Windows Installer: msiexec /unregister then msiexec /regserver. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.
This article is part of our Windows Error Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.
Quick Answer
Why does SYSTEM need access to Temp?
Windows Installer runs as the SYSTEM account. It extracts and processes MSI files in the Temp directory. Without SYSTEM access to Temp, the installer cannot read its own temporary files.
Overview
Fix Windows Installer error 2203 occurring when MSI packages cannot access the installation database due to permission issues or corrupted temp directory.
Key Details
- Error 2203 means the Windows Installer cannot open the MSI database file
- Often shows: 'Database: C:\Windows\Installer\xxxxx.msi. Cannot open database file. System error -2147287035'
- The SYSTEM account needs full access to the Temp folder and the MSI file location
- This error can occur during both installation and uninstallation of programs
- Corrupted Windows Installer cache can cause 2203 errors for previously installed software
Common Causes
- Insufficient permissions on the Temp directory for the SYSTEM account
- Temp folder path too long or containing special characters
- Windows Installer service not running or misconfigured
- Corrupted MSI file in the Windows\Installer cache directory
Steps
- 1Grant SYSTEM full control on Temp: right-click %TEMP% folder > Properties > Security > Add SYSTEM with Full Control
- 2Also grant SYSTEM full control on C:\Windows\Installer directory
- 3Set TMP and TEMP variables to a short path: setx TEMP C:\Temp and setx TMP C:\Temp
- 4Restart the Windows Installer service: services.msc > Windows Installer > Restart
- 5Run the installer as Administrator
- 6Re-register Windows Installer: msiexec /unregister then msiexec /regserver