'Error opening file for writing' when Installing Confluence Evaluation on Windows
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When double clicking the setup evaluation executable file, Windows displays:
"Error opening file for writing: <Path to confluence.exe>"

Windows has been configured with UAC (User Account Control) enabled.
Cause
This is caused by the user running the Confluence Setup executable without 'Administrator privileges'.
Resolution
Ensure the current Windows user has 'administrative' privileges on the Windows Operating System.
Right-click on the Confluence installation file, and click 'Run as Administrator'.
Was this helpful?