While the Microsoft Store is the go-to option for installing the most popular apps, it does not carry every application or software. There will be plenty of apps that you will have to download from the internet. While that shouldn’t be an issue, sometimes, Windows 11 may throw the “Error opening file for writing” error when trying to install the apps.
That error may throw you off, especially when you haven’t made any system-level changes in Windows. Fortunately, you can easily resolve this problem. We’ve compiled the best ways to fix the ‘Error opening file for writing’ error in Windows 11.
What Does the ‘Error Opening File for Writing’ Mean
Before you proceed to the solutions, it’d help to know what does the error means, which can help you troubleshoot it well on your Windows computer. The error appears when Windows fails to write an important file required to install the app. The problem is common while installing popular apps like Steam, VLC media player, and MSI Afterburn. So when you can’t install the app, it’s natural to be thrown off by the error. But you can solve this problem by following these solutions.
1. Download the File Again
Usually, you’ll face this issue with installation if the browser did not download the setup file completely. What we mean is that the file size of the setup file is lesser than the actual size shown at the time of downloading it. To ensure that isn’t causing the issue, re-download the software.
Also, ensure that you are downloading the correct version of the software if it is available in 32-bit and 64-bit. If you run Windows 11, you’ll mostly need the 64-bit version. But for Windows 10, you might want to check the version on your computer.
So download the program again, and install it to check if the problem persists. If yes, try the next solution on the list.
2. Run Installer With Administrative Rights
We recommend to run the installer with administrative permissions. That ensures the installer has the right to write different files required to install the software.
You can run the installer with administrative rights by right-clicking on it and choosing Run as administrator from the context menu. Then, view the installation wizard and check if the error reappears.
3. Choose a Different Installation Directory
Windows will choose the system drive (usually the C Drive) as the installation location of all the applications. However, if there’s any issue with that drive, you will likely see the error.
So, when the installer asks you to select the installation location, choose a different drive by using the Browse option. Then, continue with the installation and check for the issue.
4. Change the Folder Permissions
If switching the installation directory didn’t make any difference, your account probably doesn’t have permission to write into the folder where you want to install the software. To fix this, you will need to customize that folder’s security permissions. Here’s how to do that:
Step 1: Right-click on the folder where you want to install the program and choose Properties.
Step 2: Switch to the Security tab.
Step 3: Click the Edit button.
Step 4: Click Add.
Step 5: Choose the Advanced option.
Step 6: Click on the Find Now option.
Step 7: Select Everyone from the search result and click OK.
Step 8: Check the Full control checkbox and click Apply followed by OK.
5. Use the Program Compatibility Troubleshooter
The ‘Error opening file for writing’ error may appear if the associated program isn’t compatible with your Windows version. To tackle this situation, you can use the Program Compatibility Troubleshooter.
It’s a built-in Windows utility that resolves any compatibility issue an app might face. You can use the Program Compatibility Troubleshooter by following these steps:
Step 1: Right-click on the installer and choose Properties from the context menu.
Step 2: Click on the Compatibility tab at the top.
Step 3: Click the ‘Run compatibility troubleshooter’ button.
Follow the on-screen instructions in the Get Help window to complete the troubleshooting process.
6. Temporarily Disable Control Folder Access
Controlled folder access is an important Windows feature that ensures not no third-party application can make unauthorized changes to protected folders and memory areas. However, if you trust the application, you can disable this feature to allow the application to make changes.
To disable Controlled folder access, follow the below instructions:
Step 1: Press the Window key to open the Start Menu, type Windows Security and press Enter.
Step 2: Click ‘Virus & threat protection’ on the left sidebar.
Step 3: Click on Manage settings.
Step 4: Click on ‘Manage Controlled folder access.’
Step 5: Turn off the toggle under the Controlled folder access.
Try to install the program and check if you see another error again. If yes, re-enable the Controlled folder access toggle.
7. Switch to a New User Account
If you’re still getting the same error message, then probably there’s something wrong with your user account. You can switch to a new user account. To do that, follow these steps:
Step 1: Press Windows + I key shortcut to open the Settings app and choose Accounts from the left sidebar.
Step 2: Choose Other users from the right pane.
Step 3: Click the Add account button.
Step 4: Click the ‘I don’t have this person’s sign-in information’ option.
Step 5: Choose the ‘Add a user without a Microsoft account’ option.
Step 6: Enter the asked details and click Next.
You have created a user account. To switch to it, press the Windows key and click on your profile icon at the bottom-left corner of the Start Menu. Then, choose the other account from the list.
Install Your Favorite Apps on Windows 11
No one loves to face interruption in the installation process itself. The ‘Error opening file for writing’ error is one of the many installation errors that will stop you from installing the program. Fortunately, you can quickly troubleshoot the error using the above fixes.
Last updated on 03 April, 2023
The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.