Streaming

Spotify Error Code 18 – Explained and Fixed

Conquering Spotify Error Code 18: Unveiling the Solution and Understanding the Fix

Error Code 18 Spotify occurs when a user tries to install its desktop version. There are Spotify installation files already present on your computer. This error occurs when the Installer is unable to modify these installation files because they are either already in use or the installer doesn’t have enough permissions.

Spotify error code 18
Spotify error code 18 (main error image)

In short, this error on Spotify typically refers to an issue related to the installation or update of the Spotify desktop application on Windows systems. This error code indicates that the installer is having a problem accessing certain files or directories necessary for the installation or update process.

Do not worry, as this troubleshooting guide has all the tried and tested solutions you could ever need. So, continue reading and tackling this issue head-on!

Highlights

  • Delete the Spotify Residuals in ‘Safe Mode with Networking’ – Do this if you are a Windows user. We recommend removing the residuals of Spotify first. All the steps are detailed below.
  • Download the Installer – This fix worked for many Spotify users facing this error. The in-between steps are detailed below.
  • Remove the Conflicting Third-Party Application(s) – We recommend doing this before downloading and installing Spotify again. We have mentioned two such conflicting apps down below.
  • Exiting Steam and Installing Spotify Again – Both Steam and Spotify use the same technology. So, if you are trying to install Spotify while some Steam process is running in the background. You will face the Spotify download error code 18.
  • Restarting Related Services – We recommend re-enabling all the ‘Services’ and trying to install the ‘Spotify’ application again.
  • Contact Official Spotify Support – If the above solutions fail to work, then contact Spotify support as the last resort. You will get proper tailored assistance.

Why Does this Occur?

Before getting to its solution, let’s check the reasons for error code 18 installing Spotify because that will help in a better understanding of this error message.

  • This issue mostly occurs because of the leftover Spotify files from a different Spotify version.
  • Third-party applications conflict with the Spotify installer, which might cause this issue.
  • Corrupted Windows services can also cause this error message.

How to Fix Error Code 18 Spotify?

Before applying the solutions, we recommend checking the tips mentioned in the ‘Prerequisites’ section. If the prerequisite tips prove useless, try the main solutions.

Pre-requisites

  1. Check whether any Spotify process is running in the background or not. If yes, then end all the Spotify-related processes and re-launch the Spotify installer to check whether this technique has fixed your issue or not.
  2. You can also check for Spotify’s residuals in the ‘AppData’ directory by typing ‘%appdata%’ in the ‘Run’ dialog box.
  3. Try running the installation as an administrator. This will help start the installer process with elevated privileges.

Delete the Spotify Residuals in ‘Safe Mode with Networking’

If you are a Windows user, then please follow the below steps to do this:

If you face the ‘Spotify won’t download error code 18’ issue while trying to download Spotify, we recommend removing the residuals of Spotify first. First, you will have to remove the residuals by booting your computer in ‘Safe Mode with Networking.

  1. First, boot your computer into ‘Safe Mode with Networking.

Important: We have already created a comprehensive guide on different techniques to boot a computer into Safe Mode. So, whichever method you select, you must choose the ‘Safe Mode with Networking’ option.

  1. Once your computer boots into the Safe Mode with Networking, search for Spotify-related files on your system and delete them.

    do this to solve spotify error code 18
    Searching for ‘Spotify’ in ‘File Explorer’ to discover all the stored files related to ‘Spotify’

Important: Alternatively, you can also check the ‘AppData’ directory for Spotify.

do this to solve the spotify error code 18
Opening the ‘AppData’ directory from the ‘Run’ dialog box
  1. After deleting all the Spotify-related files, boot your computer in normal mode.
  2. Then, download and install Spotify again from the Windows Store to check whether the error message persists or not.

    Reinstall spotify to solve spotify error code 18
    Downloading and installing ‘Spotify’ from ‘Windows Store’

If you’re experiencing error code 18 installing Spotify, these steps can help resolve the issue. The error is often caused by installation files or permission problems. Restarting your computer in Safe Mode with Networking will reduce background processes that may interfere with the installation.

Deleting existing Spotify files will eliminate conflicts from previous installations. Finally, downloading and installing from the Windows Apps Store will ensure that you use an official and up-to-date installer.

Download the Installer

