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: 8024402C Windows Update error

24 Feb 2013   #21

Microsoft Windows 7 Home Premium x64 SP1
 
 

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

C:\windows\system32>DIR C:\Windows\img0.jpg /AR /S
Volume in drive C is TI30875400C
Volume Serial Number is D06C-3EB9

Directory of C:\Windows\Web\Wallpaper\Windows

23/08/2011 12:36 205,966 img0.jpg
1 File(s) 205,966 bytes

Directory of C:\Windows\winsxs\amd64_microsoft-windows-s..l-wallpaper-windows_3
1bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586

23/08/2011 12:36 205,966 img0.jpg
1 File(s) 205,966 bytes

Total Files Listed:
2 File(s) 411,932 bytes
0 Dir(s) 383,784,038,400 bytes free

C:\windows\system32>ATTRIB C:\Windows\img0.jpg /S
A R C:\Windows\Web\Wallpaper\Windows\img0.jpg
A R C:\Windows\winsxs\amd64_microsoft-windows-s..l-wallpaper-windows_31
bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg

C:\windows\system32>ICACLS C:\Windows\Web\Wallpaper\Windows\img0.jpg
C:\Windows\Web\Wallpaper\Windows\img0.jpg NT SERVICE\TrustedInstallerF)
BUILTIN\AdministratorsRX)
NT AUTHORITY\SYSTEMRX,W)
BUILTIN\UsersRX,W)

Successfully processed 1 files; Failed processing 0 files

C:\windows\system32>ICACLS C:\Windows\winsxs\img0.jpg /T
C:\Windows\winsxs\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e3
5_6.1.7600.16385_none_370717dbca22c586\img0.jpg NT SERVICE\TrustedInstallerF)

BUILTIN\AdministratorsRX)

NT AUTHORITY\SYSTEMRX,W)

BUILTIN\UsersRX,W)

Successfully processed 1 files; Failed processing 0 files

C:\windows\system32>ATTRIB C:\Windows\background.bmp /S
A R C:\Windows\System32\oobe\background.bmp
A C:\Windows\SysWOW64\oobe\background.bmp
A R C:\Windows\winsxs\amd64_setup-uxwizard-clientimages_31bf3856ad364e3
5_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
A C:\Windows\winsxs\x86_setup-uxwizard-clientimages_31bf3856ad364e35_
6.1.7600.16385_none_48ada01d8ff36e68\background.bmp

C:\windows\system32>ICACLS C:\Windows\System32\oobe\background.bmp
C:\Windows\System32\oobe\background.bmp NT SERVICE\TrustedInstallerF)
BUILTIN\AdministratorsRX)
NT AUTHORITY\SYSTEMRX,W)
BUILTIN\UsersRX,W)

Successfully processed 1 files; Failed processing 0 files

C:\windows\system32>ICACLS C:\Windows\winsxs\bacground.bmp /T
Successfully processed 0 files; Failed processing 0 files

C:\windows\system32>

My System SpecsSystem Spec
.

24 Feb 2013   #22

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

very strange!
Those two files are tagged as Read-only for some reason - and they will resist being changed to write-enabled until their permissions are corrected - which begs the question of how they got changed in the first place.

