Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / Fix: You’ll Need a New App to Open This Windows Defender Link

April 27, 2022 PowerShellWindows 10Windows 11

Fix: You’ll Need a New App to Open This Windows Defender Link

Sometimes you may see that the Windows Security settings window not opening in Windows 10 or 11. When trying to open Windows Security (Windows Defender) from the Settings menu (Settings -> Update & Security -> Windows Security), tray, or search, a window appears that prompts you to select an app to open the Windowsdefender link:

You’ll need a new app to open this Windowsdefender link
Look for an app in the Microsoft Store

Windows 10 error when opening Windows Security: You’ll need a new app to open this Windowsdefender link

The problem is caused by a corrupted or missing built-in Windows Security UWP app. Microsoft Store in this case cannot find the app on your computer to open the link.

This Windows Security problem may appear:

  • After uninstalling a third-party antivirus software;
  • After removing all built-in UWP/APPX apps in Windows;
  • Due to errors in recently installed security updates.

First of all, try to reset the Windows Security app settings. Open the PowerShell console as administrator and run the command below:

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

reset Windows Security app (Microsoft.SecHealthUI) with powershell

The command may return that Microsoft.SecHealthUI is not found:

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.

Microsoft.SecHealthUI package is not installed

Make sure that the folder with Windows Security application exists on your disk:

Get-ChildItem 'C:\Windows\SystemApps'|where-object {$_.Name -like "*SecHealth*"}

check for SecHealthUI app folder in windows 10/11

As you can see, the Windows Security app is located in C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy. Make sure that the folder exists on the disk, you have NTFS permissions to access it, and there is an app manifest file (AppxManifest.xml) in the folder.

check for Microsoft.Windows.SecHealthUI appmanifest.xml

Re-register Microsoft.Windows.SecHealthUI in the Microsoft Store using the following PowerShell command:

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

Then try to open the Windows Security settings window from the Settings menu.

If the Settings app in Windows crashes/does not open, you can reset it as well.

If there is no folder with the app, you may try to restore it from the Windows component repository using the DISM and SFC commands:

sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth

You cannot download Microsoft.Windows.SecHealthUI as an APPX file from Microsoft Store (unlike the Microsoft.WindowsStore appxbundle app you can download and re-install manually).

If the “Threat service has stopped. Restart it now” error appears when you try to run the Microsoft Defender Antivirus, fix it by following these instructions.

0 comment
0
Facebook Twitter Google + Pinterest
previous post
How to Reset an Active Directory User Password with PowerShell and ADUC?
next post
Enable or Disable MFA for Users in Azure/Microsoft 365

Related Reading

Create Organizational Units (OU) Structure in Active Directory...

May 17, 2022

Windows Security Won’t Open or Shows a Blank...

May 17, 2022

How to Manually Install Windows Updates from CAB...

May 16, 2022

RDS and RemoteApp Performance Issues on Windows Server...

May 16, 2022

Enable or Disable MFA for Users in Azure/Microsoft...

April 27, 2022

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows 7
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012 R2
  • PowerShell
  • VMWare
  • Hyper-V
  • MS Office

Recent Posts

  • Create Organizational Units (OU) Structure in Active Directory with PowerShell

    May 17, 2022
  • Windows Security Won’t Open or Shows a Blank Screen on Windows 10/ 11

    May 17, 2022
  • How to Manually Install Windows Updates from CAB and MSU Files?

    May 16, 2022
  • RDS and RemoteApp Performance Issues on Windows Server 2019/2016

    May 16, 2022
  • Deploying Software (MSI Packages) Using Group Policy

    May 12, 2022
  • Updating VMware ESXi Host from the Command Line

    May 11, 2022
  • Enable or Disable MFA for Users in Azure/Microsoft 365

    April 27, 2022
  • Fix: You’ll Need a New App to Open This Windows Defender Link

    April 27, 2022
  • How to Reset an Active Directory User Password with PowerShell and ADUC?

    April 27, 2022
  • How to Completely Uninstall Previous Versions of Office with Removal Scripts?

    April 26, 2022

Follow us

woshub.com

ad

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Installing RSAT Administration Tools on Windows 10 and 11
  • Get-ADUser: Find Active Directory User Info with PowerShell
  • How to Hide Installed Programs in Windows 10 and 11?
  • Manage Windows Updates with PSWindowsUpdate PowerShell Module
  • Tracking and Analyzing Remote Desktop Connection Logs in Windows
  • PowerShell: Get Folder Sizes on Disk in Windows
  • How to Automatically Fill the Computer Description in Active Directory?
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top