Sometimes, when you try to install a program, you may encounter an error "Error 1310, error writing to file:
, Make sure you have access to that directory. “Preventing you from installing a program. This error mainly occurs with MS Office applications like Word, Excel or PowerPoint and also with other applications like Audtodesk, AutoCAD, Photoshop and others.
The main reason for this error is that the files or locations required for the program being installed already exist on the system and are being used by some other application. So when you try to install the program, Windows identifies it as an overwrite of the program that may already be installed. Another reason could be that the program does not have the necessary permissions to write to that directory.
However, we have discovered a couple of solutions that may help you fix the problem. Let's see how.
Method 1: reinstall the program in clean boot state
Before cleaning the system boot, be sure to delete all temporary files. Then restart your computer in Clean boot state. This will help you avoid any interference from third party applications.
Then log into your administrator account and try to install the program now.
* Note - To know how to reboot the system in Clean boot state see this article.
If this method doesn't work, move on to the next method.
Method 2: changing permissions
Step 1: press the Win + E keyboard shortcut key to open the file Browser on file.
Step 2: A Browser on file find the window What PC folder and click to open it.
Step 3: Now scroll down and click Local disk (C 🙂.
4 phase: Now go to Program file.
Step 5: A Program file find the program you are trying to install but showing the error.
Right click on the program and select Property.
Step 6: A Property window, go to Safety tab and click change button.
Step 7: Next, below Group or user names section, select Directors.
So go to Permissions for administrators section and check the file to allow box next to Total control.
print To apply and so ok to save changes and exit.
Step 8: Now, repeat the same steps above for the folders mentioned below:
- C: Programs Common files His program
- C: Programs (x86) Your program
- C: Programs (x86) Common files His program
- C: ProgramData Your program
Replace the highlighted part with the program you are having installation problems.
Once you are done with the steps for all the above folders, try installing the app and it should continue. However, if the problem persists then follow the next method.
Method 3: Unregister and Re-register Windows Setup Engine
Step 1: Place the cursor on Home, right-click and select run from the menu.
Step 2: Open the Run command box. In the search field, type the following command to unsubscribe Modulo Windows Installer and press ok:
msiexec / unregister
Step 3: Now that you have unsubscribed Modulo Windows Installer, right click Home and select run in the menu to open the file Run command still.
4 phase: Now, type the following command in the file Run command box to register the file Modulo Windows Installer come back again and hit Log in:
msiexec / regserver
Now restart your computer (click Restart and not To deactivate) and try to install the program again and it should install.
If the problem persists, try the next method.
Method 4: have full control of the location
You need to schedule the installation of the program or application to a certain location on your system. Then take ownership of that folder and the problem should be solved.
Alternatively, you can also use the Time Machine permissions Windows utility that helps you change the permissions of the folder where you want to install the application. You can visit the link below to download the utility:
However, as it may not be a safe way to do this, be sure to restore the original settings once the program is installed.