- 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
- 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)
The SFC scan shows no problems. There are no significant errors in the CBS.log
There is no CheckSUR log in your upload??
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
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
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
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
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
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 UserCI)(S,WD,AD,X)
ICACLS C:\Windows\Temp
post the results.
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
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 UsersCI)(S,WD,AD,X)
ICACLS C:\Windows\Temp
post the results.
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>
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
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
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