Solved Component Based Servicing missing subkeys, no hope for restore...

  • Thread starter Deleted member 32792
  • Start date

D

Deleted member 32792

Guest
Hello,
I asked for some help for general updates error in my previous post. Basically I found out that my Component Based Servicing in the registry is heavily damaged, some subkeys are completely missing. This is a *VERY* important setup and I've been told it's not recoverable so I am feeling very very bad at the moment. Clean install on something like this would be highly destructive so I wanna avoid that at all costs. The machine is working correctly but not updating. Even in-place repair fails.

I will attach an image of the registry and what it's missing from Component Based Servicing (ComponentDetect and Packages subkeys).

Please tell me there's a way to recover this...
Also what would happen if I installed the SAME build on another machine and then copied these exact registry keys?

Many thanks in advance
 
Windows Build/Version
26100.994

Attachments

  • Immagine 2024-07-12 175552.jpg
    Immagine 2024-07-12 175552.jpg
    18.5 KB · Views: 1

My Computer

Hello,
I asked for some help for general updates error in my previous post. Basically I found out that my Component Based Servicing in the registry is heavily damaged, some subkeys are completely missing. This is a *VERY* important setup and I've been told it's not recoverable so I am feeling very very bad at the moment. Clean install on something like this would be highly destructive so I wanna avoid that at all costs. The machine is working correctly but not updating. Even in-place repair fails.

I will attach an image of the registry and what it's missing from Component Based Servicing (ComponentDetect and Packages subkeys).

Please tell me there's a way to recover this...
Also what would happen if I installed the SAME build on another machine and then copied these exact registry keys?

Many thanks in advance
This hive branch is per system-basis and is not transferrable. (HKEY_LOCAL_MACHINE)
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect
Restore your *VERY* important setup with one of your backups.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 22631.4037
    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

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
I can't since it returns me an error, it's not easy this time
This is a long shot and is unproven, to be performed on the same machine.

1- Install image backup software on the non-OS partition.
2- Perform image backup- & save on the non-OS partition.
3- Do a clean Windows Installation (matching the current version you have with updates).
4- Reg out the missing/corrupted hive and save it on the non-OS partition.
5- Restore image saved in step 2.
6- Merge .reg from step 4.
7- Restart system and hope for the best.
8- No guarantee/untested.
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
This is a long shot and is unproven, to be performed on the same machine.

1- Install image backup software on the non-OS partition.
2- Perform image backup- & save on the non-OS partition.
3- Do a clean Windows Installation (matching the current version you have with updates).
4- Reg out the missing/corrupted hive and save it on the non-OS partition.
5- Restore image saved in step 2.
6- Merge .reg from step 4.
7- Restart system and hope for the best.
8- No guarantee/untested.
Okay after some hours of big headaches I actually did something.

I followed a solution stated on here, which appears to describe exactly what happened to me, and something happened, don't know if good or bad. I basically re-populated the hive. I was missing Packages SubKey and ComponentDetect SubKey (speaking about Component Based Servicing Registry Key). Now optionalfeatures.exe does not show anymore a blank page but instead works correctly.

Now DISM /Online /Get-Packages correctly returns installed packages! (We might be in a recoverable state??) But Windows update still throws up errors.

SFC /Scannow does not fail and gets to the end.

Just to be sure I am in a fresh state (don't know if it was a good idea) I also restored with the same procedure the PackageIndex SubKey.

Now things changed, Windows Update throws 0x80070002 (don't know if it's better or not), and DISM seems to work a lot on 62.3% (I think it's the percentage where it tries to download stuff from Windows update), but sadly it fails. I mean, it's something. When my Hive was completely destroyed, DISM did not report anything, at least now I am getting an error, maybe someone looking at logs (CBS and DISM) might be able to recover this at this point, I think we might have moved to a recoverable state, but can't assure.

Little EDIT: Now DISM instead of throwing an error, simply appears to hang forever at 62.3% (before restoring also PackageIndex I had an error)

Maybe now we are at a point where an in-place repair could save this, I don't know. Now it's very late and I don't have time to try it, but rest assured I will try tomorrow and in case, report back.

As a final note, I am very very sorry about stressing on this, I know I shouldn't have used an insider build on such an important setup. Mistakes happen. My backup software also betrayed me, since I didn't notice since 1 month ago decided to randomly excluded the C: partition (wrong timing eh). This build has a lot of years to work so I have to do anything I can (even things never tried before) in order to at least trying to save this. Thanks to anyone that is willing to help or just bring some ideas.
 

Attachments

  • Logs.zip
    393.7 KB · Views: 0

My Computer

Hello,
I am glad to announce, I just saved my 7 year old build where everyone told me to give up and that there was no possibility ;-)

My beloved savior is that guy from the link I posted above. I basically repopulated the Hive exporting keys from a working ISO, SAME build and then things as packages started to show up.

This morning I SUCCESSFULLY performed an in-place upgrade to the latest version! Now everything should be fresh and infact Windows Update does not complain anymore. Everything is installed and up-to date.

If there are some operations you still want to suggest me after what I did, please go ahead. However I think that after an in-place upgrade everything should be fresh and working.

Remember guys, NEVER lose hope and never give up if your build is very important.

Now I will go and make sure my Backup Software this time includes the C: partition xD

Thanks for anyone who helped me, and if in some years someone will be stuck in this situation and sees this post, feel free to hit me up.

Have a wonderful day
 

My Computer

Hello,
I am glad to announce, I just saved my 7 year old build where everyone told me to give up and that there was no possibility ;-)

My beloved savior is that guy from the link I posted above. I basically repopulated the Hive exporting keys from a working ISO, SAME build and then things as packages started to show up.
Glad I was able to help and I am happy for you. (y)
Savior might be an overstatement though, but thank you.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
Glad I was able to help and I am happy for you. (y)
Savior might be an overstatement though, but thank you.
Ahah, no worries, the important thing is that everything was sorted out!

I just have a little question now, I have 3 language packs Italian (main), english and Japanese. Before restoring I saw in the Hive that some packages had their copy in en-US, ja-JA and now I have just the it-IT ones. Is this bad and I should reinstall those language packs just to be safe or the in place-upgrade is more than enough to feel safe? Thanks
 

My Computer

Ahah, no worries, the important thing is that everything was sorted out!

I just have a little question now, I have 3 language packs Italian (main), english and Japanese. Before restoring I saw in the Hive that some packages had their copy in en-US, ja-JA and now I have just the it-IT ones. Is this bad and I should reinstall those language packs just to be safe or the in place-upgrade is more than enough to feel safe? Thanks
A successful in-place upgrade is usually a sign that your system is healthy.
The language packs can be installed at any point when needed, it is not crucial for the full recovery.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
Hey Deleted member 32792,

Showing gratitude is important in online communities. Use the "like" button to appreciate helpful content. This motivates people to keep sharing knowledge. A "like" gives 1 point, "Helpful" gives 5 points, and "Great support" gives 10 points for exceptional help.

Back
Top Bottom