[SOLVED] Windows update in restart loop

Rusty

Contributor
Joined
Apr 20, 2013
Posts
2
My problem seems common here, so hopefully I found the right place. My problem is similar to what Beedamned had https://www.sysnative.com/forums/wi...-not-working-cant-update-important-files.html. I've been trying to fix it off and on for two months. Windows update only ever tells me to restart because stuff is being used. I cannot check for updates after its first check as it says I need to restart. Restarting does not help.:bored2:

FIXIT doesn't help in default or aggressive mode. I get error code 0x80070002 somewhere or other. I went to C:\Windows\SoftwareDistribution and emptied the datastore and downloads folders to no success. Somewhere along the lines I've emptied my update history, and that is empty. I've tried cleaning my registry multiple times with CCleaner. I've tried manually installing the latest windows update (2 months ago).

I'm decently confident I might have finally found the right place for help. :angel1:

P.S. This is interesting: I'm throwing on the pending file as that seems useful for you... it is actually pending.xml.01cbf40b50a4fdc0 which does not seem normal. Is this a clueeeeee?
 

Attachments

Hello, and welcome to Sysnative :)

Please start an Elevated Command Prompt: How to start an Elevated Command Prompt in Windows 7 and Vista

and copy and paste in the following:

fsutil resource setautoreset true %systemdrive%\

attrib -r -s -h %SystemRoot%\System32\Config\TxR\*
del %SystemRoot%\System32\Config\TxR\*

attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*
del %SystemRoot%\System32\SMI\Store\Machine\*.tm*
del %SystemRoot%\System32\SMI\Store\Machine\*.blf
del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms

and press enter after the final line if necessary.

If you are asked if you are sure, type Y and press enter.

Please let me know whether this resolves your problem.

Thank you!

Richard
 
Last edited:
couldnotfind.pngThanks for the quick reply! I was able to do all except the last two commands (attached). I gave the computer a restart and it proceeded to update normally. It worked (!/?)
Will having missed those last two commands be a problem?
 
Hope, those commands don't matter in this circumstance. I stick them all in, the ones which don't apply fail, and the ones which do apply do some good. So they don't matter.

What does matter is that your problem is resolved :)

Very happy to have helped you :)

Take care!

Richard
 
Hello, and welcome to Sysnative :)

Please start an Elevated Command Prompt: How to start an Elevated Command Prompt in Windows 7 and Vista

and copy and paste in the following:

fsutil resource setautoreset true %systemdrive%\

attrib -r -s -h %SystemRoot%\System32\Config\TxR\*
del %SystemRoot%\System32\Config\TxR\*

attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*
del %SystemRoot%\System32\SMI\Store\Machine\*.tm*
del %SystemRoot%\System32\SMI\Store\Machine\*.blf
del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms

and press enter after the final line if necessary.

If you are asked if you are sure, type Y and press enter.

Please let me know whether this resolves your problem.

Thank you!

Richard

Thankyou SOOOOO MUCH. I've been trying to fix this for a week, and your fix did the trick. Even the Microsoft Fix It didn't help. I was even thinking of upgrading to windows 8 to avoid the problem. Thanks Again!
 
Hi, I have tried the commands in this thread but when I try del %SystemRoot%\System32\Config\TxR\* it fails and says the command cannot be completed because the file is in use by another process. I only have notepad open, so do you have any ideas what process I might need to close. Thanks.
 
I tried the commands also this is what I got, I'm a novice when it comes to computers, and this Windows Update loop I'm stuck in is driving me crazy
Capture.PNG
 
Hello, and welcome to Sysnative :)

Please start an Elevated Command Prompt: How to start an Elevated Command Prompt in Windows 7 and Vista

and copy and paste in the following:

fsutil resource setautoreset true %systemdrive%\

attrib -r -s -h %SystemRoot%\System32\Config\TxR\*
del %SystemRoot%\System32\Config\TxR\*

attrib -r -s -h %SystemRoot%\System32\SMI\Store\Machine\*
del %SystemRoot%\System32\SMI\Store\Machine\*.tm*
del %SystemRoot%\System32\SMI\Store\Machine\*.blf
del %SystemRoot%\System32\SMI\Store\Machine\*.regtrans-ms

and press enter after the final line if necessary.

If you are asked if you are sure, type Y and press enter.

Please let me know whether this resolves your problem.

Thank you!

Richard

Thankyou SOOOOO MUCH. I've been trying to fix this for a week, and your fix did the trick. Even the Microsoft Fix It didn't help. I was even thinking of upgrading to windows 8 to avoid the problem. Thanks Again!



I am having this same problem and just tried this fix but there are a bunch of returns on the cmd.exe that state " The process cannot access the file because it is being used by another process".

Can you please help?
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top