heavytones
Goto Top

CortanaListenUIApp. verhindert Sysprep

Hallo hier im Forum. Ich habe ein Problem an einem Windows 10 Pro (1709).Rechner ein Sysprep durchzuführen. In der Log Datei steht nachher, dass die o.a. App dies verhindert. Ich finde aber auch keinen Weg, dies zu ändern, bzw zu deinstallieren. Es ist ein ThinkPad.
Vor ein paar Tagen hatte ich das gleiche mit einem Fujitsu Notebook gemacht. Das hat ohne Probleme funktioniert, musste nur gewisse Apps zuvor deinstallieren.
Befehl den ich nutze ist eigentlich ein ganz normaler : sysprep /generalize /oobe / shutdown....
Ich bin für jede Hilfe dankbar face-smile

Content-Key: 363167

Url: https://administrator.de/contentid/363167

Printed on: April 25, 2024 at 09:04 o'clock

Member: Tektronix
Tektronix Feb 01, 2018 at 13:16:27 (UTC)
Goto Top
Hallo,
schon probiert:
4.	Remove-AppxPackage -Package <packagefullname>
Remove-AppxProvisionedPackage -Online -PackageName <packagefullname>
und danach regedit.
HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus auf 7 stellen.
Member: HeavyTones
HeavyTones Feb 01, 2018 at 13:59:55 (UTC)
Goto Top
Habs gerade versucht, leider ohne Erfolg :
PS C:\WINDOWS\system32> Remove-AppxPackage -Package CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy
Remove-AppxPackage : Fehler bei Bereitstellung. HRESULT: 0x80073CFA, Fehler beim Entfernen. Wenden Sie sich an den
Softwarehersteller. (Ausnahme von HRESULT: 0x80073CFA)
Fehler 0x80070032: AppX Deployment-Vorgang Remove für das Paket
"CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy" von "C:\Windows\SystemApps\CortanaListenUIApp_cw5n1h2txyewy"  
ist fehlgeschlagen. Diese App ist Bestandteil von Windows und kann nicht auf Benutzerbasis deinstalliert werden. Ein
Administrator kann versuchen, die App mithilfe von "Windows-Features aktivieren oder deaktivieren" vom Computer zu  
entfernen. Möglicherweise kann die App jedoch nicht deinstalliert werden.
HINWEIS: Wenn Sie weitere Informationen wünschen, suchen Sie im Ereignisprotokoll nach "[ActivityId]  
8d7a076b-9b3e-0002-df70-7a8d3e9bd301", oder verwenden Sie die Befehlszeile "Get-AppxLog -ActivityID  
8d7a076b-9b3e-0002-df70-7a8d3e9bd301".  
In Zeile:1 Zeichen:1
+ Remove-AppxPackage -Package CortanaListenUIApp_10.0.15063.0_neutral__ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (CortanaListenUI...__cw5n1h2txyewy:String) [Remove-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.RemoveAppxPackageCommand

PS C:\WINDOWS\system32>  Remove-AppxProvisionedPackage -Online -PackageName CortanaListenUIApp_10.0.15063.0_neutral__cw5
n1h2txyewy
Remove-AppxProvisionedPackage : Das System kann die angegebene Datei nicht finden.
In Zeile:1 Zeichen:2
+  Remove-AppxProvisionedPackage -Online -PackageName CortanaListenUIAp ...
+  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-AppxProvisionedPackage], COMException
    + FullyQualifiedErrorId : Microsoft.Dism.Commands.RemoveAppxProvisionedPackageCommand
Member: HeavyTones
HeavyTones Feb 01, 2018 updated at 14:06:57 (UTC)
Goto Top
Das log sieht dann so aus :
PS C:\WINDOWS\system32> Get-AppxLog -ActivityID 8d7a076b-9b3e-0002-df70-7a8d3e9bd301

Time                      ID           Message
----                      --           -------
01.02.2018 14:55:36       603          Der Bereitstellungsvorgang Remove wurde für ein Paket mit dem Hauptparameter
                                       CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy und den Optionen 0 und 0
                                       gestartet. Weitere Informationen zum Diagnostizieren von Problemen bei der
                                       Bereitstellung von Apps finden Sie unter
                                       http://go.microsoft.com/fwlink/?LinkId=235160.
