Solved How do I restore Windows Defender?


I’m sure there is a reason that you may have mentioned why you can’t. But It’s my personal opinion it’s time you did a totally fresh install of Windows. It sounds like a Cluster Duck.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8894Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8894
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8894 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8894 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8894 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
You probably can't change any settings if Tamper Protection is enabled. This prevents "unauthorized" changes even if you're TI.

Boot into Safe Mode, and try again after disabling the Defender services.
Just rebooted in safe mode. There Windows Defender is still running and there is no way to stop it.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
No the point is you wanted to re-import the Defender settings. If Tamper Protection is enabled, Defender protects the registry from Defender reg changes. So you have to disable Defender to change Defender...

Tamper Protection works on the kernel level, above anything TI (PowerRun or whatever can do).
No, my only desire was to import defender service key so it to run. If it is already running (restored by the Security service) there is no point.

The current issue is that the package Microsoft.SecHealthUI_1000.27703.1006.0_x64__8wekyb3d8bbwe.appx when I install it does not create C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy folder, which seems wrong. First time it worked well.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Did the C:\Windows\SystemApps\Microsoft.Windows.SecHealthUI_cw5n1h2txyewy folder disappear?
So, I rolled the system back, now it seems, no Defender or Security Health Service are running. When I install the appx package, the folder Microsoft.SecHealthUI_1000.27703.1006.0_x64__8wekyb3d8bbwe.appx is still not created... Why?
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Sorry, it's "\Program Files\WindowsApps" for SecHealthUI.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Sorry, it's "\Program Files\WindowsApps" for SecHealthUI.
Ah. So, the problem is simple: blank screen unlike the first time when it worked.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
To sum it up:

1. The first time it worked:
* I did it before the update to the recent patches
* I ran appx package, it installed
* Then I run RunAsTI, imported Defender service reg settings, they imported successfully
* Then I enabled services SecurityHealthService and SecurityHost.
* The app started and worked.

2. Now:
* I cannot roll back before the update for the last 7 months, but can roll back to when Defender and SecurityHealth are disabled
* I run the appx package, it seemingly installs
* Then I run RunAsTI to import Defender service settings, but it reports access rights violation and does not import, even though the Defender service is not running. After this, UAC starts to pop up everywhere (UAC was at lowest level, that is, only UAC icons on buttons, but becomes above the lowest)
* Then I enable SecurityHealthService and SecurityHost.
* After they are enabled, over some time Defender starts as well, and its service registry entry automatically appears.
* The Windows Security app is still blank, even though all the 3 services are running.
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Your OS version is simply Windows 11. That tells us nothing to help you.
If you really want help, then you need to tell us more about your computer and what version you started with when it was bought or when you acquired it.

You don't need to start new topics on this same subject!
 

My Computers My Computers

  • At a glance

    Windows 11 Home 25H2 26200.8875AMD Ryzen 3 5300G8gbRadeon Graphics 4.00GHZ
    OS
    Windows 11 Home 25H2 26200.8875
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion TP01-2xxx
    CPU
    AMD Ryzen 3 5300G
    Memory
    8gb
    Graphics Card(s)
    Radeon Graphics 4.00GHZ
    Monitor(s) Displays
    ViewSonic
    Keyboard
    HP
    Mouse
    wireless Microsoft
    Browser
    FireFox
    Antivirus
    Avira
  • At a glance

    Updated Windows 10 to 11 25H2 26200.8875Intel Core i3 8100 @3.60 GHz8.GBIntel UHD 360 (HP)
    Operating System
    Updated Windows 10 to 11 25H2 26200.8875
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
    CPU
    Intel Core i3 8100 @3.60 GHz
    Motherboard
    HP 8653 (U3E1)
    Memory
    8.GB
    Graphics card(s)
    Intel UHD 360 (HP)
    Sound Card
    Realtek High Def
    Monitor(s) Displays
    ViewSonic
    Other Info
    #3 System: HP laptop Windows 25H2 11Pro 26200.8524
  • HP Omni laptop Windows 11 home
    11 25H2 26200.8737
    Intel Core 5 120U
Your OS version is simply Windows 11. That tells us nothing to help you.
If you really want help, then you need to tell us more about your computer and what version you started with when it was bought or when you acquired it.

You don't need to start new topics on this same subject!
In the first post I said: Win11 23H2.

Build number is 4890 (after update). When the topic was created, the build number was around 3500
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
To sum it up:

1. The first time it worked:
* I did it before the update to the recent patches
* I ran appx package, it installed
* Then I run RunAsTI, imported Defender service reg settings, they imported successfully
* Then I enabled services SecurityHealthService and SecurityHost.
* The app started and worked.

2. Now:
* I cannot roll back before the update for the last 7 months, but can roll back to when Defender and SecurityHealth are disabled
* I run the appx package, it seemingly installs
* Then I run RunAsTI to import Defender service settings, but it reports access rights violation and does not import, even though the Defender service is not running. After this, UAC starts to pop up everywhere (UAC was at lowest level, that is, only UAC icons on buttons, but becomes above the lowest)
* Then I enable SecurityHealthService and SecurityHost.
* After they are enabled, over some time Defender starts as well, and its service registry entry automatically appears.
* The Windows Security app is still blank, even though all the 3 services are running.
Hi, I know this is an old thread but I registered just to leave a solution to this problem that took me hours to solve.

I managed to reboot to Safe Mode through the msconfig.
From there I was able to run regedit.exe using Sordum's PowRun tool and imported the registry which in my case is "w11-windefend.reg."
After rebooting, the blank window should be fixed.
 

My Computer My Computer

At a glance

Windows 11 23H2 22631.7079
OS
Windows 11 23H2 22631.7079
Computer type
Laptop
Manufacturer/Model
Legion Y7000P
Back
Top Bottom