"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-02-19T19:34:23+00:00

    Nothing I have tried works to get rid of that annoying bug from in here or online.

    I have 2 accounts on this machine and my Admin account was fixed. My local account

    will not fis itself. Is this dangerous to get hacked and will they fix this bug?

    Was this answer helpful?

    30+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-02-20T16:55:49+00:00

    not sure what bug you have as you can't replace the windows security files ( not sure why ) cause you can't modify the owner ship of the folders

    you might need to reset your computer.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-02-20T16:56:45+00:00

    command prompt will not work you have to use power shell as admin

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-02-20T18:46:58+00:00

    I have two separate accounts on the Computer.

    One is an admin account. The other account I have

    on that same computer is a local user account.

    On the admin account I could change and have

    replaced the security files on the computer.

    All is good with the Admin account.

    It is when I sign out and go to my local user account

    that it won't change. I Use the PowerShell admin

    and it won't change it.

    I have full access on my Administrator account and when

    I sign out and go to my local user account it won't change.

    and I have the annoying popup.

    I just tried the old gaming trick of going to your adim account and shutting down the anti-virus and then going to the Local user account and trying to install the lines in Power shell admin.

    Did not work. Oh well It said ''Win 11 is ready to install'' It was my bad not to check and see where it was. If I would of known it was Bets I would not of even considered it.

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2022-03-24T10:04:57+00:00

    Tried a lot of things to get the fix after a Windows 11 update and This is what worked. Thank you

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments