Hello,
I'm contacting you because I'm at a loss, and despite my knowledge of computers/Windows, I've run out of solutions...
The problem began this morning, when I tried to install the 24H2 update using the Installation Assistant, as my computer is fully compatible.
Except that after a while during installation: error 0x80070002.
So I tried to launch via the Windows ISO: setup.exe wouldn't launch, nothing happened.
After checking “C:\Windows\Logs\MoSetup\BlueBox.log”, the same error:
And via the Setup Assistant, I also got this error instead :
I tried most of the repair commands :
I even tried via the ISO I had:
But nothing worked... still the same error...
I tried this script, which contains all commands for repairing Windows Update:
Same thing, nothing works...
I've tried in Settings > System > Recovery > Reinstall Now: it does download a repair version in Windows Update, but it fails at 8% with error 0x80070002 again.
I've tried “Reset this PC”, but I get “Recovery environment not found”.
Honestly, I've tried everything... I don't know what to do...
The problem is that it's a Cloud PC, so I don't have control over the BIOS, or the ability to launch with a USB key.
And as I have a lot of software, configurations, etc., I really don't want to reinstall the whole PC, despite the fact that this is surely the quickest and simplest solution. I'd really like to repair, reset without losing at least the files/software.
I'm now with Windows 11 23H2 (22635.4300).
And apparently, several people in certain forums have already had this error 0x8007000..
Thank you very much!
Hoping for a solution...
I'm contacting you because I'm at a loss, and despite my knowledge of computers/Windows, I've run out of solutions...
The problem began this morning, when I tried to install the 24H2 update using the Installation Assistant, as my computer is fully compatible.
Except that after a while during installation: error 0x80070002.
So I tried to launch via the Windows ISO: setup.exe wouldn't launch, nothing happened.
After checking “C:\Windows\Logs\MoSetup\BlueBox.log”, the same error:
Code:
2024-10-07 23:51:29: Creating path (with ACL): [C:\$WINDOWS.~BT]...
2024-10-07 23:51:29: Creating path: [C:\$WINDOWS.~BT\Sources]...
2024-10-07 23:51:29: ScenarioCtrlHelpers::SetStateInRegistry: Setting Current Scenario: [0x1]...
2024-10-07 23:51:29: ScenarioCtrlHelpers::SetStateInRegistry: Setting Install mode...
2024-10-07 23:51:29: ScenarioCtrlHelpers::GenerateBoxHash: Calculating file hash...
2024-10-07 23:51:30: Launching process: [C:\$WINDOWS.~BT\Sources\SetupHost.exe] with command-line [/Install /Media /InstallFile “E:\Sources\Install.wim” /MediaPath “E:”] in Session: [-1]
2024-10-07 23:51:30: Launching: [C:\$WINDOWS.~BT\Sources\SetupHost.exe] [/Install /Media /InstallFile “E:\Sources\Install.wim” /MediaPath “E:”] from []!
2024-10-07 23:51:30: LaunchProcessInSession: Error = 0x80070002
2024-10-07 23:51:30: LaunchProcessInSession returned: [0x80070002]
2024-10-07 23:51:30: Checking cleanup registry value...
2024-10-07 23:51:30: Cleanup value missing... assuming no cleanup.
2024-10-07 23:51:30: Skipping cleanup.
2024-10-07 23:51:30: MainHr: Error = 0x80070002
2024-10-07 23:51:30: wWinMain: Error = 0x80070002
And via the Setup Assistant, I also got this error instead :
Code:
SetupHost process returned: [0x80070002], but SetupHostResult registry key was missing.
I tried most of the repair commands :
Code:
sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
I even tried via the ISO I had:
Code:
DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.wim
But nothing worked... still the same error...
I tried this script, which contains all commands for repairing Windows Update:
Code:
Write-Host “1. Stopping Windows Update Services...”
Stop-Service -Name BITS -Force
Stop-Service -Name wuauserv -Force
Stop-Service -Name cryptsvc -Force
Write-Host “2. Remove QMGR Data file...”
Remove-Item -Path “$env:allusersprofile\Application Data\Microsoft\Network\Downloader\qmgr*.dat” -ErrorAction SilentlyContinue
Write-Host “3. Removing the Software Distribution and CatRoot Folder...”
Remove-Item -Path “$env:systemroot\SoftwareDistribution” -ErrorAction SilentlyContinue -Recurse
Remove-Item -Path “$env:systemroot\System32\Catroot2” -ErrorAction SilentlyContinue -Recurse
Write-Host “4. Resetting the Windows Update Services to defualt settings...”
Start-Process “sc.exe” -ArgumentList “sdset bits D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;;IU)(A;;CCLCSWLOCRRC;;;;SU)”
Start-Process “sc.exe” -ArgumentList “sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)”
Set-Location $env:systemroot\system32
Write-Host “5. Registering some DLLs...”
regsvr32.exe atl.dll /s
regsvr32.exe urlmon.dll /s
regsvr32.exe mshtml.dll /s
regsvr32.exe shdocvw.dll /s
regsvr32.exe browseui.dll /s
regsvr32.exe jscript.dll /s
regsvr32.exe vbscript.dll /s
regsvr32.exe scrrun.dll /s
regsvr32.exe msxml.dll /s
regsvr32.exe msxml3.dll /s
regsvr32.exe msxml6.dll /s
regsvr32.exe actxprxy.dll /s
regsvr32.exe softpub.dll /s
regsvr32.exe wintrust.dll /s
regsvr32.exe dssenh.dll /s
regsvr32.exe rsaenh.dll /s
regsvr32.exe gpkcsp.dll /s
regsvr32.exe sccbase.dll /s
regsvr32.exe slbcsp.dll /s
regsvr32.exe cryptdlg.dll /s
regsvr32.exe oleaut32.dll /s
regsvr32.exe ole32.dll /s
regsvr32.exe shell32.dll /s
regsvr32.exe initpki.dll /s
regsvr32.exe wuapi.dll /s
regsvr32.exe wuaueng.dll /s
regsvr32.exe wuaueng1.dll /s
regsvr32.exe wucltui.dll /s
regsvr32.exe wups.dll /s
regsvr32.exe wups2.dll /s
regsvr32.exe wuweb.dll /s
regsvr32.exe qmgr.dll /s
regsvr32.exe qmgrprxy.dll /s
regsvr32.exe wucltux.dll /s
regsvr32.exe muweb.dll /s
regsvr32.exe wuwebv.dll /s
Write-Host “6) Resetting the WinSock...”
netsh winsock reset
Write-Host “7) Starting Windows Update Services...”
Start-Service -Name BITS
Start-Service -Name wuauserv
Start-Service -Name cryptsvc
Write-Host “8) Forcing discovery...”
#wuauclt /resetauthorization /detectnow
USOClient.exe RefreshSettings
USOClient.exe StartScan
Same thing, nothing works...
I've tried in Settings > System > Recovery > Reinstall Now: it does download a repair version in Windows Update, but it fails at 8% with error 0x80070002 again.
I've tried “Reset this PC”, but I get “Recovery environment not found”.
Honestly, I've tried everything... I don't know what to do...
The problem is that it's a Cloud PC, so I don't have control over the BIOS, or the ability to launch with a USB key.
And as I have a lot of software, configurations, etc., I really don't want to reinstall the whole PC, despite the fact that this is surely the quickest and simplest solution. I'd really like to repair, reset without losing at least the files/software.
I'm now with Windows 11 23H2 (22635.4300).
And apparently, several people in certain forums have already had this error 0x8007000..
Thank you very much!
Hoping for a solution...
- Windows Build/Version
- Windows 11 23H2 (22635.4300)
My Computer
System One
-
- OS
- Windows 11
- Computer type
- PC/Desktop
- Manufacturer/Model
- Shadow.tech
- CPU
- AMD EPYC 7543P
- Memory
- 28GB 2400Mhz
- Graphics Card(s)
- NVIDIA RTX A4500