Windows – How to gain access over C:\Windows\Logs\CBS\CBS.log

command linefile-permissionswindows-vista

I can't access this log file for some reason. This is what I have tried so far:

  • run prompt: C:\Windows\Logs\CBS\CBS.log
  • notepad: C:\Windows\Logs\CBS\CBS.log
  • elevated cmd: C:\Windows\Logs\CBS\CBS.log
  • notepad++

notepad - access denied

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>C:\Windows\Logs\CBS\CBS.log
Access is denied.

C:\Windows\system32>

notepad++ - can not open file

What am I missing? How do I access this file?

I am trying to view this log as part of a system file checker operation. It has found corrupted files and it clearly indicated that I can find the log in this location.

Windows Resource Protection found corrupt files and successfully repaired
them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log

But for some unfounded reason Windows doesn't allow me to view this file. Why?…

Best Answer

You must run the tools elevated (as admin) to open the file:

http://windows.microsoft.com/en-US/windows7/How-do-I-run-an-application-once-with-a-full-administrator-access-token

You can also copy the file to your desktop and open it there.

Related Question