KB5007651 won't install. Windows Security Service won't start.


sniperfox47

Member
Local time
7:50 AM
Posts
9
OS
Windows 11 Pro
Having a weird issue with my machine and am hoping someone here might be able to assist. I have Windows 11 Pro but am having issues with opening the Security Center to get access to Windows Security Center GUI (it runs fine from Command line).

Looking into my services, I see that Windows Security Service is not started. It's my understanding that that's part of the stack the GUI center uses, so I imagine this is likely related but there's no errors when running the service manually. It just runs and immediately stops.

Additionally every time I run Windows update, KB5007651 redownloads and never shows successfully installed on my machine. I'm not sure if that's related, but thought I should mention it.

So far at the recommendation of people on the microsoft forums, I have run an SFC and DISM repair, run the Windows Update troubleshooter, installed KB5007651 manually, and even done a repair install of Windows 11 all without fixing it. None of these have fixed the problem.

I have also done an offline defender scan, a scan with malwarebytes, and an offline scan with the tools from hirens boot cd to rule out rootkits or other malware that could be intentionally breaking Windows Defender.

At a bit of a loss here, so if anyone from the community could offer some assistance it would be greatly appreciated!
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
You can also perform in-place upgrade of Windows 11. In-place upgrade is to use to replace the current operating system files on your computer. Unlike a clean installation of Windows, you can start a Windows in-place upgrade when your OS is still running. And an in-place upgrade can keep your files, settings, & apps during the upgrade process. You can perform a Windows 11 in-place upgrade is to use the Windows 11 Media Creation Tool. Make sure to select Upgrade this PC now and click Next. Follow the on-screen guide to perform a Windows 11 in-place upgrade.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Thanks FreeBooter!

I have already done that in the past week, both through windows update, as well as manually with a Windows 11 install usb. In both cases, the issue was not resolved.

Did it again this morning through Windows update the way you suggested, but still in the same state.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
I looked at my Updates and that section only goes back to early May, doesn't show it. Looking in the Windows Update Catalog shows the KB in question is older. If I had the problem I'd go with what FreeBooter said.

1718729604774.png
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 2TB WDC HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
Thanks @Berton , confirming again that I've done those steps and am still unable to load the Security Center. It just hangs on the splash screen when trying to open even after the repair install of Windows.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
You could try deleting the register key's if any excist:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
Then reboot, and see if it loads ok
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
Try different user account to see problem resolves.

If the Windows Security app doesn't open, is crashing, or doesn't work properly, you can reset it to try to fix the Windows Security app.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Try different user account to see problem resolves.

If the Windows Security app doesn't open, is crashing, or doesn't work properly, you can reset it to try to fix the Windows Security app.

Different user accounts see the same issue.

Did a reset of the app. No success restoring it.

Also tried re-registering the app in powershell, did not help. Same results.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
Can you open the Security Center when you do is it blank?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Opening the app results in a window opening, yes. It is a blank window with the blue shield logo (splash screen) present. It hangs on that screen for several minutes before automatically closing.
1718826909789.png
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
From PowerShell open as admin execute below command one at a time.


Code:
Dism /Online /Cleanup-image /Restorehealth


Sfc /Scannow


regsvr32 jscript                 


regsvr32  vbscript


Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Mentioned in my OP that I already ran these commands, but to be safe I ran each of those commands in the order you shared and rebooted.

The operation completed successfully.
Windows Resource Protection did not find any integrity violations.
Both Register Servers succeeded
Registering the packages resulted in a few red packages, but the re-registration completed without issue.

After the reboot issue is still present and security center won't open.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
Okay, try the registry key and reboot your system to see the problem fix.
 

Attachments

  • SecurityHealthService.reg
    6.8 KB · Views: 4

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Applied the registry fix you supplied, and it did something but didn't resolve the issue. I've gone from it hanging on the splash screen and then dying, to just a black screen. It's run on that black screen for the past hour now without closing. So that's an... improvement... I guess...?

Really appreciate the help and support. Any other ideas on things to try?

1718930394315.png
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
Sadly, i don't have anymore ideas.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
You can perform a clean install OR a custom install. I'm sure you know what a clean install is, but Read this tutorial that explains how a custom install is different.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3880
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 nvme+256gb SKHynix m.2 nvme /External +512gb Samsung m.2 sata+1tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
You can perform a clean install OR a custom install. I'm sure you know what a clean install is, but Read this tutorial that explains how a custom install is different.

Thanks glasskuter. This is different from a repair install in that it's a fresh install of windows right, as in lose all registry and installed application references?

Was trying to find a fix that doesn't involve an entire fresh install of Windows since I have quite a few legacy applications that I no longer have install mediums for. Have been starting the process of backing all of the registry keys and install references manually to move over by hand but it's a very large job, hence the hopes I could repair the current install.

Do you happen to know of any tools or methods to easily back up some of this in bulk in a way that's easy to grab out and stick back in on the new install?

Appreciate the suggestion, I probably will move forward with this, but it'll probably be a few weeks of backing stuff up in the evenings after work before I can action this. When I do will try to remember to report back to give this thread some closure.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal
So far at the recommendation of people on the microsoft forums, I have run an SFC and DISM repair, run the Windows Update troubleshooter, installed KB5007651 manually, and even done a repair install of Windows 11 all without fixing it. None of these have fixed the problem.

Please post a link.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.3880
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900 10 core 20 threads
    Motherboard
    DELL 0J37VM
    Memory
    32 gb
    Graphics Card(s)
    none-Intel UHD Graphics 630
    Sound Card
    Integrated Realtek
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    1tb Solidigm m.2 nvme+256gb SKHynix m.2 nvme /External +512gb Samsung m.2 sata+1tb Kingston m2.nvme
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Internet Speed
    so slow I'm too embarrassed to tell
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 22H2 19045.3930
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell factory
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Internet Speed
    still not telling
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
Please post a link.
I'm sorry, I do not have a link at this point.
sorry @sniperfox47 You can stop wasting your time trying to copy application files and registry entries. Applications can not be installed that way.
I'm not sure what you mean. You literally can for any Win32 app. Some are harder than others, but none are that difficult if you have the files and registries to copy from another system. It's time consuming, but not difficult...

The typical installer file on Windows does a handful of things, all of which can be done by hand:
  • Extract and copy files to various directories
  • Sets file permissions
  • Registers Services
  • Insert values into various system databases, most commonly the registry store
  • Register system components
  • Run other installers for dependencies (i.e. redistributables)
If you don't care about the ability to uninstall the package some of this isn't even needed.

Literally everything a windows installer does with the official APIs is documented here: Using Windows Installer - Win32 apps
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    Ryzen 7 5800X
    Motherboard
    Asus TUF Gaming X570-Plus Wifi
    Memory
    64GB
    Graphics Card(s)
    Titan X Pascal

Latest Tutorials

Back
Top Bottom