Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista performance & maintenance

CBS.Logs access denied ??

Closed Thread
 
Thread Tools Display Modes
Old 05-10-2008   #11 (permalink)
Mark
Guest


 

Re: CBS.Logs access denied ??

From an elevated command prompt, run:
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt

This will create a file... sfcdetails.txt, that narrows the field to errors
only.


"t-4-2" <guest@xxxxxx-email.com> wrote in message
news:676bc4db22e075e2770f130c16ff6b23@xxxxxx-gateway.com...
Quote:

>
> PaulB;708405 Wrote:
Quote:

>> It appears that any program you use to read that file needs to be run
>> elevated.
>> --
>> Paul
>>
>>
>> "PaulB" wrote:
Quote:

>> > > >
>> > > Open elevated command prompt and type
>> > > notepad c:\windows\logs\cbs\cbs.log
>> > > --
>> > > Paul
>> > >
>> > >
>> > > "t-4-2" wrote:
>> > >> >
> Hello Paul,
> The notepad c: command worked. Thank you. That was a LONG list. I can't
> make head or tail out of it, never mind trying to isolate the corrupt
> files for repair/replace.
> Man! It was a long list ! I stopped at February/08! Thanks again.
>
>
> --
> t-4-2
Old 05-10-2008   #12 (permalink)
Mark
Guest


 

Re: CBS.Logs access denied ??

Sorry, that file will contain everything that SFC generated, not just
errors.
If you replace [SR] with Repairing, it should narrow the list to just files
that SFC thought it should fix.

NOTE: SFC is a bit buggy and will report files were repaired even when none
were repaired.
This might be useful:
http://support.microsoft.com/kb/928228



"t-4-2" <guest@xxxxxx-email.com> wrote in message
news:676bc4db22e075e2770f130c16ff6b23@xxxxxx-gateway.com...
Quote:

>
> PaulB;708405 Wrote:
Quote:

>> It appears that any program you use to read that file needs to be run
>> elevated.
>> --
>> Paul
>>
>>
>> "PaulB" wrote:
Quote:

>> > > >
>> > > Open elevated command prompt and type
>> > > notepad c:\windows\logs\cbs\cbs.log
>> > > --
>> > > Paul
>> > >
>> > >
>> > > "t-4-2" wrote:
>> > >> >
> Hello Paul,
> The notepad c: command worked. Thank you. That was a LONG list. I can't
> make head or tail out of it, never mind trying to isolate the corrupt
> files for repair/replace.
> Man! It was a long list ! I stopped at February/08! Thanks again.
>
>
> --
> t-4-2
Old 05-10-2008   #13 (permalink)
Senior Member


  t-4-2 is offline

Re: CBS.Logs access denied ??

Quote:
View Post
From an elevated command prompt, run:
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt

This will create a file... sfcdetails.txt, that narrows the field to errors
only.


"t-4-2" <guest@xxxxxx-email.com> wrote in message
news:676bc4db22e075e2770f130c16ff6b23@xxxxxx-gateway.com...
Quote:
>
> PaulB;708405 Wrote:
> Hello Paul,
> The notepad c: command worked. Thank you. That was a LONG list. I can't
> make head or tail out of it, never mind trying to isolate the corrupt
> files for repair/replace.
> Man! It was a long list ! I stopped at February/08! Thanks again.
>
>
> --
> t-4-2
Hello Mark,
WOW ! That sounds promising ! I'll let you know after I give it a go. Thank you.
Old 05-10-2008   #14 (permalink)
Senior Member


  t-4-2 is offline

Re: CBS.Logs access denied ??

Quote:
View Post
Sorry, that file will contain everything that SFC generated, not just
errors.
If you replace [SR] with Repairing, it should narrow the list to just files
that SFC thought it should fix.

NOTE: SFC is a bit buggy and will report files were repaired even when none
were repaired.
This might be useful:
How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program generates in Windows Vista



