Thanks — that pnputil message confirms we’re facing persistent, low‑level configuration/registry corruption: the Windows setup and driver manager can’t enumerate or update the driver store because the “configuration registry database is corrupt.” At this point you have two realistic choices:
- Keep trying repairs (one more offline repair sequence I’ll give below — relatively low risk), or
- Move to a clean Windows reinstall (safer guaranteed outcome) while preserving Ubuntu — I’ll give the exact, careful steps for that as well.
Pick which path you want to try next. I recommend first attempting the offline repairs (a last attempt) only if you want to avoid a reinstall; if you prefer to stop chasing it, choose the clean reinstall path.
If you want to try another offline repair (do these from WinRE / Recovery Command Prompt)
1) Boot to WinRE (Windows install USB → Troubleshoot → Advanced options → Command Prompt).
2) Confirm drive letters:
diskpart
list vol
exit
(Confirm which letter is your Windows volume — usually C: in WinRE — and which is your backup target, I:.)
3) Run a full offline chkdsk:
chkdsk C: /f /r
- If it prompts to schedule, agree. Let it complete (this can take a while). If there are I/O errors, stop and tell me — that must be fixed first.
4) Run offline SFC and point DISM to the mounted ISO (you can mount the ISO in WinRE or copy install.wim/esd onto a USB). Example commands (replace X: with the ISO drive letter you mounted or USB letter):
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows
If that reports unfixable items, then:
If you have an ISO with install.wim:
DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:wim:X:\sources\install.wim:1 /LimitAccess
If the ISO has install.esd:
DISM /Image:C:\ /Cleanup-Image /RestoreHealth /Source:esd:X:\sources\install.esd:1 /LimitAccess
(These run against the offline image. They’re more thorough than the online form when run from WinRE.)
5) After those complete, reboot to Windows and re-run in an elevated prompt:
sfc /scannow
pnputil /enum-drivers
If pnputil still reports “registry database is corrupt,” the registry/driver metadata area is damaged beyond what DISM/SFC can patch.
If that still fails — last repair attempt: reset system ACLs + try driverstore rename (you already tried ACL fixes; if you haven’t done the WinRE DriverStore rename successfully, do that now). Steps I previously gave (robocopy to I:\DriverStore_BAK, rename FileRepository, create fresh FileRepository, set ACLs) are the standard fix. If robocopy fails to copy some files that’s OK — the rename is what unblocks Setup.
If after all offline repairs pnputil still fails, stop repairs and consider reinstall.
If you prefer to stop repairing and do a clean Windows reinstall (recommended if you want a stable result quickly)
A. Prepare (you already have Clonezilla image — excellent)
- Collect any small extra backups (Documents, Browser bookmarks, etc.) from Windows if you want. Ubuntu is unaffected if you install carefully (but I’ll give steps to avoid destroying it).
B. Make Windows 10 install USB (Media Creation Tool) or use the ISO you already downloaded.
C. Clean install procedure that preserves Ubuntu
1) Boot from Windows USB installer.
2) Choose Custom install. At the partition selection screen, select only the Windows partitions (the one currently used for Windows — typically the big NTFS partition and its small system partitions). Do NOT delete or format the Ubuntu partitions. If you’re unsure which partitions belong to Ubuntu, post your diskpart list and I’ll point which ones to avoid.
3) Let Windows install and update. After install, Windows may become the default bootloader (GRUB might be overwritten). That’s OK — we’ll restore GRUB.
D. Restore GRUB (if needed)
- Boot an Ubuntu Live USB → Open Terminal and run these commands (replace sdX and sdXY with your disk and root partition):
sudo mount /dev/sdXY /mnt # your Ubuntu root partition
sudo mount /dev/sdXZ /mnt/boot/efi # if you have a separate EFI partition (sdXZ)
sudo grub-install --boot-directory=/mnt/boot /dev/sdX
sudo chroot /mnt
sudo update-grub
exit
sudo umount /mnt/boot/efi /mnt
reboot
After this, GRUB should show entries for Linux and Windows.
E. Reinstall OEM drivers in Windows
- Use the Dell driver package you already downloaded (install chipset + storage + Realtek). If the internal NIC still doesn’t work, use a USB‑Ethernet dongle for network.
Bottom line and recommendation
- If you want one final repair attempt I’ll guide you step‑by‑step through the offline DISM/SFC and the DriverStore rename from WinRE (we can do it now). It sometimes succeeds and saves a reinstall.
- If you prefer to stop and get back to a clean system quickly, do the clean install route — I’ll provide the exact partition steps and the GRUB restore commands tailored to your disk layout so Ubuntu is preserved.
Which do you want to do right now?
- “Try offline repairs” — I’ll paste the exact WinRE commands to run (DISM/SFC + driverstore sequence) and wait for the outputs.
- “Do clean install” — I’ll give a step‑by‑step checklist for partition selection and the GRUB restore commands for your setup.
Also: absolutely take a cpffee break — you’ve earned it. Tell me which path and I’ll produce the precise commands.