Please run the following commands (with any luck, I'll get them all right this time!)

TAKEOWN /F C:\Windows\System32\oobe\*.* /A
ICACLS C:\Windows\System32\oobe\*.* /grant Administrators:(F)
ATTRIB -R C:\Windows\System32\oobe\*.*
TAKEOWN /F C:\Windows\Web\Wallpaper\Windows\*.* /A
ICACLS C:\Windows\Web\Wallpaper\Windows\*.* /grant Administrators:(F)
ATTRIB -R C:\Windows\Web\Wallpaper\Windows\*.*



That should take care of the problem permanently - and perhaps prevent future problems
My System SpecsSystem Spec
24 Feb 2013   #23

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

Please post back if you spot any error messages in the output!

...and once you've done that, please repeat the instructions that Tom last left - then we'll set about fixing the other problem files (if any) that may remain
My System SpecsSystem Spec
.


24 Feb 2013   #24

Microsoft Windows 7 Home Premium x64 SP1
 
 

Hopefully I've understood it properly - didn't see any glaring errors from the above

SFCFix version 1.3.0.0 by niemiro.
Start time: 2013-02-24 21:42:08.088
Using .zip script file at C:\Users\Sarah\Desktop\SFCFix.zip




TakePermissions::
Successfully took permissions for file or folder C:\windows\Web\Wallpaper\Windows\img0.jpg
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
Successfully took permissions for file or folder C:\windows\Sysnative\oobe\background.bmp
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
TakePermissions:: directive completed successfully.




CopyFiles::
Failed to copy file \\?\C:\Users\Sarah\AppData\Local\niemiro\Archive\img0.jpg to \\?\C:\windows\Web\Wallpaper\Windows\img0.jpg with error code 0x5.
Failed to copy file \\?\C:\Users\Sarah\AppData\Local\niemiro\Archive\img0.jpg to \\?\C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg with error code 0x5.
Successfully copied file \\?\C:\Users\Sarah\AppData\Local\niemiro\Archive\background.bmp to \\?\C:\windows\Sysnative\oobe\background.bmp.
Successfully copied file \\?\C:\Users\Sarah\AppData\Local\niemiro\Archive\background.bmp to \\?\C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp.
CopyFiles:: directive failed to complete successfully.




RestorePermissions::
Successfully restored ownership for C:\windows\Web\Wallpaper\Windows\img0.jpg
Successfully restored permissions on C:\windows\Web\Wallpaper\Windows\img0.jpg
Failure code returned from icacls process in RestoreFromDataBlock function for file C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg. Error code 0x5.
Successfully restored ownership for C:\windows\Sysnative\oobe\background.bmp
Successfully restored permissions on C:\windows\Sysnative\oobe\background.bmp
Failure code returned from icacls process in RestoreFromDataBlock function for file C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp. Error code 0x5.
RestorePermissions:: directive failed to complete successfully.




Failed to process all directives successfully.
SFCFix version 1.3.0.0 by niemiro has completed.
Currently storing 28 datablocks.
Finish time: 2013-02-24 21:42:14.681
----------------------EOF-----------------------
My System SpecsSystem Spec
24 Feb 2013   #25

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

Hmm - still failing, even on the ones we supposedly allowed.
Please run the following commands to check what's happening....

Code:
 
ATTRIB C:\Windows\System32\oobe\background.bmp
ATTRIB C:\Windows\Web\Wallpaper\Windows\img0.jpg
ATTRIB C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
ATTRIB C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
 
.
(Personally, I'd have done this a different way from the start - but this is really Tom's thread, so we'll do it his way )
My System SpecsSystem Spec
24 Feb 2013   #26

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by NoelDP View Post
Hmm - still failing, even on the ones we supposedly allowed.
Please run the following commands to check what's happening....

Code:
 
ATTRIB C:\Windows\System32\oobe\background.bmp
ATTRIB C:\Windows\Web\Wallpaper\Windows\img0.jpg
ATTRIB C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
ATTRIB C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
 
.
(Personally, I'd have done this a different way from the start - but this is really Tom's thread, so we'll do it his way )
I have no idea what's causing SFCFix to hiccup like this so please don't hold back on my part! I was determined to fix this outside of the RE
My System SpecsSystem Spec
24 Feb 2013   #27

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

Quote   Quote: Originally Posted by tom982 View Post
I have no idea what's causing SFCFix to hiccup like this so please don't hold back on my part! I was determined to fix this outside of the RE
The basic problem is simple enough - the files are tagged as read-only. and since Admins don't have Modify access, they can't untag them. I assume that SFCFix doesn't check/modify attributes before attempting the processing, so it gets an 0x5 error on the deletion. and can't rename copy/move the original.

The question is whether the daughter files are real ones, or merely hard links back to the Winsxs ones - I think that perhaps the evidence so far is that they are links, so we need to ignore the daughters and merely adjust the Winsxs files properly.
My System SpecsSystem Spec
25 Feb 2013   #28

Microsoft Windows 7 Home Premium x64 SP1
 
 

Results of the above

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

C:\windows\system32>ATTRIB C:\Windows\System32\oobe\background.bmp
A C:\Windows\System32\oobe\background.bmp

C:\windows\system32>ATTRIB C:\Windows\Web\Wallpaper\Windows\img0.jpg
A R C:\Windows\Web\Wallpaper\Windows\img0.jpg

C:\windows\system32>ATTRIB C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpa
per-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
A R C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31
bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg

C:\windows\system32>ATTRIB C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_3
1bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
A C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e3
5_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
My System SpecsSystem Spec
25 Feb 2013   #29

Microsoft Community Contributor Award Recipient

Win 7 x64 Home Premium (and x86 VirtualBox VM)
 
 

OK - please run the following commands, and we'll get this sorted once and for all (I hope!)

Code:
TAKEOWN /F ATTRIB C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
 /A
ICACLS C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg /grant Administrators:(F)
ATTRIB -R C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
TAKEOWN /F C:\Windows\Web\Wallpaper\Windows\img0.jpg /A
ICACLS C:\Windows\Web\Wallpaper\Windows\img0.jpg /grant Administrators:(F)
ATTRIB -R C:\Windows\Web\Wallpaper\Windows\img0.jpg
ATTRIB C:\Windows\Web\Wallpaper\Windows\img0.jpg
ATTRIB C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
ICACLS C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
ICACLS C:\Windows\Web\Wallpaper\Windows\img0.jpg
ICACLS C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
post the output and we'll see where we are


Reading the earlier output with fresh(ish) eyes, it wasn't as bad as I thought it was.
My System SpecsSystem Spec
25 Feb 2013   #30

Microsoft Windows 7 Home Premium x64 SP1
 
 

Thanks - ran and outputs below

C:\windows\system32>TAKEOWN /F ATTRIB C:\Windows\WinSxS\amd64_microsoft-windows-
s..l-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img
0.jpg
ERROR: Invalid argument/option - 'C:\Windows\WinSxS\amd64_microsoft-windows-s..l
-wallpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jp
g'.
Type "TAKEOWN /?" for usage.

C:\windows\system32> /A
'/A' is not recognized as an internal or external command,
operable program or batch file.

C:\windows\system32>ICACLS C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpa
per-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg /gran
t AdministratorsF)
processed file: C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows
_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
Successfully processed 1 files; Failed processing 0 files

C:\windows\system32>ATTRIB -R C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wal
lpaper-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg

C:\windows\system32>TAKEOWN /F C:\Windows\Web\Wallpaper\Windows\img0.jpg /A

SUCCESS: The file (or folder): "C:\Windows\Web\Wallpaper\Windows\img0.jpg" now o
wned by the administrators group.

C:\windows\system32>ICACLS C:\Windows\Web\Wallpaper\Windows\img0.jpg /grant Admi
nistratorsF)
processed file: C:\Windows\Web\Wallpaper\Windows\img0.jpg
Successfully processed 1 files; Failed processing 0 files

C:\windows\system32>ATTRIB -R C:\Windows\Web\Wallpaper\Windows\img0.jpg

C:\windows\system32>ATTRIB C:\Windows\Web\Wallpaper\Windows\img0.jpg
A C:\Windows\Web\Wallpaper\Windows\img0.jpg

C:\windows\system32>ATTRIB C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpa
per-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
A C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31
bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg

C:\windows\system32>ICACLS C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_3
1bf3856ad364e35_6.1.7600.16385_none_a4cc3ba14850df9e\background.bmp
C:\Windows\WinSxS\amd64_setup-uxwizard-clientimages_31bf3856ad364e35_6.1.7600.16
385_none_a4cc3ba14850df9e\background.bmp NT SERVICE\TrustedInstallerF)