The fix that worked for many Spotify users facing this error was downloading the installer and then restarting your computer. The in-between steps are detailed below. So please follow them precisely.

  1. You can download the latest Spotify installer from the official Spotify website.

    install spotify to fix Error Code 18 Spotify
    Download the latest Spotify installer
  2. Now, let’s move to disable the internet adapter. This depends on whether you’re using a wired connection (Local Area Network) or a wireless connection. Simply disable the corresponding internet adapter.
  3. It is typically named “Local Area Connection” for wired connections.
  4. For wireless connections, it’s usually your Wi-Fi network.
  5. Now, restart your computer.
  6. Once your computer restarts, go to the Network and Sharing Center.
  7. For Windows 10, you can right-click on the network icon in the system tray. Then select “Open Network & Internet settings. Then click “Change adapter options.”
  8. Right-click on the disabled adapter (either Local Area Connection or your Wi-Fi network) and choose “Enable.”
  9. Finally, open the Spotify installer that you downloaded. Make sure your internet connection is fully restored.

However, please note that the steps may differ slightly based on your operating system version and network configuration.

Remove the Conflicting Third-Party Application(s)

This has been tested for Windows users.

If you face the ‘Spotify error code 18′ issue and it is related to your Firewall, it might be due to some conflict with a third-party application. So, we recommend removing the conflicting application(s) before downloading and installing Spotify again. We found the following applications that are tagged as conflicting:

  • iTunes
  • Comodo

Steps for Removing the Traces of Spotify

  1. First, open the ‘Run’ dialog box (by pressing the ‘Windows+R’ keys).
  2. Then, type ‘%appdata%’ in the search box and click on the ‘OK’ button to open the ‘AppData’ directory.

    Do this to get rid of spotify error code 18
    Opening the ‘AppData’ directory from the ‘Run’ dialog box
  3. Now, locate the ‘Spotify’ folder in the ‘AppData’ directory and delete it.

    Locate ‘AppData’
    Locating and deleting the ‘Spotify’ folder from the ‘AppData’ directory

Steps for Removing the Conflicting Application(s)

  1. Open the‘ Control Panel’ and choose the ‘Uninstall a program’ option under the ‘Programs’ category.

    Click on ‘Uninstall a program’
    Clicking on the ‘Uninstall a program option under the ‘Programs’ Category inside the ‘Control Panel window
  2. Then, locate the conflicting application(s) (‘iTunes,’ ‘Comodo, etc.) and select it.
  3. After that, click on the ‘Uninstall’ option.

    select the ‘iTunes’ application to fix Error Code 18 Spotify
    Selecting the ‘iTunes’ application and clicking on the ‘Uninstall’ option
  4. The system will display a confirmation message. So, click on the ‘Yes’ button to confirm the uninstallation procedure.

    Confirmation message
    Confirmation message for iTunes uninstallation
  5. Now, follow the on-screen instructions to complete the uninstallation.

Important: You can follow the same procedure for uninstalling some other conflicting application(s) as well

Steps for Rebooting the System

  1. Once you have uninstalled the conflicting application(s), restart your system by clicking on the ‘Start’ < ‘Power’ < ‘Restart’ options.

    Restart to fix Error Code 18 Spotify
    Restarting the system

Steps for Installing Spotify

  1. Now, download and install the Spotify application again from Windows Store.

    Download it to fix Error Code 18 Spotify
    Downloading and installing ‘Spotify’ from ‘Windows Store’
  2. After that, install the (uninstalled) conflicting application.

Check whether the error code 18 installing Spotify has been resolved or not. If Spotify is not working fine, try the next solution.

Exiting Steam and Install Spotify Again

This is for all Steam users.

Both Steam and Spotify use the same technology to prevent a system from hacking attempts. So, if you are trying to install Spotify while some Steam process is running in the background, you will face the Spotify download error code 18. This issue occurs because the ‘Steam Client Service’ might be using the ‘SpotifyWebHelper’ and ‘SpotifyHelper’ files in the background. We recommend closing the Steam application completely and installing the Spotify application afterward.

  1. First, open the ‘Task Manager’ and check whether any Steam-related process is running in the background or not.

    ‘Task Manager’
    Indicating the Steam-related processes in the ‘Task Manager
  2. If yes, then close all the Steam-related processes.

Note: If no Steam-related process is running in the ‘Task Manager, this solution is not for you. So, try some other solution.

  1. Now, ‘follow the first two steps of Solution # 2’ to reach the ‘AppData’ directory.
  2. Then, locate the ‘SpotifyWebHelper’ and ‘SpotifyHelper’ folders in the ‘AppData < Roaming’ directory and delete them.
  3. After that, try to install the ‘Spotify application again.

Check whether the error message persists or not. If yes, try the next solution.

Restarting Related Services

As mentioned earlier, corrupted services might be the reason for the error code 18 installing Spotify. So, if this is your case, we recommend re-enabling all the ‘Services’ and trying to install the ‘Spotify’ application again.

  1. open the ‘System Configuration’ application on your system first.

    Open the ‘System Configuration’ application
    Opening the ‘System Configuration’ application from the ‘Start menu
  2. Then, switch to the ‘Services’ tab and click on the ‘Disable all’ button.

    Click disable all to fix Error Code 18 Spotify
    Switching to the ‘Services’ tab and clicking on the ‘Disable all’ button
  3. apply the changes by clicking on the ‘Apply’ < ‘OK’ buttons.

    Apply the changes.
    Applying the changes after clicking on the ‘Disable all’ button
  4. The ‘System Configuration’ application will prompt you to restart the system. So, click on the ‘Restart’ button.

    Click restart
    Clicking on the ‘Restart’ button to restart the system after disabling all the services
  5. Now, your computer will act a bit weird after boot up as it won’t have any internet access. So, this behavior is entirely fine.
  6. Then, repeat the first two steps of this solution. However, click on the ‘Enable all’ button this time.

    Click enable all to fix Error Code 18 Spotify
    Switching to the ‘Services’ tab and clicking on the ‘Enable all’ button
  7. After that, apply the changes again by clicking on the ‘Apply’ < ‘OK’ buttons.

    Apply the changes to fix Error Code 18 Spotify
    Applying the changes
  8. Again, the ‘System Configuration’ application will prompt you to restart the system. So, click on the ‘Restart’ button.

    click restart to fix Error Code 18 Spotify
    Clicking on the ‘Restart’ button to restart the system after disabling all the services
  9. Doing this will enable all the disabled services. So, when your computer boots up (normally). Try to install the Spotify application and check whether the problem persists or not.

Contact Official Spotify Support

If the above solutions fail to work, then contact Spotify support as the last resort. Do not hesitate as they will be able to give you proper guidance and assistance. It will be tailored to your specific situation. So, follow the given ways of contacting their official support and hopefully resolving this error once and for all.

  1. To get help with error code 18 installing Spotify, start by visiting their official support website. If prompted, log in with your account credentials.
  2. Next, browse through the support articles to see if there’s a solution. If not, use the search bar to look for relevant information. If you still can’t find a solution, look for a “Contact Us” or “Help” link on the support page.
  3. Choose your preferred contact method, which may include email support, live chat, or social media support.
  4. When contacting support, clearly explain your issue and provide any relevant details about your situation.
  5. Finally, follow the instructions provided by the support team, which may include providing additional information or troubleshooting steps.

Keep in mind that Spotify’s support methods and procedures may change over time. So do ensure that you are using the most recent information from their official support website.

spotify support to fix Error Code 18 Spotify
Contact Official Spotify Support

How to Prevent Error Code 18 Spotify

To make sure this error doesn’t hinder your experience on Spotify again. Follow these preventative measures:

  • Download from Official Sources: Always download the Spotify application from the official Spotify website or trusted app stores. It is best to avoid downloading from third-party sources as these may contain modified or corrupted files.
  • Update Operating System: It is important to keep your operating system up to date. Regular updates can include improvements to system components that may impact app installations.
  • Disable Security Software Temporarily: Sometimes, security software can interfere with the installation process. It is advisable to temporarily disable your antivirus or firewall software before installing or updating Spotify.
  • Create System Restore Point: Create a restore point before making any significant changes to your system. This will allow you to revert your system to a previous state if something goes wrong during installation.
  • Install in Safe Mode: Safe Mode reduces the number of background processes running, which can minimize potential conflicts.
  • Check Disk Space: Ensure that you have enough free disk space on your system drive for the installation to proceed smoothly.
  • Use Official Uninstallers: If you need to uninstall Spotify, use the official uninstaller provided by Spotify or use the Windows Control Panel’s uninstall feature.
  • Avoid Modifying System Files: Be cautious when modifying system files or permissions as incorrect changes can lead to installation issues.

Follow these steps and be cautious about where you download applications. Plus, how you manage your system. This way you can minimize the risk of encountering Spotify Error Code 18 in the future.

Talha Saeed

I am a BSCS graduate and a technology nerd who now loves working and writing about computers and other tech-related stuff. In my free time, I like watching Netflix and playing Cricket 22 and The Witcher 3 (Wild Hunt).
Back to top button