Sửa Lỗi You’ll Need A New App To Open This Windowsdefender Link Windows 11

Sửa Lỗi You'll Need A New App To Open This Windowsdefender Link Windows 11

Lỗi sung đột phần mềm, hoặc bị virut ẩn xóa file chạy đi thôi, bạn cho nó chạy lại như sau:

Bước 1: Vào windows Start gõ powershell -> Run as Adminiestrator

Sau đó copy code sau bỏ vào khung chạy.

Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage 

Sau đó khởi động lại máy tính xem được chưa, chưa được áp dụng tiếp bước dưới.

Bước 2 (thực hiện khi bước 1 không thành công)

Cũng vào lại PowerShell như cũ dưới quyền admin và chạy lệnh sau để đăng ký Add-AppxPackage

Với windows 10 (chạy từng lệnh 1)

 

Add-AppxPackage -Register -DisableDevelopmentMode "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage"C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

Với windows 11 (chạy từng dòng lệnh)

Set-ExecutionPolicy Unrestricted"C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} "C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

Set-ExecutionPolicy restricted
"C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy\AppXManifest.xml"

Xong reset lại máy tinh và xem kết quả.

Leave a Reply

Your email address will not be published. Required fields are marked *