BUILTIN\AdministratorsRX)

NT AUTHORITY\SYSTEMRX,W)

BUILTIN\UsersRX,W)

Successfully processed 1 files; Failed processing 0 files

C:\windows\system32>ICACLS C:\Windows\Web\Wallpaper\Windows\img0.jpg
C:\Windows\Web\Wallpaper\Windows\img0.jpg NT SERVICE\TrustedInstallerF)
BUILTIN\AdministratorsF)
NT AUTHORITY\SYSTEMRX,W)
BUILTIN\UsersRX,W)

Successfully processed 1 files; Failed processing 0 files

C:\windows\system32>ICACLS C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpa
per-windows_31bf3856ad364e35_6.1.7600.16385_none_370717dbca22c586\img0.jpg
C:\Windows\WinSxS\amd64_microsoft-windows-s..l-wallpaper-windows_31bf3856ad364e3
5_6.1.7600.16385_none_370717dbca22c586\img0.jpg NT SERVICE\TrustedInstallerF)

BUILTIN\AdministratorsF)

NT AUTHORITY\SYSTEMRX,W)

BUILTIN\UsersRX,W)

Successfully processed 1 files; Failed processing 0 files
My System SpecsSystem Spec
Reply

 8024402C Windows Update error




Thread Tools



Similar help and support threads for2: 8024402C Windows Update error
Thread Forum
Solved 8024402C Windows Check for Update error Windows Updates & Activation
Solved Instant Windows Update error 8024402C Windows Updates & Activation
windows 7 update error 8024402C Windows Updates & Activation
Windows Update Failed: Error 8024402C Windows Updates & Activation
Solved Windows wont update error-8024402C Windows Updates & Activation
Windows Update Error code 8024402C Windows Updates & Activation
WindowsUpdate_ Error 8024402C help 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 01:22 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33