- Error Code 18 occurs during Spotify installation due to files in use by another process
- Steps to fix Error Code 18 include ending Spotify process, deleting Spotify folder, exiting Steam, uninstalling third-party programs, and installing in clean boot mode
- Following these troubleshooting steps will resolve the Spotify installation issue and allow users to install the app successfully.
Users have reported experiencing Error Code 18 when trying to install Spotify. The complete error message reads, โInstaller cannot install Spotify because the files to write are in use by another process. Please make sure Spotify isnโt open and try again.โ This error usually occurs when another process or application makes use of the files required for Spotifyโs installation. If youโre having trouble with error code 18 on Spotify, this article will assist you in resolving the problem.
How to Fix Spotify Error Code 18
Here in this article, Weโll share working ways on how to fix Error Code 18 on Spotify in this article.
End Spotify Process From Background
If any Spotify process is running in the background, this might cause Error Code 18. To end the Spotify process in the background, follow the steps given below-
- Pressย Ctrl + Shift + Escย key combo to open theย Task Manager.ย In the Task Managerโs Processes tab, search for any Spotify process.
- Select the process, and then click onย End Process.ย
- Confirm ending the background process and then run the Spotify installer on your PC again.
Delete The Spotify Folder
Another troubleshooting step to fix Error Code 18 on Spotify is deleting the Spotify folder and running the Spotify installer again. To do so, follow the steps given below-
- Press theย Windows + Rย key combo to open theย Runย dialog box.
- In theย Runย dialog box, typeย %appdata%ย and hitย Enterย to open theย AppDataย directory in the File Explorer.
- Select the Spotify folder and delete. After you have deleted the folder, try running the Spotify folder again.
Exit Steam
If you have Steam installed on your PC, it can probably be why you face Error Code 18 on Spotify. You should try exiting Steam and then run the installer.
- Click on theย Steamย icon at the top left corner of the Steam app window, and then from the menu that opens up, click onย Exit.ย
- By doing so, you will be able to exit Steam.
- After you have exited Steam, run the Spotify installer on your PC, and you should no longer face the issue.
Uninstall Third-Party Programs
Some third-party programs may also interfere with the Spotify installer and cause Error Code 18 on Spotify. If you have other music apps on your PC, it might cause an issue installing Spotify.
- Press theย Windows + Iย key combo on your keyboard and in theย Start Menu, search for the other music app on your PC.ย
- Right-click on the music app, and then from the menu that opens up, click on theย Uninstall option.
- When asked to confirm uninstall the application, click on the Uninstall button to uninstall the program. Do the same for other third-party programs and music apps on your PC.
- You can now try running the Spotify installer on your PC again, and the error code 18 should be fixed.
Install Spotify In Clean Boot Mode
If you are still facing the issue, you can install Spotify in clean boot mode. To do so, follow the steps given below-
- Open theย Start Menuย on your keyboard by pressing theย Windowsย key. In theย Start Menu, typeย System Configurationย and hitย Enterย to openย System Configuration.ย
- Head to theย Servicesย tab in theย System Configuration.ย
- Here check the checkbox sayingย Hide all Microsoft Servicesย and then click onย Disable all.ย
- Next, click onย the Startupย tab and click onย Open task manager.ย
- Now, select the apps with high impact, and then click onย Disable.ย
- After doing so, restart your PC, and run the Spotify installer on your PC.
Conclusion
This is how to resolve Spotify error code 18. If you are unable to install Spotify due to error code 18, you can follow the troubleshooting steps detailed in this step. By following the steps above, you should be able to resolve the issue youโve been experiencing.
RELATED GUIDES: