"You'll need a new app to open this windowsdefender link" fix

Anonymous
2022-02-09T15:04:00+00:00

Hi this post is to help people with windows 10 and 11 windows security not working

On windows 11 do this

  1. launch powershell as an admin
  2. Set-ExecutionPolicy Unrestricted
  3. Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
  4. Set-ExecutionPolicy restricted

IGNORE THE ERRORS

on windows 10 do this

  1. launch powershell as an admin}
  2. run get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
  3. if it doesn't work do this
    4) run Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"
  4. run get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

98 answers

Sort by: Oldest
  1. Anonymous
    2022-05-17T12:18:28+00:00

    You can choose yes. This is a great fix for single accounts with admin privileges. If you have sub accounts though (non-admin accounts for family members), this won't fix it. You'll need to create local accounts, then copy their data from their microsoft account into the local, then delete the microsoft account, and then scour the internet to find fixes for why there's permission errors, and then open a new Microsoft ticket to troubleshoot that, and then be told to reinstall Windows 11 again, and recreate all of the profiles from scratch.

    I regret upgrading to Windows 11.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-05-19T16:22:39+00:00

    I executed the first one (Set-ExecutionPolity Unrestricted), answered 'Y', and got to the C::\Windows\system32 prompt.

    Then I executed the next one (Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}), and nothing happened.

    Silly me. Maybe I should have waited longer? Because then I executed the last one to reset the ExecutionPolicy back to restricted.

    So.... do I need to start over again? Or just keep waiting?? I did check to see if it worked, and I"m still getting the error that I need a new app...

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-05-24T11:19:02+00:00

    Worked like a charm for me, thank you!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2022-05-26T02:47:18+00:00

    worked for me. Thanks!

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-05-26T10:35:08+00:00
    1. launch powershell as an admin}
    2. run get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage

    Worked for me.

    Windows 11 Pro 21H2 22000.708

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments