Solved Windows Update keeps failing to update

yildizabdullah

New member
Member
Local time
2:32 PM
Messages
53
Windows Update tries to install the same updates repeatedly and always fails. I've tried to run Microsoft Fix it but it didn't help.
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
Please follow the Windows Update Posting Instructions and post the requested data
If the file is too large (8MB compressed), remove the older CBSPersist cab files until the final file is below the limit - you can always post them separately after zipping them. (the forum doesn't allow the upload of bare CAB files, for a number of reasons)
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Please follow the Windows Update Posting Instructions and post the requested data
If the file is too large (8MB compressed), remove the older CBSPersist cab files until the final file is below the limit - you can always post them separately after zipping them. (the forum doesn't allow the upload of bare CAB files, for a number of reasons)

Please see the attached file.
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
The SFC scan shows no problems. There are no significant errors in the CBS.log
There is no CheckSUR log in your upload??
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
The SFC scan shows no problems. There are no significant errors in the CBS.log
There is no CheckSUR log in your upload??

I've downloaded Windows6.1-KB947821-v33-x86.msu and when I try to execute it it gives the following error:
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
Hmm - Open an Elevated Command Prompt, and run the following commands...

ICACLS C:\Windows\Temp
ATTRIB C:\Windows\Temp\CheckSUR
ICACLS C:\Windows\Temp\CheckSUR

Post the results


Here are some instructions to make life easier :)
1) To open an Elevated Command Prompt Window (the ECP window), click on Start, All Programs, Accessories – then right-click on Command Prompt, and select Run as Administrator. Accept the UAC prompt.
2) To run the commands easier, highlight the block of commands, and right-click on the highlight – select Copy. In the CP Window, click on the black/white icon at top left – select Paste. The commands will run but may not complete the last command, so hit the Enter Key once.
3) To copy the results... click on the Black/White icon in the top left, and select Edit... 'Select All', and hit the Enter key - then use Ctrl+V or r-click+Paste to paste it into your response.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Hmm - Open an Elevated Command Prompt, and run the following commands...

ICACLS C:\Windows\Temp
ATTRIB C:\Windows\Temp\CheckSUR
ICACLS C:\Windows\Temp\CheckSUR

