Access denied to CBS.log file
Hi there,
I found the cbs.log file but when I tried to open it I get access denied. Found a similar question in another post but was unable to find a solution. Running Vista Home Premium SP2 64 bit on a HP Pavillion dv9700 without Windows 7 or IE8. Also tried to copy the file to documents as suggested in another post and ran as administrator on the command line without any luck. Any other simple suggestions are appreciated.
2 people need an answerI do too
All Replies
http://support.microsoft.com/default.aspx/kb/928228
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program generates in Windows Vista
How to view the log file
The SFC.exe program writes the details of each verification operation and of each repair operation to the CBS.log file. Each SFC.exe program entry in this file has an [SR] tag. The CBS.log file is located in the %windir%\Logs\CBS folder.
Note The Windows Modules Installer service also writes to this log file. (The Windows Modules Installer service installs optional features, updates, and service packs.)
You can search for [SR] tags to help locate SFC.exe program entries. To perform this kind of search and to redirect the results to a text file, follow these steps:- Click Start
, type cmd in the Start Search box, right-click cmd in the Programs list, and then click Run as administrator.Collapse this imageExpand this image

If you are prompted for an administrator password or for a confirmation, type your password, or click Continue.Collapse this imageExpand this image
- Type the following command, and then press ENTER:
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt
Cheers.
Mick Murphy - Microsoft Partner- Click Start
- Mick,
Hi there, thanks for the suggestion but I ve already tried that and still get access denied when pressing enter after typing the command in elevated Command Prompt. Hello talefeather,
Thank you for visiting the Microsoft Answers Community.
Try this:· Click Start Orb > type cmd in the searchbox
· Right-click cmd in the results above > click Run as administrator
· At the prompt type notepad c:\windows\logs\cbs\cbs.log then press enter
Then follow the step that Mick supplied.
Hope this helps
Chris.H
Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think.- Chris.H,
Thanks for the suggestion. Your method worked but then you suggested to follow the step that Mick supplied. Now do I do this in the cmd.exe or in the note pad that came up after typing in the prompt that you suggested? Because if I follow the step that Nick suggested nothing shows up after hitting enter after typing in the prompt he suggested at the cmd.exe program. A little confused. Sorry. - Hello talefeather,
What I was meaning by that is after you were in the file, searching for the errors. Take a look at this KB article about how to analyze the log file.
Use the method I provided previous to open the file, then look through the log file to determine what could not be repaired.
Hope this helps
Chris.H
Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think. - Hey Chris,
the problem i'm having is that i cannot download Vista SP2 because of a corrupt file of some sort. cannot find a solution to that error when using windows update. anyway, here is what i found when i followed your steps above...what do you think it might be?
2009-11-14 14:14:26, Error CSI 00000070 (F) STATUS_FILE_CORRUPT_ERROR #1776848# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = 0, handle = {provider=NULL, handle=0}, da = (FILE_GENERIC_READ|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA|FILE_APPEND_DATA|FILE_WRITE_DATA), oa = @0x16ae850->OBJECT_ATTRIBUTES {s:24; rd:NULL; on:[81]"\SystemRoot\WinSxS\Temp\PendingRenames\c0f325106765ca01330a0000a415c001.$$.cdf-ms"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x16ae82c, as = (null), fa = 0x00000020, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN_IF, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = (null))
[gle=0xd0000102]
2009-11-14 14:14:26, Error CSI 00000071@2009/11/14:20:14:26.045 (F) d:\longhorn\base\wcp\sil\merged\ntu\ntsystem.cpp(1854): Error STATUS_FILE_CORRUPT_ERROR originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
[gle=0x80004005]
2009-11-14 14:14:30, Error CSI 00000072 (F) STATUS_FILE_CORRUPT_ERROR #1776837# from Windows::Rtl::SystemImplementation::CFile_IRtlFileTearoff::SetContents(file = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms", flags = 0, contents = {l:3600 b:50636d480100000000000000668929e80c7e131b4b000000800200002a0000005400000000000000000000000d0000004c02000000000000000000004a000000ffffffffff1b352825d55541acb06e7c64c725d8233dffff0000000000000000dcf7b34b0000000001000000e690d6260000000002000000d45bc52d00000000...})[gle=0xd0000102]
2009-11-14 14:14:30, Error CSI 00000073 (F) STATUS_FILE_CORRUPT_ERROR #1776831# from CFileInstaller::AddFileMappingContent(...)[gle=0xd0000102]
2009-11-14 14:14:30, Error CSI 00000074 (F) STATUS_FILE_CORRUPT_ERROR #1776743# from CFileInstaller::CommitChanges(...)[gle=0xd0000102]
2009-11-14 14:14:30, Error CSI 00000075 (F) STATUS_FILE_CORRUPT_ERROR #1776742# from PrimitiveInstaller::CCoordinator::FinalizeChanges(...)[gle=0xd0000102]
2009-11-14 14:16:28, Info CSI 00000076 [SR] Verifying 100 (0x00000064) components Hey Chris,
the problem i'm having is that i cannot download Vista SP2 because of a corrupt file of some sort. cannot find a solution to that error when using windows update. anyway, here is what i found when i followed your steps above...what do you think it might be?
2009-11-14 14:14:26, Error CSI 00000070 (F) STATUS_FILE_CORRUPT_ERROR #1776848# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = 0, handle = {provider=NULL, handle=0}, da = (FILE_GENERIC_READ|FILE_WRITE_ATTRIBUTES|FILE_WRITE_EA|FILE_APPEND_DATA|FILE_WRITE_DATA), oa = @0x16ae850->OBJECT_ATTRIBUTES {s:24; rd:NULL; on:[81]"\SystemRoot\WinSxS\Temp\PendingRenames\c0f325106765ca01330a0000a415c001.$$.cdf-ms"; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x16ae82c, as = (null), fa = 0x00000020, sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN_IF, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = (null))
[gle=0xd0000102]
2009-11-14 14:14:26, Error CSI 00000071@2009/11/14:20:14:26.045 (F) d:\longhorn\base\wcp\sil\merged\ntu\ntsystem.cpp(1854): Error STATUS_FILE_CORRUPT_ERROR originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
[gle=0x80004005]
2009-11-14 14:14:30, Error CSI 00000072 (F) STATUS_FILE_CORRUPT_ERROR #1776837# from Windows::Rtl::SystemImplementation::CFile_IRtlFileTearoff::SetContents(file = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms", flags = 0, contents = {l:3600 b:50636d480100000000000000668929e80c7e131b4b000000800200002a0000005400000000000000000000000d0000004c02000000000000000000004a000000ffffffffff1b352825d55541acb06e7c64c725d8233dffff0000000000000000dcf7b34b0000000001000000e690d6260000000002000000d45bc52d00000000...})[gle=0xd0000102]
2009-11-14 14:14:30, Error CSI 00000073 (F) STATUS_FILE_CORRUPT_ERROR #1776831# from CFileInstaller::AddFileMappingContent(...)[gle=0xd0000102]
2009-11-14 14:14:30, Error CSI 00000074 (F) STATUS_FILE_CORRUPT_ERROR #1776743# from CFileInstaller::CommitChanges(...)[gle=0xd0000102]
2009-11-14 14:14:30, Error CSI 00000075 (F) STATUS_FILE_CORRUPT_ERROR #1776742# from PrimitiveInstaller::CCoordinator::FinalizeChanges(...)[gle=0xd0000102]
2009-11-14 14:16:28, Info CSI 00000076 [SR] Verifying 100 (0x00000064) components
bump