"t-4-2" <guest@xxxxxx-email.com> wrote in message
news:676bc4db22e075e2770f130c16ff6b23@xxxxxx-gateway.com...
Quote:
>
> PaulB;708405 Wrote:
> Hello Paul,
> The notepad c: command worked. Thank you. That was a LONG list. I can't
> make head or tail out of it, never mind trying to isolate the corrupt
> files for repair/replace.
> Man! It was a long list ! I stopped at February/08! Thanks again.
>
>
> --
> t-4-2
Hello Mark,
1. I could not get any respnse if I replaced [SR] with Repairing. Perhaps if you show me how to type the command correctly?
2.I have the sfcdetails.txt in which I have 4 corrupted files it couldn't repaired. I have included a screenshot for 2 of them. The screen was not wide enough, so you can only see part of each.
3. The main question now is : how to repair/replace those corrupted files.
I did read the link you gave me. Seen it before. Thank you.
ImageGrotto: Free Image and Screenshot Hosting
Old 05-11-2008   #15 (permalink)
Mark
Guest


 

Re: CBS.Logs access denied ??

The "better" search command:
findstr /C:"[SR] Cannot repair member file" %windir%\logs\cbs\cbs.log
Quote:

>sfcdetails.txt
First of all, not every reported error is actually an error. SFC has bugs.
Well, not really bugs, but it doesn't run as expected under different
situations.

If the System File Checker tool cannot repair a file, follow these steps:
1. At an elevated command prompt, type the following command, and then press
ENTER:
takeown /f Path_And_File_Name
For example, type takeown /f E:\windows\system32\jscript.dll.
2. Type the following command, and then press ENTER to grant administrators
full access to the file:
icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
For example, type icacls E:\windows\system32\jscript.dll /grant
administrators:F.
3. Type the following command to replace the file with a known good copy of
the file:
Copy Path_And_File_Name_Of_Source_File
Path_And_File_Name_Of_Destination
For example, type copy E:\temp\jscript.dll
E:\windows\system32\jscript.dll.

Before you replace files, try running SFC in Safe Mode, or run the Repair
option from the Install DVD.



"t-4-2" <guest@xxxxxx-email.com> wrote in message
news:b8c9121f2f15f9e97d31dd421cac1b37@xxxxxx-gateway.com...
Quote:

>
> Mark;708501 Wrote:
Quote:

