Have you tried uninstalling UWP app if any installed?
Open %windir%\system32\Sysprep\panther
Right-click the setupact.log file in the folder and select Open with Notepad view Sysprep error details. If there’s an app causing the issue
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Currently trying to create an image of Windows 11, but after sysprep (either when exiting audit mode, or when doing the capture) the Windows Security Dashboard disappears and is un-accessible. Error given, is that an app is needed to open it. Have tried all the Powershell suggestions to reset/reinstall the app, but none work. Tried both current and previous version of ADK. Have slimmed down my capture to be of just Win 11, no other steps or additions. Still no luck.
Have you tried uninstalling UWP app if any installed?
Open %windir%\system32\Sysprep\panther
Right-click the setupact.log file in the folder and select Open with Notepad view Sysprep error details. If there’s an app causing the issue
Hello,
First, please ensure that you are using a Microsoft ISO and not a OEM distribution for the image.
Download Windows 11 ISO: https://www.microsoft.com/software-download/windows11
Just to confirm you can try the next cmdlets in case you executed other different:
Get-AppxPackage Microsoft.Windows.SecHealthUI | Reset-AppxPackage
then
Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"
Another option during the OOBE process is that have worked for me is:
during OOBE I had to figure out how to send the Ctrl+Shift+F3 keyboard keystroke to the VM to get to audit mode. You can achieve this with this by the Ease of Access icon (lower left corner of screen). Press it and then select the On-Screen keyboard. Onces in audit mode I tried to start the Windows Defender Security Center app. Which I could without error. Then after the process completes, run again the cmdlets to ensure that you can access it on the final version of the OS.
---------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--