CBS.Logs access denied ??

Discussion in 'Windows Vista Performance' started by t-4-2, May 10, 2008.

  1. t-4-2

    t-4-2 Guest

    Hello everyone,
    I ran a sfc /scannow, and like before, I have corrupt files.
    I ran C:\Windows\Logs|CBS\CBS.log, I got " cannot find path specified
    ". I was running a Administrator command prompt. So, what to do, and how
    to repair the corrupt files ??
    Please see link for my screenshot of command prompt. Thank you.

    'ImageGrotto: Free Image and Screenshot Hosting'
    (http://imagegrotto.com/view-sfc__CBS10939.JPG)
     
    t-4-2, May 10, 2008
    #1
    1. Advertisements

  2. t-4-2

    t-4-2 Guest

    Addition question
    When I first ran a CBS.Logs in my admin/standard account, I got Acces
    Denied.( I did right click , Run As Admin routine). Then I switched t
    built-in admin account, I got " cannot find path specified". Why did
    get 2 different messages in 2 different accounts ?
     
    t-4-2, May 10, 2008
    #2
    1. Advertisements

  3. t-4-2

    PaulB Guest

    After looking at your screen shot, it seems that you type the path in wrong.
    You have C:\WindowsLogs instead of C:\Windows\logs
     
    PaulB, May 10, 2008
    #3
  4. t-4-2

    t-4-2 Guest

    Yes, Paul. My typo error. However, after "correctly" entered th
    command, I still got Access Denied ! Please see screenshot link below

    '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, May 10, 2008
    #4
  5. t-4-2

    PaulB Guest

    I usually just open notepad with Run as administrator and then open the log.
     
    PaulB, May 10, 2008
    #5
  6. t-4-2

    PaulB Guest

    Open elevated command prompt and type
    notepad c:\windows\logs\cbs\cbs.log
     
    PaulB, May 11, 2008
    #6
  7. t-4-2

    PaulB Guest

    It appears that any program you use to read that file needs to be run elevated.
     
    PaulB, May 11, 2008
    #7
  8. t-4-2

    t-4-2 Guest

    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, May 11, 2008
    #8
  9. 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=?= <>
    | >References: <>
    <>
    <>
    <>
    <>
    | >Subject: Re: CBS.Logs access denied ??
    | >Date: Sat, 10 May 2008 16:08:00 -0700
    | >Lines: 53
    | >Message-ID: <>
    | >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'
    | >> > (http://imagegrotto.com/view-cbs.logs10953.JPG)
    | >> >
    | >> > PS. This was done in Built-in admin account.
    | >> >
    | >> >
    | >> > --
    | >> > t-4-2
    | >> >
    | >
     
    Darrell Gorter[MSFT], May 11, 2008
    #9
  10. t-4-2

    t-4-2 Guest

    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 m
    own admin/standard account
     
    t-4-2, May 11, 2008
    #10
  11. t-4-2

    Mark Guest

    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.
     
    Mark, May 11, 2008
    #11
  12. t-4-2

    Mark Guest

    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
     
    Mark, May 11, 2008
    #12
  13. t-4-2

    t-4-2 Guest

    Hello Mark
    WOW ! That sounds promising ! I'll let you know after I give it a go
    Thank you
     
    t-4-2, May 11, 2008
    #13
  14. t-4-2

    t-4-2 Guest

    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, May 11, 2008
    #14
  15. t-4-2

    Mark Guest

    The "better" search command:
    findstr /C:"[SR] Cannot repair member file" %windir%\logs\cbs\cbs.log
    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.



     
    Mark, May 11, 2008
    #15
  16. t-4-2

    PaulB Guest

    I found this and thought you might be interested.

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


     
    PaulB, May 11, 2008
    #16
  17. t-4-2

    t-4-2 Guest

    Hello Paul
    Interesting. I'll investigate further. Thank you
     
    t-4-2, May 11, 2008
    #17
  18. t-4-2

    t-4-2 Guest

    Hello Mark,
    Your new search command doesn't work. Please see screenshot.
    'ImageGrotto: Free Image and Screenshot Hosting'
    (http://imagegrotto.com/view-search_command_cbs_log11016.JPG)
     
    t-4-2, May 11, 2008
    #18
  19. t-4-2

    njnitehawk Guest

    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


    --
    njnitehawk

    gigabyte x38t-dq6 w/
    Realtek ALC889A codec
    intel core2 quad Q6600 2.4ghz
    4gb ddr3 Corsair TWIN3X2048-1333C9DHX (4)
    nvidia geforce 8800gt 512mb
    500gb wd hd
    250gb wd hd
    vista 64-bit ulimate
    pioneer dvd-rw dvr215d
    lite-on cd-rw sohr
    samsung 21.3 screen
    creative inspire pt7800 7.1
    plus 2.1 addtional speakers
    hp officejet j5750
    cable
    microsoft wireless mouse and keyboard 60000
    Arctic Cooling Freezer 7 Pro
    Corsair CMPSU-750TX
    not overclocked
    5.7 score
    425 geek score
     
    njnitehawk, May 11, 2008
    #19
  20. t-4-2

    t-4-2 Guest

    Hello ninitehawk

    we might have 2 different issues here. Please explain what problems an
    errors you have. Thank you
     
    t-4-2, May 11, 2008
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.