HomeGuidesHow to Fix Spotify Installer Error Code 18

How to Fix Spotify Installer Error Code 18

-

Key Takeaways
  • 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.

Check GPU Temperature in Windows 11/10

  • Select the process, and then click onย End Process.ย 

How To Fix Error Code 18 On Spotify?

  • 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.

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.ย 

How To Fix Steam Wonโ€™t Open?

  • 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.ย 

How To Fix Error Code 18 On Spotify?

  • 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.

How To Fix Error Code 18 On Spotify?

  • 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.ย 

How To Fix Error Code 18 On Spotify?

  • Next, click onย the Startupย tab and click onย Open task manager.ย 
  • Now, select the apps with high impact, and then click onย Disable.ย 

How To Fix Error Code 18 On Spotify?

  • 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:

Anurag Jain
Anurag Jainhttps://itechhacks.com
Anurag is a Senior content analyst with 4 years of experience in the industry. Based in India, He is extremely skilled at Windows related to How to Troubleshooting matters. His favorite topics are Windows 11, Android, and How To's.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

LATEST