>> Sorry, that file will contain everything that SFC generated, not just
>> errors.
>> If you replace [SR] with Repairing, it should narrow the list to just
>> files
>> that SFC thought it should fix.
>>
>> NOTE: SFC is a bit buggy and will report files were repaired even when
>> none
>> were repaired.
>> This might be useful:
>> 'How to analyze the log file entries that the Microsoft Windows
>> Resource Checker (SFC.exe) program generates in Windows Vista'
>> (http://support.microsoft.com/kb/928228)
>>
>>
>>
>> "t-4-2" <guest@xxxxxx-email.com> wrote in message
>> news:676bc4db22e075e2770f130c16ff6b23@xxxxxx-gateway.com...> > >
Quote:

>> > >
>> > > PaulB;708405 Wrote:
>> > > Hello Paul,
>> > > The notepad c: command worked. Thank you. That was a LONG list. I
>> > can't
>> > > make head or tail out of it, never mind trying to isolate the corrupt
>> > > files for repair/replace.
>> > > Man! It was a long list ! I stopped at February/08! Thanks again.
>> > >
>> > >
>> > > --
>> > > t-4-2 > >
> Hello Mark,
> 1. I could not get any respnse if I replaced [SR] with Repairing.
> Perhaps if you show me how to type the command correctly?
> 2.I have the sfcdetails.txt in which I have 4 corrupted files it
> couldn't repaired. I have included a screenshot for 2 of them. The
> screen was not wide enough, so you can only see part of each.
> 3. The main question now is : how to repair/replace those corrupted
> files.
>
> 'ImageGrotto: Free Image and Screenshot Hosting'
> (http://imagegrotto.com/view-cbs.logs10978.JPG)
>
>
> --
> t-4-2
Old 05-11-2008   #16 (permalink)
PaulB
Guest


 

Re: CBS.Logs access denied ??

I found this and thought you might be interested.

http://technet.microsoft.com/en-us/m.../cc162321.aspx
--
Paul


"t-4-2" wrote:
Quote:

>
> PaulB;708405 Wrote:
Quote:

> > It appears that any program you use to read that file needs to be run
> > elevated.
> > --
> > Paul
> >
> >
> > "PaulB" wrote:
Quote:

> > > > >
> > > > Open elevated command prompt and type
> > > > notepad c:\windows\logs\cbs\cbs.log
> > > > --
> > > > Paul
> > > >
> > > >
> > > > "t-4-2" wrote:
> > > >> >
>
> 'Darrell Gorter[MSFT Wrote:
Quote:

> > ;708439']Hello
> > You would be correct Paul.
> > The application would have to run elevated to open the cbs.log file.
> > Not all log file require this elevation to be opened.
> > Thanks,
> > Darrell Gorter[MSFT]
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights
> > --------------------
> > | >Thread-Topic: CBS.Logs access denied ??
> > | >thread-index: Aciy8rFNYj87/srFQpinvniuyGjYBQ==
> > | >X-WBNR-Posting-Host: 207.46.192.207
> > | >From: =?Utf-8?B?UGF1bEI=?= <PaulB@xxxxxx>
> > | >References: <ef104063df88f25c6daaf83792d3c716@xxxxxx-gateway.com>
> > <ccb637a3579e29316bb581dcf586fd92@xxxxxx-gateway.com>
> > <6C4F6407-7EC4-42EC-840F-435EFC4E4D23@xxxxxx>
> > <f46a89b3b078cca75a96a483bb4710e1@xxxxxx-gateway.com>
> > <C209623D-82D1-41F6-9D13-4EE1900152F8@xxxxxx>
> > | >Subject: Re: CBS.Logs access denied ??
> > | >Date: Sat, 10 May 2008 16:08:00 -0700
> > | >Lines: 53
> > | >Message-ID: <D9352AF4-3E15-47D0-827C-CA33F84AF89E@xxxxxx>
> > | >MIME-Version: 1.0
> > | >Content-Type: text/plain;
> > | > charset="Utf-8"
> > | >Content-Transfer-Encoding: 7bit
> > | >X-Newsreader: Microsoft CDO for Windows 2000
> > | >Content-Class: urn:content-classes:message
> > | >Importance: normal
> > | >Priority: normal
> > | >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2992
> > | >Newsgroups: microsoft.public.windows.vista.performance_maintenance
> > | >Path: TK2MSFTNGHUB02.phx.gbl
> > | >Xref: TK2MSFTNGHUB02.phx.gbl
> > microsoft.public.windows.vista.performance_maintenance:24404
> > | >NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
> > | >X-Tomcat-NG: microsoft.public.windows.vista.performance_maintenance
> > | >
> > | >It appears that any program you use to read that file needs to be
> > run
> > elevated.
> > | >--
> > | >Paul
> > | >
> > | >
> > | >"PaulB" wrote:
> > | >
> > | >> Open elevated command prompt and type
> > | >> notepad c:\windows\logs\cbs\cbs.log
> > | >> --
> > | >> Paul
> > | >>
> > | >>
> > | >> "t-4-2" wrote:
> > | >>
> > | >> >
> > | >> > PaulB;708333 Wrote:
> > | >> > > After looking at your screen shot, it seems that you type the
> > path
> > in
> > | >> > > wrong.
> > | >> > > You have C:\WindowsLogs instead of C:\Windows\logs
> > | >> > > --
> > | >> > > Paul
> > | >> > >
> > | >> > >
> > | >> > > "t-4-2" wrote:
> > | >> > > > > >
> > | >> > > > >
> > | >> > > > > t-4-2;708207 Wrote:
> > | >> > > > > Addition question :
> > | >> > > > > When I first ran a CBS.Logs in my admin/standard account,
> > I got
> > | >> > > > Access
> > | >> > > > > Denied.( I did right click , Run As Admin routine). Then I
> > switched
> > | >> > > > to
> > | >> > > > > built-in admin account, I got " cannot find path
> > specified".
> > Why did
> > | >> > > > I
> > | >> > > > > get 2 different messages in 2 different accounts ??
> > | >> > > > >
> > | >> > > > >
> > | >> > > > > --
> > | >> > > > > t-4-2
> > | >> > > > > > >
> > | >> > Yes, Paul. My typo error. However, after "correctly" entered the
> > | >> > command, I still got Access Denied ! Please see screenshot link
> > below.
> > | >> >
> > | >> > 'ImageGrotto: Free Image and Screenshot Hosting'
> > | >> > ('ImageGrotto: Free Image and Screenshot Hosting'
> > (http://imagegrotto.com/view-cbs.logs10953.JPG))
> > | >> >
> > | >> > PS. This was done in Built-in admin account.
> > | >> >
> > | >> >
> > | >> > --
> > | >> > t-4-2
> > | >> >
> > | >
> Hello,
> Re: elevated privilege to run cbs log. No need. I just right-clicked,
> run as admin,and typed notepad c:\ command. It worked. And I was on my
> own admin/standard account.
>
>
> --
> t-4-2
>
Old 05-11-2008   #17 (permalink)
Senior Member


  t-4-2 is offline

Re: CBS.Logs access denied ??

Quote:
View Post
I found this and thought you might be interested.

Utility Spotlight: Script Elevation PowerToys for Windows Vista
--
Paul


"t-4-2" wrote:
Quote:
>
> PaulB;708405 Wrote:
>
> 'Darrell Gorter[MSFT Wrote:
> Hello,
> Re: elevated privilege to run cbs log. No need. I just right-clicked,
> run as admin,and typed notepad c:\ command. It worked. And I was on my
> own admin/standard account.
>
>
> --
> t-4-2
>
Hello Paul,
Interesting. I'll investigate further. Thank you.
Old 05-11-2008   #18 (permalink)
Senior Member


  t-4-2 is offline

Re: CBS.Logs access denied ??

Quote:
View Post
The "better" search command:
findstr /C:"[SR] Cannot repair member file" %windir%\logs\cbs\cbs.log
Quote:
>sfcdetails.txt
First of all, not every reported error is actually an error. SFC has bugs.
Well, not really bugs, but it doesn't run as expected under different
situations.

If the System File Checker tool cannot repair a file, follow these steps:
1. At an elevated command prompt, type the following command, and then press
ENTER:
takeown /f Path_And_File_Name
For example, type takeown /f E:\windows\system32\jscript.dll.
2. Type the following command, and then press ENTER to grant administrators
full access to the file:
icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
For example, type icacls E:\windows\system32\jscript.dll /grant
administrators:F.
3. Type the following command to replace the file with a known good copy of
the file:
Copy Path_And_File_Name_Of_Source_File
Path_And_File_Name_Of_Destination
For example, type copy E:\temp\jscript.dll
E:\windows\system32\jscript.dll.

Before you replace files, try running SFC in Safe Mode, or run the Repair
option from the Install DVD.



"t-4-2" <guest@xxxxxx-email.com> wrote in message
news:b8c9121f2f15f9e97d31dd421cac1b37@xxxxxx-gateway.com...
Quote:
>
> Mark;708501 Wrote:
> Hello Mark,
> 1. I could not get any respnse if I replaced [SR] with Repairing.
> Perhaps if you show me how to type the command correctly?
> 2.I have the sfcdetails.txt in which I have 4 corrupted files it
> couldn't repaired. I have included a screenshot for 2 of them. The
> screen was not wide enough, so you can only see part of each.
> 3. The main question now is : how to repair/replace those corrupted
> files.
>
> 'ImageGrotto: Free Image and Screenshot Hosting'
> (ImageGrotto: Free Image and Screenshot Hosting)
>
>
> --
> t-4-2
Hello Mark,
Your new search command doesn't work. Please see screenshot.
ImageGrotto: Free Image and Screenshot Hosting
Old 05-11-2008   #19 (permalink)
Member


  njnitehawk is offline

Re: CBS.Logs access denied ??

i would like to state that my computer built less then 2 week has all the updated drivers

and all the security d/l BUT does not have the SP1 pack

due to the same problems with errors when running sfc

ms states i have some viruse(none reported by avast,one care,ad-aware,defender)

so i am stuck in limbo as well
Old 05-11-2008   #20 (permalink)
Senior Member


  t-4-2 is offline

Re: CBS.Logs access denied ??

Quote:
View Post
i would like to state that my computer built less then 2 week has all the updated drivers

and all the security d/l BUT does not have the SP1 pack

due to the same problems with errors when running sfc

ms states i have some viruse(none reported by avast,one care,ad-aware,defender)

so i am stuck in limbo as well
Hello ninitehawk,

we might have 2 different issues here. Please explain what problems and errors you have. Thank you.