Upgrade/installation of the Windows Provisioning Engine (WPE) package fails on the CreateWebSitesBindings step with the following error message:
The profile for the user is a temporary profile.
More detailed diagnostics of the problem is provided in the example below:
Calling custom action Wpe.Installer.CustomActions!Wpe.Installer.CustomActions.InstallCustomActions.CreateWebSitesBindings CreateWebSitesBindings started Add binding for site 'Windows Provisioning Engine'... MSI (s) (AC!64) [14:10:08:350]: Product: Windows Provisioning Engine -- PA Windows Provisioning Engine installer Error: CreateWebSitesBindings error: System.Runtime.InteropServices.COMException (0x80090024): The profile for the user is a temporary profile. (Exception from HRESULT: 0x80090024)
The 'C:\Users\pem_admin' folder was deleted from the WPE server, as the result, the pem_admin user which POA is using to perform all provisioning operations logs in with temporary profile.
WPE installer generates certificate for WPE website in IIS, stores it in the temporary profile of the 'pem_admin' user and then tries to import it. Windows does not allow to import certificate from the temporary profile.
Restore the deleted profile of the pem_admin user on the WPE server. E.g. apply solution from the Microsoft KB article http://support.microsoft.com/kb/947242.