Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Boot stuck on updating 35%

15 Dec 2019   #1
doveman007

Windows 7 Ultimate x64
 
 
Boot stuck on updating 35%

I just enlarged my brother's Windows 7 C: partition on his SSD as it was very low on space. Before that I'd tried Disk Cleanup and it reported that there was 12.9GB of Windows Updates files even though there was only 242MB of files in SoftwareDistribution.

I did check for updates but didn't install any before rebooting. Now every time he tries to boot it gets stuck on Updating at 35%. Even if he selects Safe Mode with Command Prompt it does this and doesn't get to the Command Prompt. I'm helping him via TeamViewer as I don't live close to him.

Luckily I'd set his PC up with a multi-boot grub4dos menu and he has a emergency Windows 7 install on HDD and also an option to boot from the Windows 7 SP1 ISO. I booted into the emergency Windows 7 install, went to G: (that being the Windows 7 SSD partition) and in Windows\WinSxS I deleted the .xml files.

I also ran "sfc /scannow /offbootdir=G:\ /offwindir=G:\windows" and that reported "Windows Resource Protection did not find any integrity violations. "

I also deleted the SoftwareDistribution folder but somehow it still gets stuck on Updating 35% even though I've deleted any update files!

LastKnownConfiguration doesn't boot and he doesn't have a System Restore point to restore to (he didn't have space on the C: partition before to create one).

I can boot the Win7 SP1 ISO but I'm not sure what I can do from there. I certainly don't want to do Startup Repair as that will overwrite the grub4dos menu and lock him out completely but I don't think it's a problem with the boot files anyway, it's the update process that's messed up.

I've attached his CBS.log from after doing all that and trying to boot in case that shows anything useful but please let me know if I need to upload anything else.

I read that disabling the Windows Module Installer service might help but I don't know how I can do that when I can't boot into Windows.

I'd be grateful if someone could help me as my brother's quite dependent on his PC.




Attached Files
File Type: log CBS.log (129.1 KB, 3 views)
My System SpecsSystem Spec
.
15 Dec 2019   #2
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
 
 

Hi doveman007,
"I'd be grateful if someone could help me as my brother's quite dependent on his PC. "
Stuck on what update please?
Dependent, usually requires precautions, such as external backups!
How long stuck at 35%, minutes? hours? over night?
My System SpecsSystem Spec
15 Dec 2019   #3
iko22

Windows 7 x64, Vista x64, 8.1 smartphone
 
 

Quote   Quote: Originally Posted by doveman007 View Post
I just enlarged my brother's Windows 7 C: partition on his SSD as it was very low on space. Before that I'd tried Disk Cleanup and it reported that there was 12.9GB of Windows Updates files even though there was only 242MB of files in SoftwareDistribution.

I did check for updates but didn't install any before rebooting. Now every time he tries to boot it gets stuck on Updating at 35%. Even if he selects Safe Mode with Command Prompt it does this and doesn't get to the Command Prompt. I'm helping him via TeamViewer as I don't live close to him.

Luckily I'd set his PC up with a multi-boot grub4dos menu and he has a emergency Windows 7 install on HDD and also an option to boot from the Windows 7 SP1 ISO. I booted into the emergency Windows 7 install, went to G: (that being the Windows 7 SSD partition) and in Windows\WinSxS I deleted the .xml files.

I also ran "sfc /scannow /offbootdir=G:\ /offwindir=G:\windows" and that reported "Windows Resource Protection did not find any integrity violations. "

I also deleted the SoftwareDistribution folder but somehow it still gets stuck on Updating 35% even though I've deleted any update files!

LastKnownConfiguration doesn't boot and he doesn't have a System Restore point to restore to (he didn't have space on the C: partition before to create one).

I can boot the Win7 SP1 ISO but I'm not sure what I can do from there. I certainly don't want to do Startup Repair as that will overwrite the grub4dos menu and lock him out completely but I don't think it's a problem with the boot files anyway, it's the update process that's messed up.

I've attached his CBS.log from after doing all that and trying to boot in case that shows anything useful but please let me know if I need to upload anything else.

I read that disabling the Windows Module Installer service might help but I don't know how I can do that when I can't boot into Windows.

I'd be grateful if someone could help me as my brother's quite dependent on his PC.
Since you have already deleted so much, you may as well rename this folder and execute this command:
ren C:\Windows\System32\catroot2 Catroot2.old
My System SpecsSystem Spec
.

16 Dec 2019   #4
doveman007

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Snick View Post
Hi doveman007,
"I'd be grateful if someone could help me as my brother's quite dependent on his PC. "
Stuck on what update please?
Dependent, usually requires precautions, such as external backups!
How long stuck at 35%, minutes? hours? over night?
I don't think it says which update on the boot screen, it just says something like "Updating, please wait, 35%" but I'll check this with my brother when he gets home from work later.

I got him to leave it running overnight but unfortunately his electricity ran out (he's on a pre-pay meter) before he got up this morning so he doesn't know if it progress past 35% overnight but after topping up his meter and booting his PC it's still stuck at 35%, so it seems unlikely.

He's not very technically-minded so I have to help him do system backups remotely via TeamViewer but I've been very busy this year so the last TrueImage I made for him may be at least a year old. It's probably not the end of the world if I have to resort to restoring that, as his data is on a separate partition but I'd rather avoid doing that if possible as it will mean he'll have to spend hours updating software.
My System SpecsSystem Spec
16 Dec 2019   #5
doveman007

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by iko22 View Post
Since you have already deleted so much, you may as well rename this folder and execute this command:
ren C:\Windows\System32\catroot2 Catroot2.old
Thanks. I can get him to boot into the spare Win7 install, which has TeamViewer installed, and then delete that folder on the G: partition, which is the problematic one.

I also found this suggestion on answers.microsoft.com. Do you think I should try that as well, loading the hive from G:?

Code:
Type regedit, and then press ENTER.

Select HKEY_LOCAL_MACHINE.

On the File menu, click Load Hive.

Locate the following folder:

C:\windows\system32\config\components

When you are prompted for a name, type Offline_Components.

In Registry Editor, locate and then delete the following registry
subkey:

HLKM\Offline Components\AdvancedInstallersNeedResolving

HKLM\Offline Components\PendingXmlIdentifier

Exit Registry Editor:

At the command prompt, type exit to exit Registry Editor.

Press ENTER.

Restart System
I could also disable the Windows Module Installer (TrustedInstaller.exe) service for the system on G: by loading the Hive into regedit. Should I try that too?
My System SpecsSystem Spec
16 Dec 2019   #6
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Quote:
12.9GB of Windows Updates files even though there was only 242MB of files in SoftwareDistribution.
It is attempting to clean the winsxs store, not just the software dist folder.



The first thing to try : HERE
My System SpecsSystem Spec
16 Dec 2019   #7
doveman007

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by SIW2 View Post
It is attempting to clean the winsxs store, not just the software dist folder.



The first thing to try : HERE
Does that DISM command work for Windows 7, as I've seen it mentioned in some tips that cover Windows 7 and Windows 8 but the DISM command was only mentioned in the Windows 8 part?
My System SpecsSystem Spec
.
16 Dec 2019   #8
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

My System SpecsSystem Spec
16 Dec 2019   #9
doveman007

Windows 7 Ultimate x64
 
 

I was just checking because of what I'd read, including that post by iko22 on that thread.

Anyway, it appears to have fixed itself somehow now. My brother left his PC running whilst he went to work and he says it had got through the update and was working OK when he got home.

I'll check what the Disk Cleanup is showing now for the Windows Update files when I have a chance and if that still looks screwy I'll run the DISM command you suggested to hopefully clear that up. Then I'll make a System Image for him.

I really need to update him to Windows 10 some time but I daren't risk trying to talk him through that over the phone in case he ends up unable to boot into anything.
My System SpecsSystem Spec
16 Dec 2019   #10
Snick

Win 10 x64, Linux Lite, Win 7 x64, BlackArch, & Kali
 
 


????
My System SpecsSystem Spec
Reply

 Boot stuck on updating 35%




Thread Tools




Similar help and support threads
Thread Forum
UPDATE trashed my OS stuck on " updating system settings"
I was surprised that I could not get to windows update in safe mode. And make sure to turn automatic updates OFF on my computer before I do a drive image next time ! Anyway It was "configuring updates" for about 12 hours overnight and I figured it was time to give up. Now it wont roll them...
Windows Updates & Activation
Stuck in updating loop
Last night my computer had a message appear about an auto update, and I postponed the update one hour. Before the one hour was up, I put my computer to sleep. This morning, the computer was on, but the monitor was in standby. I moved the mouse, and the light on the monitor went from orange to...
Windows Updates & Activation
Stuck at startup after updating AHCI driver
Hi all, i have recently installed an ssd drive and it is working fine with achci enabled. But when i try to update the ahci driver the system stays forever in the windows starting page (the one with the glowing window logo) Do you have any idea what i should do? Also i have a...
Drivers
Stuck updating, killed process, but...
Now i am unable to install almost anything... Help please :(
BSOD Help and Support
Help, stuck at updating 3 of 5 ...
... OOK be gentle with me! I'm a novice, have Windows 7 starter on my notebook and all working well and has updated OK. This morning, it wants to install the latest updates and has spent the last 30 minutes at 'please be patient, do not unplug ... installing 3 of 5 ' .. and going no further! ...
Windows Updates & Activation


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:32.
Twitter Facebook