Apps are removed by sysprep

C.Huss 25 Reputation points
2024-02-28T10:24:09.95+00:00

Hey, in my master image I do have apps like Snipping Tool (Microsoft.ScreenSketch) or Windows MediaPlayer.

I tried several things.
But it is enough to run sysprep on this machine without any task sequence.
After Sysprep snipping tool or windows media player are not present anymore. Any idea why ?

Snipping (ScreenSketch) does exists in ProgramFiles\WindowsApps, but I cannot register the app

Add-AppxPackage : Fehler bei Bereitstellung. HRESULT: 0x80073CF6, Das Paket konnte nicht registriert werden. Merge failure for shared merged PRI file: Fehler 0x800703EE : Das Paket "Microsoft.ScreenSketch_11.2312.33.0_x64__8wekyb3d8bbwe" kann aufgrund eines Fehlers beim Zusammenführen bei der folgenden Datei nicht registriert werden: C:\Program Files\WindowsApps\Microsoft.ScreenSketch_11.2312.33.0_neutral_split.language-de_8wekyb3d8bbwe\resources.pri. HINWEIS: Wenn Sie weitere Informationen wünschen, suchen Sie im Ereignisprotokoll nach [ActivityId]

For sysprep I have to uninstall Microsoft.LanguageExperiencePackde-DE_22621.44.190.0_neutral__8wekyb3d8bbwe - migth this be the reason for the error message ?Chris

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
904 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. XinGuo-MSFT 18,771 Reputation points
    2024-02-29T09:00:46.84+00:00

    Hi,

    Try to use PersistAllDeviceInstalls=true in unattend.xml when syspreping. If this doesn't help, perhaps the following text will explain why.

    In general, Sysprep does not remove applications. Some applications are sensitive to sysprep, but those are rare exceptions.

    Sysprep strips out the machine-specific settings like activation ID and SID, while leaving the installed programs for ease of deployment. If certain applications rely on these machine-specific items, they could break, which might be what's happening to your applications.


  2. XinGuo-MSFT 18,771 Reputation points
    2024-03-01T07:39:25.8733333+00:00

    Hi,

    Following some research, I have a question for you.

    How did you install the software Snipping Tool (Microsoft.ScreenSketch) or Windows MediaPlayer.

    Which account do you use to install the software?

    Were the packages provisioned for one user or installed with Microsoft Store?

    Are the programs installing to %AppData%/%LocalAppData%?

    0 comments No comments

  3. C.Huss 25 Reputation points
    2024-03-01T08:38:11.7133333+00:00

    Hey, I am using the downloaded ISO from Microsoft. I did not installed Snipping Tool or Windows Media Player manually (because is part of the installation)

    When the installation is finished - User Administrator - Snipping Tool is available and startable.

    When I am running sysprep oobe now - on the next boot with a new user - Snipping Tool is not present. It´s not in AppData\Local\Microsoft..
    Only in Program Files\WindowsApps - but from here I cannot register the app for the user

    0 comments No comments

  4. C.Huss 25 Reputation points
    2024-03-01T09:18:02.44+00:00

    I did some Screenshots... see attachmentsScreenshots.pdf

    0 comments No comments

  5. XinGuo-MSFT 18,771 Reputation points
    2024-03-06T07:55:24.4233333+00:00

    Please try to reinstall Snipping Tool Using PowerShell after Sysprep:

    Open PowerShell as an administrator.

    Run the following command to reinstall the Snipping Tool:

    Get-AppxPackage -allusers Microsoft.ScreenSketch | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.