How to Remove Spotify Error Code 18? Here’re 5 Fixes

Spotify is a popular audio streaming and media services provider available on most modern devices, including computers using Windows/macOS/Linux and IOS/Android smartphones. Spotify application makes it easier for users to stream and enjoy music on their computers.

However, many users received the error code 10 given by Spotify installer when they are trying to install the desktop application of Spotify on Windows computers. The full error message reads:

The installer is unable to install Spotify because the files to write are in use by another process. Please make sure Spotify is not running and retry.(Error code: 18)

This annoying problem commonly occurs during Spotify reinstallation after users have uninstalled the application previously. Why does this error appear? Chances are that Spotify wasn’t uninstalled completely and some of its data were left behind. When you are trying to reinstall the program, the files to write during the process might already exist on your computer and be in use by another process.

Of course, there might be other reasons for the Spotify error code 18. But you don’t need to worry. Here are some feasible solutions that may help you get out of the trouble and install the Spotify application properly.

Due to the remnants of the previously uninstalled Spotify, some related processes might still be running in the background. To ensure a proper reinstallation, you have to close these processes.

Step 2: Under the Processes tab, find all the processes that have Spotify in their names. If there is no such item, you can skip this method and move on to the next one.

Step 3: Select these processes and click End task to close them one by one.

After that, launch the Spotify installer again and check if the error code 18 has been removed.

Fix 2: Remove Remnants of The Previous Uninstalled Spotify

If you can’t install Spotify due to the error code 18, you can try removing the remnants of your previous uninstalled Spotify application. Here’s what you need to do.

Step 3: Find the Spotify folder and delete it.

Now, restart your computer and try installing Spotify again to check if the error has been solved.

Fix 3: Scan for Virus and Malware

If you encounter Spotify install error 18, perhaps your system has been infected by viruses or malware. You can use your antivirus to scan for potential threats. If you have no third-party security application installed, you can make use of the built-in Windows Defender Antivirus by following the steps below.

Wait patiently until the scanning process is completed, and then check if you can install your Spotify without the error code 18 now.

Fix 4: Uninstall the Known Problematic Programs

It has been proven that the iTunes and Comodo programs might interfere with the installation process of Spotify and lead to the Spotify install error 18. If you have either of these two applications installed on your computer, you might need to uninstall them. To do that, you should:

Step 2: Go to Programs > Programs and Features.

Step 3: Select iTunes or Comodo in the list, click the Uninstall button, and click Yes to confirm the operation.

After you uninstall the known problematic programs, restart your computer and launch the Spotify installer again. If you install Spotify successfully, you can reinstall the programs you’ve uninstalled just now.

Fix 5: Clean Boot Your Computer

If you don’t have the mentioned programs on your PC, perhaps some other programs may prevent you from installing Spotify as well. In this case, you can clean boot your computer and then try installing Spotify without any interference from third-party services or programs.

Step 3: Turn to the Startup tab and click Open Task Manager. In the pop-up window, disable all the listed startup programs.

Step 4: Go back to the System Configuration window and click Apply and OK button to save changes.

Once it’s done, a system restart will be required. Then, you can run the Spotify installer again and you should be able to install the application successfully without the error code 18.


Position: Columnist

Amanda has been working as English editor for the MiniTool team since she was graduated from university. She enjoys sharing effective solutions and her own experience to help readers fix various issues with computers, dedicated to make their tech life easier and more enjoyable.

She has published many articles, covering fields of data recovery, partition management, disk backup, and etc. In order to provide more useful tips and information, she is still committed to expand her technical knowledge.

Originally published at on December 19, 2020.