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 11 / Windows Security Won’t Open or Shows a Blank Screen on Windows 10/ 11

December 20, 2022 PowerShellWindows 10Windows 11

Windows Security Won’t Open or Shows a Blank Screen on Windows 10/ 11

Windows 10 and 11 have a built-in Microsoft Defender Antivirus (quite good, I should say) managed through the Windows Security Center. In some cases, Microsoft Defender or Security control panel stops opening and shows a white empty window instead of a dialog interface. The Security app cannot be run from the Settings menu or using the ms-settings URI quick command: ms-settings:windowsdefender. In this article, we’ll show how to fix typical issues if you cannot open the Windows Security window.

Blank Windows 10/11 Security Screen: Security at a glance

First of all, check if a third-party antivirus is installed in Windows. Microsoft Defender is automatically disabled in the Security control panel if you are using a non-Microsoft antivirus. Decide which antivirus software you want to use further, and uninstall third-party antivirus software if you are going to use Microsoft Defender.

If you see a window prompting you to select an app to open a link “You’ll need a new app to open this Windowsdefender link” when trying to start Windows Security (Windows Defender) from the Settings menu (Settings -> Update & Security -> Windows Security), make sure that the Microsoft.SecHealthUI UWP app is installed. It is the Windows DefenderSecurity UWP app that is responsible for displaying the Windows Security window.

Reset it if needed. It is described in detail in the article You’ll Need a New App to Open This WindowsDefender Link.

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

Windows SecurityL You’ll need a new app to open this Windowsdefender link

Make sure that all Microsoft Defender services are running in Windows:

  • Microsoft Defender Antivirus Service (WinDefend)
  • Windows Security Service (SecurityHealthService)
  • Security Center (wscsvc)

You can view a list of Microsoft Defender services using services.msc snap-in or with Get-Service PowerShell cmdlet:

get-service WinDefend, SecurityHealthService, wscsvc | select name,status,starttype

check windows security services in windows using powershell

If the services are disabled, change their startup type to Automatic, and restart your computer.

Windows Defender Firewall (mpssvc), Microsoft Defender Antivirus Network Inspection Service (WdNisSvc), and Windows Defender Advanced Threat Protection Service (Sense) are not required for the Security Center panel to work.

You may see the “Threat service has stopped. Restart it now” message in Windows Security. To fix this Defender error, follow this guide.

Microsoft Defender is automatically disabled in Windows 10 or 11 if a third-party antivirus is installed on your device. If there is no third-party antivirus and Microsoft Defender is disabled, somebody has made much effort to disable it.

To completely disable Microsoft Defender in Windows 11, you must disable Defender services in the safe mode through the registry and edit permissions to the registry keys.

In Windows 10 2004 and newer (including Windows 11), you cannot just disable Microsoft Defender using:

  • DisableAntiVirus=1 and DisableAntiSpyware = 1 (HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender) registry parameters;
  • Or the Turn off Microsoft Defender Antivirus GPO option under Computer Configuration -> Administrative Templates -> Windows Components -> Microsoft Defender Antivirus.

In order to disable Microsoft Defender, you will have to disable Microsoft Defender Tamper Protection feature in Windows Security settings.

windows security tamper protection on windows 11

You can check if Defender antivirus tamper protection is disabled using PowerShell:

Get-MpComputerStatus | select IsTamperProtected

check IsTamperProtected option using PowerShell

In this example, the value is IsTamperProtected=True, which means that Windows Security prevents Microsoft Defender from being disabled.

In earlier Windows 10 versions, check the value of the local GPO parameter specified above using gpedit.msc (the option must be set to Not configured or Disabled) or with PowerShell:

Get-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Name DisableAntiSpyware
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender' -Name DisableAntiVirus

If the command returns the value 1, it means that Microsoft Defender is disabled. Remove the registry parameter or change its value to 0 to enable the Microsoft Defender.

Check and install the latest updates (Windows Settings -> Update & Security -> Windows Update -> Check for updates or install Windows updates using PowerShell).

If nothing helped, check and repair your Windows image using the following commands:

sfc /scannow

and

DISM /Online /Cleanup-Image /RestoreHealth

The instructions from this article will help you to restore the Windows Security operation.

0 comment
2
Facebook Twitter Google + Pinterest
previous post
How to Manually Install Windows Updates from CAB and MSU Files
next post
Create Organizational Units (OU) Structure in Active Directory with PowerShell

Related Reading

How to Connect VPN Before Windows Logon

November 14, 2023

Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

November 7, 2023

Send Emails with Microsoft Graph API and PowerShell

November 6, 2023

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 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

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • 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

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