Privacy and Security Reset Windows Security app in Windows 11


  • Staff
Windows_Security_banner.png

Windows Security is built-in to Windows 11 and includes an antivirus program called Microsoft Defender Antivirus. Your device will be actively protected from the moment you start Windows 11. Windows Security continually scans for malware (malicious software), viruses, and security threats. In addition to this real-time protection, updates are downloaded automatically to help keep your device safe and protect it from threats.

Windows Security is your home to view and manage the security and health of your device.

If Windows Security is crashing or not opening, you can reset the Windows Security app to hopefully fix it.

This tutorial will show you how to reset the Windows Security app for your account or all users in Windows 11.


Contents

  • Option One: Reset Windows Security app for Current User in Settings
  • Option Two: Reset Windows Security app for Current User in PowerShell
  • Option Three: Reset Windows Security app for All Users in PowerShell


EXAMPLE: Windows Security

Windows_Security.png





Option One

Reset Windows Security app for Current User in Settings


1 Open Settings (Win+I). (see screenshot below)

2 Click/tap on Apps on the left side, and click/tap on Apps & features or Installed apps on the right side. (see screenshot below)


Reset_Windows_Security_in_Settings-1.png

3 Click/tap on the 3 dots button for the Windows Security app, and click/tap on Advanced options. (see screenshot below)

Reset_Windows_Security_in_Settings-2.png

4 Click/tap on Reset. (see screenshot below)

Reset_Windows_Security_in_Settings-3.png

5 Click/tap on Reset to confirm. (see screenshot below)

Reset_Windows_Security_in_Settings-4.png

6 You will now see a checkmark to the right of the Reset button indicating the Windows Security app has been successfully reset to default. (see screenshot below)

Reset_Windows_Security_in_Settings-5.png

7 You can now close Settings if you like.




Option Two

Reset Windows Security app for Current User in PowerShell


1 Open Windows Terminal, and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below)

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

3 You can now close Windows Terminal if you like.

Reset_Windows_Security_in_PowerShell.png





Option Three

Reset Windows Security app for All Users in PowerShell


You must be signed in as an administrator to use this option.


1 Open Windows Terminal (Admin), and select Windows PowerShell.

2 Copy and paste the command below into PowerShell, and press Enter. (see screenshot below)

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

3 You can now close Windows Terminal (Admin) if you like.

Reset_Windows_Security_all_users_in_PowerShell.png



That's it,
Shawn Brink


 

Attachments

  • Windows_Security.png
    Windows_Security.png
    6 KB · Views: 21
Last edited:

cereberus

Well-known member
Pro User
VIP
Local time
3:36 PM
Posts
2,546
OS
Windows 10 Pro + others in VHDs
Just tried the powershell command for option 3 with Dev version and it does not work.

It worked for option 2.

1658649459730.png
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Brink

Administrator
Staff member
MVP
Thread Starter
Local time
9:36 AM
Posts
5,649
OS
Windows 11 Pro for Workstations
Just tried the powershell command for option 3 with Dev version and it does not work.

It worked for option 2.

Hello mate, :-)

It looks like you may have double clicked the code line from option 2 to copy it instead of a single click or manually highlight the code.

Double clicking to highlight the line like that usually causes an error like this for commands.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 980 PRO M.2,
    1TB Samsung 970 EVO Plus M.2,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Motorola MB8611 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S20 Ultra 5G phone
  • Operating System
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1
    CPU
    i7-1065G7 3.9 GHz
    Memory
    16 GB LPDDR4-3200
    Graphics card(s)
    Intel Iris Plus
    Sound Card
    Intel SST
    Monitor(s) Displays
    13.3" 4K UWVA AMOLED multitouch
    Screen Resolution
    3840 x 2160
    Hard Drives
    512 GB PCIe NVMe M.2 SSD
    Browser
    Google Chrome
    Antivirus
    Windows Defender and Malwarebytes Premium
Top Bottom