An Error Occurred Spotify App

With Spotify, it’s easy to find the right music or podcast for every moment – on your phone, your computer, your tablet and more. There are millions of tracks and episodes on Spotify. So whether you’re behind the wheel, working out, partying or relaxing, the right music or podcast is always at your fingertips.

Error-->

This article discusses an issue that occurs when you remove or update a provisioned Microsoft Store app by using the Microsoft Store and then running sysprep on the computer.

Original product version: Windows 10 - all editions
Original KB number: 2769827

Introduction

Sysprep is a tool for IT administrators who want to prepare an installation of Windows for duplication, auditing, and customer delivery. The guidance in this article is intended for use by support agents and IT professionals. If you are a home user who is encountering issues while using Microsoft Store apps, see Fix problems with apps from Microsoft Store in Windows 10.

Several Microsoft Store apps include built-in Windows 10 and Windows 8 images. These include the Mail, Maps, Messaging, Bing, Travel, and News apps, among others. These are known as provisioned apps. Provisioned apps are staged in the image and are scheduled to be installed for every user of the Windows image at first logon. In addition to the built-in apps, you can side-load your own line of business Microsoft Store apps into the Windows image without having to publish them to the Microsoft Store. You can side-load Appx packages by using online or offline servicing commands that are available in DISM.exe or through the DISM PowerShell module.

Symptoms

Consider the following scenarios:

Scenario 1

  • You are creating a custom Windows 10 reference computer that you want to sysprep and capture.
  • You want to remove some of the provisioned Microsoft Store apps (Appx packages) from this reference computer.
  • You run dism -online /Remove-ProvisionedAppxPackage /PackageName:<packagename> to deprovision the Appx packages.

When you run sysprep operation in this scenario, the operation may fail with the following error:

System Preparation Tool 3.14
A fatal error occurred while trying to sysprep the machine

Scenario 2

  • You have an existing Windows image, and several Microsoft Store apps are side-loaded in the image.
  • You want to remove some of the side-loaded Appx packages from your image and customize it further.
  • You boot into the reference computer and run one of the following PowerShell commands to remove the provisioning of the Appx package:
    • Remove-AppxProvisionedPackage -PackageName <PackageName>
    • Remove-ProvisionedAppxPackage -PackageName <PackageName>

When you run sysprep operation in this scenario, the operation may fail with the following error:

System Preparation Tool 3.14
A fatal error occurred while trying to sysprep the machine

Scenario 3

  • You are creating a Windows 10 reference image.
  • You connect to the Windows 10 Store, and then you update the built-in Microsoft Store apps by using the Microsoft Store.

When you run sysprep operation in this scenario, the operation may fail with the following error:

System Preparation tool 3.14A fatal error occurred while trying to sysprep the machine

Additionally, in the SetupErr.log, you may notice the following error entries:

<Date> <Time>, Error SYSPRP Package <PackageFullName> was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
<Date> <Time>, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.
<Date> <Time>, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
<Date> <Time>, Error [0x0f0082] SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralize' from C:WindowsSystem32AppxSysprep.dll; dwRet = 0x3cf2
<Date> <Time>, Error SYSPRP ActionPlatform::ExecuteAction: Error in executing action; dwRet = 0x3cf2
<Date> <Time>, Error SYSPRP ActionPlatform::ExecuteActionList: Error in execute actions; dwRet = 0x3cf2
<Date> <Time>, Error SYSPRP SysprepSession::Execute: Error in executing actions from C:WindowsSystem32SysprepActionFilesGeneralize.xml; dwRet = 0x3cf2
<Date> <Time>, Error SYSPRP RunPlatformActions:Failed while executing SysprepSession actions; dwRet = 0x3cf2
<Date> <Time>, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
<Date> <Time>, Error [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep generalize internal providers; hr = 0x80073cf2

Cause

Sysprep has an additional provider that's added in Windows 10 to clean Appx packages and to generalize the image. The provider works only if the Appx package is a per-user package or an all-user provisioned package.

  • Per-user package means that the Appx package is installed for a particular user account and is not available for other users of the computer.
  • All-user package means that the Appx has been provisioned into the image so that all users who use this image can access the app.

If an all-user package that's provisioned into the image was manually deprovisioned from the image but not removed for a particular user, the provider will encounter an error while cleaning out this package during sysprep. The provider will also fail if an all-user package that's provisioned into the image was updated by one of the users on this reference computer.

Resolution

To resolve this issue, remove the package for the user who's running sysprep, and also remove the provisioning. To do this, follow these steps.

Note

To prevent Microsoft Store from updating apps, unplug the Internet connection or disable Automatic Updates in Audit mode before you create the image.

  1. Run the Import-Module Appx PowerShell cmdlet.

  2. Run Import-Module Dism.

  3. Run Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation.

    Note

    • In the output of this last cmdlet, check the users for whom the package is showing up as Installed. Delete these user accounts from the reference computer, or log on to the computer by using these user accounts. Then, run the cmdlet in step 4 to remove the Appx package.
    • This command lists all packages that were published by Microsoft and installed by any user of that reference computer. Because the computer is to be sysprepped, we assume that these user profiles no longer require the package.
    • If you have manually provisioned apps that belong to other publishers, run the following command to list them:
      Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation
  4. Run Remove-AppxPackage -Package <packagefullname>.

  5. Remove the provisioning by running the following cmdlet:

    Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>

If you try to recover from an update issue, you can reprovision the app after you follow these steps.

Note

The issue does not occur if you are servicing an offline image. In that scenario, the provisioning is automatically cleared for all users. This includes the user who runs the command.

More information

For more information about how to add and remove apps, see:

Spotify surely has claimed its spot in the top three best music streaming apps, it’s loaded with wonderful features and users absolutely love it. But as like all other things and services they also do run into occasional hiccups. One of those hiccups bothering Spotify users is the error with the code 3 or popularly known as the Spotify error code 3 among the users.

When trying to log in users are faced with this error message – ‘Spotify the username or password is incorrect error code 3’ and they are prevented from logging in to Spotify.

But like all the other hiccups this one too can be fixed quickly with the several solutions bought forward by the multitude of users who were also facing the error code 3 problem. Here’s everything you need to know about it. When logging

What is Spotify error code 3?

When someone is trying to log in to Spotify, they are faced with this error code 3, usually on the desktop app or on the website. Mobile app users seem to be immune to this problem. Also, users are who were trying to log in with Facebook are the ones who face the error code 3 in Spotify the most.

First and foremost make sure, that you are using the latest version of the Spotify app, if not then update to the latest version of Spotify. Don’t use any hacked or third party modified version of the app, only use the official Spotify application downloaded from the official Spotify website or App Stores. Make sure that your system is up to the minimum system requirements as set by Spotify so that Spotify apps can function properly.

How to fix Spotify error code 3?

Here are a few ways in which the error code 3 can be fixed, many users have tried these themselves and have reported them to solve the problem at hand –

1. Login from your home country

Since Spotify is not available in most countries, but there are people in those countries who love music and want to use Spotify. So if you are in a country where Spotify is not available but you signed with a VPN and got your account working but if you try to login from your home country now without a VPN you might face the code 3 error.

If you are in a country where Spotify is not available you can signup and use it with a VPN but, if you log in without a VPN for a prolonged time, then you will get the code 3 error. So every 14 days you will have to use a VPN and set your IP address to the original location which you had used while signing up and logon to the Spotify website or app. You can also find out which country is added as your home country in Spotify from this link.

2. Recover & reset password

If you are a legitimate Spotify user and it is available in your country, then this solution works best for users and often this is the root of the error code 3 problem for them. Follow the process below to recover your Spotify account password –

  • Firstly, head over to the Spotify website and click on log in and then click on the ‘Forgot your password?‘ option.
  • Then enter your email which is added in your Spotify account or your Spotify username if you remember that.
  • Then Spotify will send a link to your email to reset your password.
  • Check your email and reset your password.

An Error Occurred Spotify App Free

3. Use your username to sign in

Many users have suggested that instead of signing in with Facebook or your email, try to sign in with your Spotify username. If you don’t know your username, then here’s how you can find it out –

  • Log in to your Spotify account from a browser(you should not face the error code 3 here).
  • Then open your account overview and you will see your username under the profile section. If you have a random number username and want to change then read our guide on How to change your Spotify username?

How to fix Spotify error code 3 on Facebook login?

If you are facing the error code 3 while logging in using your Facebook account, then you will have to reset your Spotify password and use your email and new password to login to Spotify.

How to fix Spotify error code 3?

Spotify Error Firewall

Description

An Error Occurred Spotify App Store

Check out how you can fix the Spotify error code 3 error in 2 minutes and check out the 4 different ways to fix this Spotify login error.

An Error Occurred Spotify App Download

Author