Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • 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 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

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

October 15, 2023

How to Query and Change Teams User Presence...

October 8, 2023

How to Use Ansible to Manage Windows Machines

September 25, 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

  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023
  • How to Use Ansible to Manage Windows Machines

    September 25, 2023
  • Installing Language Pack in Windows 10/11 with PowerShell

    September 15, 2023
  • Configure Email Forwarding for Mailbox on Exchange Server/Microsoft 365

    September 14, 2023
  • How to View and Change BIOS (UEFI) Settings with PowerShell

    September 13, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Fix: Remote Desktop Licensing Mode is not Configured
  • Manage Windows Updates with PSWindowsUpdate PowerShell Module
  • Configuring Port Forwarding in Windows
  • Start Menu or Taskbar Search Not Working in Windows 10/11
  • How to Install Remote Server Administration Tools (RSAT) on Windows
  • How to Delete Old User Profiles in Windows
  • Get-ADUser: Find Active Directory User Info with PowerShell
Footer Logo

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


Back To Top