본문 바로가기
컴퓨터

이 windowsdefender 링크를 열려면 새 앱이 필요합니다

by 바퀴 굴리는 프로그래머 2022. 2. 14.
반응형

최근 Windows 10에서 Windows 11로 업데이트 후 제목과 같은 에러가 발생하면서 Windows 보안 설정을 실행시킬 수 없었다. 

오류 이미지
윈도우 버전은 21H2(OS 빌드 22000.493)

 

기존에 알려진 관리자모드에서의 PowerShell 명령을 입력했으나, 아래와 같은 에러가 발생하면서 초기화를 할 수 없는 상태...

PS C:\WINDOWS\system32>Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
"Reset-AppxPackage : Package was not found.
Windows cannot remove Microsoft.SecHealthUI_ 1000.22000.1.0_ neutral__ 8wekyb3d8bbwe because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.
At line:1 char:51
+ Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Reset-AppxPackage], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.Windows.Appx.PackageManager.Commands.ResetAppxPackageCommand"

 

구글링을 통해 아래의 링크를 발견하고 적합한 명령을 찾아내서 해결했다.

 

Windows 11 Windows Defender Issue

Hi I have an issue with Defender where in every time I open it, it routes me to "You need a new app to open this" I have tried entering the "Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage" on powershell (run as administrator) but its

techcommunity.microsoft.com

 

아래의 명령을 PowerShell 관리자 모드에서 입력하면 해결된다.

PS C:\WINDOWS\system32>Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register $($_.InstallLocation)\AppXManifest.xml”}

해결 완료

 

반응형