Worked like a charm for me, thank you!
"You'll need a new app to open this windowsdefender link" fix
Hi this post is to help people with windows 10 and 11 windows security not working
On windows 11 do this
- launch powershell as an admin
- Set-ExecutionPolicy Unrestricted
- Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
- Set-ExecutionPolicy restricted
IGNORE THE ERRORS
on windows 10 do this
- launch powershell as an admin}
- run get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
- if it doesn't work do this
4) run Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml" - 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.
98 answers
Sort by: Newest
-
Anonymous
2022-05-24T11:19:02+00:00 -
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...
-
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.
-
Anonymous
2022-05-17T07:20:48+00:00 Tripp - this is what I see on Win11 when I start the procedure:
PS C:\WINDOWS\system32> Set-ExecutionPolicy Unrestricted
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
you to the security risks described in the about_Execution_Policies help topic at
https:/go.microsoft.com/fwlink/?LinkID=135170. Do you want to change the execution policy?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"):
I assume that I should reply Y or A, but would appreciate it if you could provide a complete answer for us dummies who want to make sure that we don't mess anything up trying to fix this bug.
Thanks!
-
Anonymous
2022-05-17T02:05:06+00:00 this worked, thanks