01.02.2018 14:55:36       10002        Die Resilienzdatei "C:\ProgramData\Microsoft\Windows\AppRepository\985fe24b-cd00  
                                       -4483-8d32-591eab8035a7_S-1-5-21-3157985913-2675603446-1636991407-1002_1.rslc"  
                                       wird für den Vorgang "Remove" im Paket  
                                       "CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy" erstellt.  
01.02.2018 14:55:36       607          Der Bereitstellungsvorgang Remove für das Paket
                                       CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy wurde aus der
                                       Warteschlange entfernt und wird für die Benutzer-SID
                                       S-1-5-21-3157985913-2675603446-1636991407-1002 ausgeführt.
01.02.2018 14:55:36       707          Fehler 0x80070032: AppX Deployment-Vorgang Remove für das Paket
                                       "CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy" von  
                                       "C:\Windows\SystemApps\CortanaListenUIApp_cw5n1h2txyewy" ist fehlgeschlagen.  
                                       Diese App ist Bestandteil von Windows und kann nicht auf Benutzerbasis
                                       deinstalliert werden. Ein Administrator kann versuchen, die App mithilfe von
                                       "Windows-Features aktivieren oder deaktivieren" vom Computer zu entfernen.  
                                       Möglicherweise kann die App jedoch nicht deinstalliert werden.
01.02.2018 14:55:36       605          Der letzte erfolgreiche Status war BundleProcessed. Vor dem Erreichen des
                                       Folgestatus (Indexed) ist ein Fehler aufgetreten. Std.: 0x80070032
01.02.2018 14:55:36       401          Der Bereitstellungsvorgang "Remove" mit Zielvolume "C:" für das Paket  
                                       "CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy" von " " ist mit dem  
                                       Fehler 0x80070032 fehlgeschlagen. Weitere Informationen zum Diagnostizieren von
                                       Problemen bei der Bereitstellung von Apps finden Sie unter
                                       "http://go.microsoft.com/fwlink/?LinkId=235160".  
01.02.2018 14:55:36       404          Fehler "0x80073CFA" beim AppX Deployment-Vorgang für Paket  
                                       "CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy". Der Fehlertext  
                                       lautet: Fehler 0x80070032: AppX Deployment-Vorgang Remove für das Paket
                                       "CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy" von  
                                       "C:\Windows\SystemApps\CortanaListenUIApp_cw5n1h2txyewy" ist fehlgeschlagen.  
                                       Diese App ist Bestandteil von Windows und kann nicht auf Benutzerbasis
                                       deinstalliert werden. Ein Administrator kann versuchen, die App mithilfe von
                                       "Windows-Features aktivieren oder deaktivieren" vom Computer zu entfernen.  
                                       Möglicherweise kann die App jedoch nicht deinstalliert werden.


Mir würde schon helfen, wenn ich Sysprep irgendwie forcieren könnte face-smile Also ich möchte 20 von den Rechner clonen, von mir aus auch via einem anderen Tool, damit ich sie in eine Domäne einbinden kann..
Member: Tektronix
Tektronix Feb 01, 2018 at 15:16:08 (UTC)
Goto Top
Hi,
hast Du alle Benutzer entfernt und bist mit dem Administrator Account angemeldet fürs Sysprep?
Member: HeavyTones
HeavyTones Feb 01, 2018 at 15:50:07 (UTC)
Goto Top
Ich bin mit einem eigenen neuen lokalen Admin drauf... Der Administrator ist weiterhin deaktiviert, sowie der Gast und Default Account. . Dann gibt es noch einen WDAGUtilityAccount, den ich nicht löschen kann.
Member: Tektronix
Tektronix Feb 01, 2018 at 15:57:15 (UTC)
Goto Top
benutze mal den normalen Administrator.
Member: HeavyTones
HeavyTones Feb 02, 2018 at 09:21:12 (UTC)
Goto Top
Geht auch nicht... face-sad
Member: Tektronix
Tektronix Feb 02, 2018 at 10:38:06 (UTC)
Goto Top
Moin,
hast Du das von Dir erstellte Konto entfernt? Den Regkey gecheckt, dass der Wert auf 7 steht.
Poste doch mal die setuperr.log aus C:\Windows\system32\sysprep\panther\ .
Member: HeavyTones
HeavyTones Feb 02, 2018 at 12:31:57 (UTC)
Goto Top
Der Wert war schon auf 7. Ja, habe die anderen User rausgeschmissen. Bis auf WDAGUtilityAccount
Hier das log :

