"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
    2023-12-17T14:21:09+00:00

    actually i was installing a cracked game and when it finished i was unable to re-activate real-time protection. upon restarting the pc the windows secuirty app was not opening and i went into its settings and reset the secuirity settings, but after it the app stopped working and whenever i click 'open windows secuirity' it says "you'll need a new app to open this windowsdefender link". Please help because now my pc is not showing secuirity sevices and windows secuirity app in the lists. please reply asap.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-01-24T14:10:51+00:00

    I dont have that "AppXManifest.xml" file in Microsoft.Windows.SecHealthUI_cw5n1h2txyewy. So, i couldnt perform this command. Any idea?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-01-25T06:38:53+00:00

    it didnt work for me i used the window powershell admiin

    Was this answer helpful?

    0 comments No comments