M HYPE SPLASH
// general

How do I gain access over C:\Windows\Logs\CBS\CBS.log?

By Emma Valentine

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?...

5

5 Answers

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

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

4

The Microsoft article on SFC suggests using the following command to copy the SFC entries from the log to your desktop. You should then be able to open it in Notepad.

1.Open an elevated command prompt as described in the previous step 1.

2.At the command prompt, type the following command, and then press ENTER:

findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt"

2

I think you should be able to take a copy and open that.

3

Go back to cmd (right click and run as administrator) and type in:

notepad C:\Windows\Logs\CBS\CBS.log

Then hit ENTER.

Open Start Menu > select Accessories > right-click on Notepad > select Run as Administrator. After Notepad opens > select File > Open > when Win File Explore window opens > select File Type drop down menu > select All splat.splat > go to C:\Windows\Logs\CBS\ > select CBS.log > select Open

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy