Spotify is a great music streaming service for working, studying, or even DJing at a party. However, some users run into problems when installing or opening the app on their computer. One common issue is Spotify Error Code 18 on Windows, which can cause the installer to fail or make Spotify crash. You may see messages like "The installer is unable to install Spotify (Error Code 18)" or "The files to be written are in use." If you're confused or stuck with this problem, don't worry. In this guide, we will show you how to fix Spotify Error Code 18 on Windows 10 & 11 step by step.
CONTENTS
Spotify Error Code 18 commonly appears when there is an issue during the software installation on a Windows computer. Since Windows comes with a built-in tool called Device Manager, this kind of error can often be identified quickly. Similar errors may also occur when installing other programs.
Spotify Error Code 18 can occur for several reasons, including:
When Spotify Error 18 happens, you may notice the following issues:
Now that you know what Spotify Error Code 18 is, let's look at how to fix it. Below are some easy ways to solve Spotify Error Code 18 on Windows.
Use a trusted antivirus program to check your computer. For example, open McAfee Antivirus Plus and run a Quick Scan or Full Scan. The software will find and remove any harmful files automatically.
Step 1. Press Win + R, type msconfig, and click OK.
Step 2. In the System Configuration window, go to Services, click Disable all, then click OK.
Step 3. Restart your PC. After restarting, open msconfig again, click Enable all, and restart once more. This often fixes the problem.
Step 1. Type Command Prompt in the Windows search box. Right-click it and choose Run as administrator.
Step 2. Type regedit and press Enter. Click Yes when asked.
Step 3. In Registry Editor, click File > Export, choose a folder, and save a backup file. This keeps your system safe before making changes.
Step 1. Press Win + R, type hdwwiz.cpl, and click OK.
Step 2. Open Network adapters in Device Manager, right-click your adapter, and select Uninstall device. Restart your computer and reconnect to the internet.
Step 1. Go to Control Panel > Network and Internet > Network and Sharing Center
Step 2. Click your network and choose Properties
Step 3. Select Internet Protocol Version 4 (TCP/IPv4) and click Properties
Step 4. Choose Use the following DNS server addresses
Step 5. Enter:
Step 6. Check Validate settings upon exit and click OK
Step 1. Click Start and type Command Prompt.
Step 2. Press Ctrl + Shift + Enter to open it as administrator.
Step 3. Click Yes, type sfc /scannow, and press Enter.
After following the steps above, you should be able to fix Spotify Error Code 18 successfully. Still, Spotify Error Code 18 can occur not only during installation but also while Spotify is running. This may lead to unexpected data loss, especially for downloaded tracks. To avoid this risk, backing up your Spotify music regularly is highly recommended.
UkeySoft Spotify Music Converter works on both Windows and Mac computers and comes with a built in Spotify web player for stable performance. It lets you convert Spotify music to MP3, M4A, AAC, FLAC, WAV, or AIFF and save the files locally. Moreover, all music is kept in original quality up to 320kbps with full ID3 tags, making it easy to manage and protect your music collection.
Note
UkeySoft Spotify Music Converter is equipped with built-in Spotify web player, you can search, browse, download and play music in one place, there is no need to install the Spotify official app.
UkeySoft Spotify Music Converter
The process is very easy. Just install the program on your computer and follow the steps below.
Step 1. Open Spotify Converter and Sign In
UkeySoft Spotify Music Converter works on both Windows and Mac. Download the correct version, install it, and launch the program. Then sign in to your Spotify account.

After logging in, you can browse, search, and play music directly in the built in Spotify web player.
Step 2. Output Settings
Click the Settings icon in the top right corner. You can choose from six formats, such as MP3, M4A, WAV, FLAC, AIFF, and AAC. The default format is M4A. Since MP3 works on most devices and players, it is best to choose MP3.
Step 3. Add Spotify Songs Playlists or Albums
Use the built in Spotify web player to open the playlist or album you want to convert. Click the Add icon to add the content to the list.

All songs are selected by default. You can uncheck any tracks you do not want to download.
Step 4. Start to Convert Spotify Music
Click the Convert button to start converting Spotify songs or playlists to MP3 or another selected format. The program supports conversion speeds up to 16X faster.
Step 5. Check the Converted Files
Once the conversion is complete, click the blue Output Folder button to open the saved location. You can now access your Spotify songs as local MP3 or other format files and enjoy smooth playback without Spotify Error Code 18 or other issues.
In conclusion, this guide shared several effective ways to fix Spotify Error Code 18 on Windows 10 & 11. To avoid future problems caused by Spotify Error Code 18, it is a good idea to use UkeySoft Spotify Music Converter to save Spotify songs as local files for backup on any device. This helps reduce the impact of Spotify errors and keeps your music safe.
Windows 7 or later on 64bit required
Mac OS X 10.11 or higher
Chester has always had great enthusiasm for writing, programming and web development. He likes writing about software and technology, his works are featured on some tech blogs or forums like Tom's Hardware, CNET, etc.
Apple Music Converter
A professional Apple Music Converter that can download and convert Apple Music to MP3, FLAC, AAC, M4A and WAV for playing on any devices.
Try It Free
Spotify Music Converter
One-stop Spotify converter and downloader to download Spotify music to MP3, M4A, WAV, FLAC, AIFF, AAC, and M4A at 16X faster speed in batch.
Try It Free
Amazon Music Converter
Download Amazon Music songs, albums, playlists and even podcasts to MP3, AAC, WAV, FLAC, AIFF, and M4A for listening offline on any devices.
Try It FreeSorry the comment has been closed.
Porducts
Solution
Copyright © 2026 UkeySoft Software Inc. All rights reserved.
Comments are off!