2018-02-01 10:45:26, Info                  SYSPRP ========================================================
2018-02-01 10:45:26, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
2018-02-01 10:45:26, Info                  SYSPRP ========================================================
2018-02-01 10:45:26, Info       [0x0f004d] SYSPRP The time is now 2018-02-01 10:45:26
2018-02-01 10:45:26, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\System32\Sysprep\Panther
2018-02-01 10:45:26, Info       [0x0f0054] SYSPRP ValidatePrivileges:User has required privileges to sysprep machine
2018-02-01 10:45:26, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\System32\Sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
2018-02-01 10:45:26, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'  
2018-02-01 10:45:26, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'  
2018-02-01 10:45:26, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'SHUTDOWN'  
2018-02-01 10:45:26, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'cleanup' internal providers.  
2018-02-01 10:45:26, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 3
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml, and mode <null>
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Cleanup.xml
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2018-02-01 10:45:26, Info                  SYSPRP spopk.dll:: Sysprep will run on an upgraded OS.
2018-02-01 10:45:26, Info                  SYSPRP ActionPlatform::LaunchModule: Successfully executed 'Sysprep_Clean_Validate_Opk' from C:\Windows\System32\spopk.dll without error  
2018-02-01 10:45:26, Info       [0x0f00d7] SYSPRP WinMain:Pre-validing 'generalize' internal providers.  
2018-02-01 10:45:26, Info                  SYSPRP RunExternalDlls:Running platform actions specified in action file for phase 1
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::CreateSession: Successfully created instance with action file C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml, and mode <null>
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::Validate: Beginning action execution from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Sysprep mode in registry is <null>
2018-02-01 10:45:26, Info                  SYSPRP SysprepSession::CreateXPathForSelection: Processor architecture in registry is AMD64
2018-02-01 10:45:26, Info                  SYSPRP Entering SysprepGeneralizeValidate (Appx) - validating whether all apps are also provisioned.

2018-02-01 10:45:26, Error                 SYSPRP Package CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2018-02-01 10:45:26, Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.

2018-02-01 10:45:26, Error                 SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.

2018-02-01 10:45:26, Error                 SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2  
2018-02-01 10:45:26, Error                 SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2
2018-02-01 10:45:26, Error                 SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2
2018-02-01 10:45:26, Error      [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2
2018-02-01 10:45:26, Error      [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2
2018-02-01 10:47:54, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
2018-02-01 10:47:54, Info       [0x0f004d] SYSPRP The time is now 2018-02-01 10:47:54
2018-02-01 11:04:17, Info                  SYSPRP ========================================================
2018-02-01 11:04:17, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
Member: Tektronix
Solution Tektronix Feb 02, 2018 at 15:41:09 (UTC)
Goto Top
Halllo,
Zeile 17 upgraded OS ( Lade Dir das Mediacreationtool runter und mache Dir ein ganz aktuelles Setupmedium)
Zeile 27 Das Paket ist für einen Nutzer installiert, aber nicht für alle Benutzer provisioniert.( Paket für alle Benutzer provisionieren)
Appx provisioning
Auf dem neu installierten Gerät alles im integrierten Administrator machen.
Member: Tektronix
Tektronix Feb 05, 2018 at 07:19:23 (UTC)
Goto Top
Hallo,
Zu Zeile 27 habe ich folgendes gefunden:
Let’s note these sentences:

2017-11-22 17:04:08, Error SYSPRP Package CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

2017-11-22 17:04:08, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.

CortanaListenUIApp_10.0.15063.0_neutral__cw5n1h2txyewy should be the reason for Sysprep failure. You need to delete it on that specific account and test again.

As the KB Article 2769827

https://support.microsoft.com/en-us/help/2769827/sysprep-fails-after-you ...

Open the PowerShell Command with Admin Rights. Execute the follow command:

Get-AppxPackage|Remove-AppxPackage

At this point the system remove the Apps that cause the Problem. You receive also many Issuereports, but this isn't a problem. After that you can capture without problem your Image.

You need to run the command by logging into each user that you had set up prior to image capture. After running the command you should able to sysprep and capture.
Member: HeavyTones
HeavyTones Feb 05, 2018 at 10:44:59 (UTC)
Goto Top
Danke. Habe mir ein neues Image gemacht. Danke für die Hilfen. Das Problem war, dass mein altes Medium ein 1703 war..... zumindest gehe ich davon aus ^^