Capture of Windows 11 breaks Windows Security Dashboard

JannellDenhart-6217 1 Reputation point
2022-08-09T22:09:09.317+00:00

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.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 24,551 Reputation points MVP
    2022-08-10T00:34:42.54+00:00

    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

    0 comments No comments

  2. Limitless Technology 39,921 Reputation points
    2022-08-10T13:42:18.793+00:00

    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--


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.