“A Windows Store Installation of Spotify was found” Error

When you try to install the Spotify desktop app by running the standalone installer, the following error may appear:

Spotify Installer

A Windows Store installation of Spotify was found in your system. Please uninstall that version first, or update through the Windows Store.

spotify installer error

The error persists even if you delete the Spotify application data folder under “%LocalAppData%\Packages\“.

Cause

The above error happens if the Store version of Spotify is already installed on the computer. If you have previously installed and uninstalled Spotify, the uninstallation may have left over some folders and registry entries.

Solution

To resolve the error “A Windows Store installation of Spotify was found in your system,” follow these steps:

Step 1: Uninstall existing Spotify installation

  1. Open Settings → Apps & Features
  2. Type “spotify” in the search box.
  3. Select Spotify from the list and click Uninstall.
    spotify installer error - uninstall spotify from Apps & Features

If Spotify is missing from the Apps & Features (or Programs and Features) and yet the error appears, it means the previous uninstallation has left over some files/registry keys. Follow the next method in that case.


Step 2: Remove Spotify Store App Using PowerShell

Even if the Spotify app is missing in Apps & Features, the following procedure should work (if the Spotify package is intact).



  1. Launch PowerShell as administrator.
  2. Run the following command to remove Spotify
    Get-AppxPackage *spotify* -allusers | remove-appxpackage

    (or)

    Get-AppxPackage SpotifyAB.SpotifyMusic -allusers | remove-appxpackage

The above command should remove the leftover registry entries and application data files.

Attempt to run the Spotify setup file now.

If that doesn’t do the trick, follow the next method.


Step 3: Delete Spotify App Repository Key

It’s suggested that you perform this step after attempting “Step 2.”

  1. Start the Registry Editor (regedit.exe)
  2. Go to the following location:
    HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Families\SpotifyAB.SpotifyMusic_zpdnekdrzrea0
  3. Right-click “SpotifyAB.SpotifyMusic_zpdnekdrzrea0” and choose Delete.
    Some users may see the following error when deleting the key:

    Error Deleting Key
    
    Cannot delete SpotifyAB.SpotifyMusic_zpdnekdrzrea0. Error while deleting key.

    spotify delete registry key error

    If you receive the above error, start Windows in Safe mode and delete the above registry key.

  4. Exit the Registry Editor.

Attempt to run the Spotify setup file now.
spotify installer
It should work!


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Comment