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
2
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

Configure User’s Folder Redirection with Group Policy

February 3, 2023

Disable Built-in PDF Viewer in Microsoft Edge

February 3, 2023

Join a Windows Computer to an Active Directory...

February 2, 2023

Using Previous Command History in PowerShell Console

January 31, 2023

How to Install the PowerShell Active Directory Module...

January 31, 2023

Leave a Comment Cancel Reply

Categories

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

Recent Posts

  • Configure User’s Folder Redirection with Group Policy

    February 3, 2023
  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Configuring Port Forwarding in Windows
  • Installing RSAT Administration Tools on Windows 10 and 11
  • Manage Windows Updates with PSWindowsUpdate PowerShell Module
  • Start Menu or Taskbar Search Not Working in Windows 10/11
  • Get-ADUser: Find Active Directory User Info with PowerShell
  • How to Hide Installed Programs in Windows 10 and 11?
  • Adding Drivers into VMWare ESXi Installation Image
Footer Logo

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


Back To Top