Post the results

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\Temp
C:\Windows\Temp BUILTIN\Users:(CI)(S,WD,AD,X)
                BUILTIN\Administrators:(F)
                BUILTIN\Administrators:(OI)(CI)(IO)(F)
                NT AUTHORITY\SYSTEM:(F)
                NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                CREATOR OWNER:(OI)(CI)(IO)(F)
                BUILTIN\Users:(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ATTRIB C:\Windows\Temp\CheckSUR
File not found - C:\Windows\Temp\CheckSUR

C:\Windows\system32>ICACLS C:\Windows\Temp\CheckSUR
C:\Windows\Temp\CheckSUR: The system cannot find the file specified.
Successfully processed 0 files; Failed processing 1 files
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
You have some odd permissions there.
For some reason it's inheriting ReadOnly permissions and passing them down - and it's this that may be causing your problem.
Let's check the Windows folder and System32 folder as well, before attempting to fix things...

In an Elevated Command Prompt, run the following commands, and post the results.

ICACLS C:\Windows
ICACLS C:\Windows\System32
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
You have some odd permissions there.
For some reason it's inheriting ReadOnly permissions and passing them down - and it's this that may be causing your problem.
Let's check the Windows folder and System32 folder as well, before attempting to fix things...

In an Elevated Command Prompt, run the following commands, and post the results.

ICACLS C:\Windows
ICACLS C:\Windows\System32

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ICACLS C:\Windows
C:\Windows NT SERVICE\TrustedInstaller:(F)
           NT SERVICE\TrustedInstaller:(CI)(IO)(F)
           NT AUTHORITY\SYSTEM:(M)
           NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
           BUILTIN\Administrators:(M)
           BUILTIN\Administrators:(OI)(CI)(IO)(F)
           BUILTIN\Users:(RX)
           BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32
C:\Windows\System32 NT SERVICE\TrustedInstaller:(F)
                    NT SERVICE\TrustedInstaller:(CI)(IO)(F)
                    NT AUTHORITY\SYSTEM:(M)
                    NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                    BUILTIN\Administrators:(M)
                    BUILTIN\Administrators:(OI)(CI)(IO)(F)
                    BUILTIN\Users:(RX)
                    BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
                    CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
I forgot to tell you that I'm using Remote Desktop Connection on another Windows 7 machine to connect to the machine I've trouble with. However, it gives the same error when I try to run the same .msu file locally.
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
Here's what happens when I run the previous commands locally:

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\Temp
C:\Windows\Temp BUILTIN\Users:(CI)(S,WD,AD,X)
                BUILTIN\Administrators:(F)
                BUILTIN\Administrators:(OI)(CI)(IO)(F)
                NT AUTHORITY\SYSTEM:(F)
                NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                CREATOR OWNER:(OI)(CI)(IO)(F)
                BUILTIN\Users:(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ATTRIB C:\Windows\Temp\CheckSUR
File not found - C:\Windows\Temp\CheckSUR

C:\Windows\system32>ICACLS C:\Windows\Temp\CheckSUR
C:\Windows\Temp\CheckSUR: The system cannot find the file specified.
Successfully processed 0 files; Failed processing 1 files

C:\Windows\system32>ICACLS C:\Windows
C:\Windows NT SERVICE\TrustedInstaller:(F)
           NT SERVICE\TrustedInstaller:(CI)(IO)(F)
           NT AUTHORITY\SYSTEM:(M)
           NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
           BUILTIN\Administrators:(M)
           BUILTIN\Administrators:(OI)(CI)(IO)(F)
           BUILTIN\Users:(RX)
           BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\System32
C:\Windows\System32 NT SERVICE\TrustedInstaller:(F)
                    NT SERVICE\TrustedInstaller:(CI)(IO)(F)
                    NT AUTHORITY\SYSTEM:(M)
                    NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                    BUILTIN\Administrators:(M)
                    BUILTIN\Administrators:(OI)(CI)(IO)(F)
                    BUILTIN\Users:(RX)
                    BUILTIN\Users:(OI)(CI)(IO)(GR,GE)
                    CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

There is no difference between the outputs of commands in either way.
 
Last edited:

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
I think I changed administrator settings by mistake and I cannot find a way to correct this other than installing Windows 7 from scratch :).
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
You could try a repair install - but I'm not sure how that'd work when trying it remotely.

Let's see what we can do with the permissions (the last set of data is fine)

Open an Elevated Command Prompt, and run the following commands

TAKEOWN /F C:\Windows\Temp /A
ICACLS C:\Windows\Temp /remove User
ICACLS C:\Windows\Temp /grant User:(CI)(S,WD,AD,X)
ICACLS C:\Windows\Temp

post the results.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
You could try a repair install - but I'm not sure how that'd work when trying it remotely.

Let's see what we can do with the permissions (the last set of data is fine)

Open an Elevated Command Prompt, and run the following commands

TAKEOWN /F C:\Windows\Temp /A
ICACLS C:\Windows\Temp /remove User
ICACLS C:\Windows\Temp /grant User:(CI)(S,WD,AD,X)
ICACLS C:\Windows\Temp

post the results.

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>TAKEOWN /F C:\Windows\Temp /A

SUCCESS: The file (or folder): "C:\Windows\Temp" now owned by the administrators
 group.

C:\Windows\system32>ICACLS C:\Windows\Temp /remove User
Successfully processed 0 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\Temp /grant User:(CI)(S,WD,AD,X)
User: No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 1 files

C:\Windows\system32>ICACLS C:\Windows\Temp
C:\Windows\Temp BUILTIN\Users:(CI)(S,WD,AD,X)
                BUILTIN\Administrators:(F)
                BUILTIN\Administrators:(OI)(CI)(IO)(F)
                NT AUTHORITY\SYSTEM:(F)
                NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                CREATOR OWNER:(OI)(CI)(IO)(F)
                BUILTIN\Users:(OI)(CI)(RX)

Successfully processed 1 files; Failed processing 0 files
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
Bother! typo on my part, Sorry!

it should have been...

Open an Elevated Command Prompt, and run the following commands

TAKEOWN /F C:\Windows\Temp /A
ICACLS C:\Windows\Temp /remove Users
ICACLS C:\Windows\Temp /grant Users:(CI)(S,WD,AD,X)
ICACLS C:\Windows\Temp


post the results.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Bother! typo on my part, Sorry!

it should have been...

Open an Elevated Command Prompt, and run the following commands

TAKEOWN /F C:\Windows\Temp /A
ICACLS C:\Windows\Temp /remove Users
ICACLS C:\Windows\Temp /grant Users:(CI)(S,WD,AD,X)
ICACLS C:\Windows\Temp


post the results.

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>TAKEOWN /F C:\Windows\Temp /A

SUCCESS: The file (or folder): "C:\Windows\Temp" now owned by the administrators
 group.

C:\Windows\system32>ICACLS C:\Windows\Temp /remove Users
processed file: C:\Windows\Temp
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\Temp /grant Users:(CI)(S,WD,AD,X)
processed file: C:\Windows\Temp
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>ICACLS C:\Windows\Temp
C:\Windows\Temp BUILTIN\Administrators:(F)
                BUILTIN\Users:(CI)(S,WD,AD,X)
                BUILTIN\Administrators:(OI)(CI)(IO)(F)
                NT AUTHORITY\SYSTEM:(F)
                NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                CREATOR OWNER:(OI)(CI)(IO)(F)
                NT SERVICE\TrustedInstaller:(I)(F)
                NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
                NT AUTHORITY\SYSTEM:(I)(F)
                NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                BUILTIN\Administrators:(I)(F)
                BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
                BUILTIN\Users:(I)(RX)
                BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
                CREATOR OWNER:(I)(OI)(CI)(IO)(F)

Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
Duh? what happened there?
It looks like something forced inheritance on the folder in the meantime - which was definitely not the intention or capability of my script.

Please undo that - then post the results of another

ICACLS C:\Windows\Temp
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Duh? what happened there?
It looks like something forced inheritance on the folder in the meantime - which was definitely not the intention or capability of my script.

Please undo that - then post the results of another

ICACLS C:\Windows\Temp

How can I undo it :) (by right-clicking on the folder and modifying Security settings)?
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
Yep - UNtick the 'inherit permissions...' box in the Advanced area
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Asus K52F or Lenovo B51-80
OS
Win 7 x64 Home Premium (and x86 VirtualBox VM)/Win10
CPU
i3 370M/i7 6500U
Motherboard
Asus/Lenovo
Memory
8GB - finally :)/8GB
Graphics Card(s)
it's an i3, dude!/dual Intel&nVidia
Sound Card
onboard
Monitor(s) Displays
15.6" built-in
Screen Resolution
1366x768/1920x1080
Hard Drives
750GB Seagate internal
Sundry external drives attached to other computers on the local network
1TB SSD on the Lenovo
PSU
n/a
Internet Speed
as much as I can get - usually on a dongle/phone, so <1MB/s
Antivirus
MSE/Defender
Browser
IE11/12/Edge/Chrome/FF(if I must)
Duh? what happened there?
It looks like something forced inheritance on the folder in the meantime - which was definitely not the intention or capability of my script.

Please undo that - then post the results of another

ICACLS C:\Windows\Temp

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ICACLS C:\Windows\Temp
C:\Windows\Temp BUILTIN\Administrators:(OI)(CI)(F)
                NT AUTHORITY\SYSTEM:(OI)(CI)(F)
                CREATOR OWNER:(OI)(CI)(IO)(F)
                BUILTIN\Users:(CI)(S,WD,AD,X)

Successfully processed 1 files; Failed processing 0 files
 

My Computer My Computer

Computer type
Laptop
OS
Windows 7 Home Premium 64-bit
Back
Top