cannot find the path
"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: Most helpful
-
Anonymous
2023-11-02T11:40:30+00:00 -
Anonymous
2023-10-31T14:14:25+00:00 for windows 11 users:
try this command :
Add-AppxPackage -Register -DisableDevelopmentMode "C:\program files\windowsapps\Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe\appxmanifest.xml"
I get this response:
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.error 0x800706D9: While processing the request, the system failed to register the windows.firewall extension due to
the following error: There are no more endpoints available from the endpoint mapper. -
Anonymous
2023-10-29T12:59:23+00:00 get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
The term 'Reset-AppxPackage' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:51
- get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
-
~~~~~~~~~~~~~~~~~- CategoryInfo : ObjectNotFound: (Reset-AppxPackage:String) [], CommandNotFoundException
- FullyQualifiedErrorId : CommandNotFoundException
Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor.
Windows cannot install package Microsoft.Windows.SecHealthUI_10.0.19041.3570_neutral__cw5n1h2txyewy because the
package is currently paused. The package must be Staged in order to proceed.
NOTE: For additional information, look for [ActivityId] e738b377-09b6-0000-b4b5-48e7b609da01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID e738b377-09b6-0000-b4b5-48e7b609da01
At line:3 char:1
- Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemA ...
-
+ CategoryInfo : WriteError: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more