troubleshooting Question

Windows 10 SYSPREP fails due to Microsoft Apps

Avatar of NEMC
NEMC asked on
MicrosoftWindows 10Windows OS* Sysprep failure
6 Comments2 Solutions17 ViewsLast Modified:
Specifically, fails on this line:

2021-08-04 11:05:48, Error                 SYSPRP Package Microsoft.BingWeather_4.25.20211.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

If I remove this app, there are many others will also fail.

Looking for either a way to fix this workstation so it can be imaged, or rebuild image from scratch so this issue with these APPS does not occur again.  

Attaching entire setupact Log and setuperr Log

2021-08-04 11:05:40, Info                  SYSPRP ========================================================
2021-08-04 11:05:40, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
2021-08-04 11:05:40, Info                  SYSPRP ========================================================
2021-08-04 11:05:40, Info       [0x0f004d] SYSPRP The time is now 2021-08-04 11:05:40
2021-08-04 11:05:40, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
2021-08-04 11:05:40, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
2021-08-04 11:05:40, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2021-08-04 11:05:40, Info       [0x0f003d] SYSPRP WinMain:Displaying dialog box for user to choose sysprep mode...
2021-08-04 11:05:48, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.
2021-08-04 11:05:48, Info                  SYSPRP RunDlls:Running platform actions specified in action file for phase 3
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2021-08-04 11:05:48, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
2021-08-04 11:05:48, Info                  SYSPRP Sysprep_Clean_Validate_Opk:Sysprep will run on an upgraded OS.
2021-08-04 11:05:48, Info                  CSI    00000001 Shim considered [l:126]'\??\C:\WINDOWS\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1145_none_7e2e1aee7c75684d\wcp.dll' : got STATUS_OBJECT_PATH_NOT_FOUND
2021-08-04 11:05:48, Info                  CSI    00000002 Shim considered [l:123]'\??\C:\WINDOWS\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1145_none_7e2e1aee7c75684d\wcp.dll' : got STATUS_SUCCESS
2021-08-04 11:05:48, Info                  SYSPRP Sysprep_Clean_Validate_Opk: Successfully validated reserves state on the machine for entering audit mode.
2021-08-04 11:05:48, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll
2021-08-04 11:05:48, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.
2021-08-04 11:05:48, Info                  SYSPRP RunDlls:Running platform actions specified in action file for phase 1
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2021-08-04 11:05:48, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2021-08-04 11:05:48, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll
2021-08-04 11:05:48, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'ValidateBitLockerState' from C:\Windows\System32\BdeSysprep.dll
2021-08-04 11:05:48, Info                  SYSPRP ActionPlatform::LaunchModule: Executing method 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll
2021-08-04 11:05:48, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.
2021-08-04 11:05:48, Error                 SYSPRP Package Microsoft.BingWeather_4.25.20211.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2021-08-04 11:05:48, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2021-08-04 11:05:48, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2021-08-04 11:05:48, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2021-08-04 11:05:48, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2021-08-04 11:05:48, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2021-08-04 11:05:48, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2021-08-04 11:05:48, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
2021-08-04 11:05:49, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
2021-08-04 11:05:49, Info       [0x0f004d] SYSPRP The time is now 2021-08-04 11:05:49

ERR LOG

2021-08-04 11:05:48, Error                 SYSPRP Package Microsoft.BingWeather_4.25.20211.0_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
2021-08-04 11:05:48, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.
2021-08-04 11:05:48, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.
2021-08-04 11:05:48, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2
2021-08-04 11:05:48, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2021-08-04 11:05:48, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2021-08-04 11:05:48, Error      [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2021-08-04 11:05:48, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2




ASKER CERTIFIED SOLUTION
David Johnson, CD
The More I know, the more I don't know
Log in to continue reading
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform for $9.99/mo
View membership options
Unlock 2 Answers and 6 Comments.
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
The Value of Experts Exchange in My Daily IT Life

Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>

Mike

Owner of Outages.IO
Phoenix, Arizona, United States
Member Since 2016
Join a full scale community that combines the best parts of other tools into one platform.
Unlock 2 Answers and 6 Comments.
View membership options
“All of life is about relationships, and EE has made a virtual community a real community. It lifts everyone's boat.”
William Peck

Member since 2004