My CBS.log file is 126MB. From services, the options to stop and/or disable the service 'Windows Module Installer' are dimmed out. Any ideas how I can stop the service so I delete the log file and get the space back?
I can't access this log file for some reason. This is what I have tried so far:.
run prompt: C:WindowsLogsCBSCBS.log. notepad: C:WindowsLogsCBSCBS.log. elevated cmd: C:WindowsLogsCBSCBS.log.
notepadMicrosoft Windows Version 6.0.6002Copyright (c) 2006 Microsoft Corporation. All rights reserved.C:Windowssystem32C:WindowsLogsCBSCBS.logAccess is denied.C:Windowssystem32What 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 repairedthem. Details are included in the CBS.Log windirLogsCBSCBS.log. Forexample C:WindowsLogsCBSCBS.logBut for some unfounded reason Windows doesn't allow me to view this file.
Allow me to highlight the important part from that page: This is a massive file of approximately 5MB and if you care to see it all, you must send CBS.log to one of your own folders from where you can double click on it. It will then open with Notepad. Note: You cannot open it inside the CBS folder. You will get an Access denied message. As I noted in the answers below it is not entirely necessary to copy the file anywhere. But copying it to a folder within the user profile folder will definitely make the file open without restrictions. So thumbs up for that!–Jun 13 '13 at 18:26.
This results in a much smaller output file with only the relevant information. So this could be useful if you are only interested in things that concern SFC (system file checker). This makes use of the findstr (find string) command which searches the string SR within the CBS.log file. The output is then sent to the current users desktop with the name sfcdetails.txt. That's pretty neat. Now does anyone know what SR stands for? I mean it doesn't explicitly say 'SFC' but I guess there's some meaning to it.–Jun 13 '13 at 18:44.
There shouldn't be a need and there is in fact no need to copy it anywhere. On any intelligent operating system one must be able to open files, and one needs to be able to open files from their current location. So running notepad C:WindowsLogsCBSCBS.log will open in an elevated cmd window will open the file in notepad. But I made sure to check your solution, and as it turns out copying the file to e.g. Desktop will make it readable. When it was on Desktop I could open it in Notepad by a simple double click.–Jun 13 '13 at 18:16.