Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: SFC logs when running from a repair disk

09 May 2011   #1

Windows 7 Professional x64
SFC logs when running from a repair disk

Hi, everyone!

I have a Dell notebook wiht Win7 64-bit that is getting a BSOD (0xF4) and I'm fairly certain is was caused by a rootkit, although I'm not 100% certain. One debugger shows wininit.exe as the culprit and another shows the kernel itself. At any rate, the system will not boot. It gets to where the login dialog is about to show and gets the BSOD. It will not boot in safemode either.

Anyway, I've tested the hard drive and memory and I'm fairly certain that it is corrupted and/or rootkit files that is the problem. So I've booted to a Win7 repair disk and ran SFC and it tells me that files are corrupted and it can't fix them. Normally I would check the CBS.log file to see what's up, but I'm not sure where the log file is when running SFC from the repair disk. I've searched the "X" drive and the "C" drive, but there's no log files.

Is there anyway I can get to a log or make it create one somewhere so I can see what SFC's problem is and try to manually fix the files or something?


My System SpecsSystem Spec
09 May 2011   #2
The Howling Wolves

Windows 7 Home Premium 64bit

Here a start for test and postings to run.
2.RAM - Test with Memtest86+
3. SF Diagnostic Tool - Using for Troubleshooting

Post back so the BSOD squad can help you.
My System SpecsSystem Spec
09 May 2011   #3

Windows 7 Professional x64

Ok.. I can't do either of step 1 or 3 because I cannot boot into Windows.

As I mentioned in my previous post, I already checked the RAM. (Actually, I checked it with Memtest86+)

My question really isn't about the BSOD. I already know what the error is and more than likely why I'm getting it. My question was more as a result of the BSOD, I believe I need to replace some system files that may have been corrupted.

I know when running SFC from within Windows it logs it's data to the CBS.log. However, I am running SFC after booting to a Windows 7 Repair Disk by using this command:

"sfc /offbootdir=c:\ /offwindir=c:\windows /scannow"

It is performing the scan and giving me the message:

"Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log"

Normally in this case, I would go to the CBS.log file in the above location and look for entries from SFC. However, apparently when you run SFC from the repair disk it does not create a log in that location, or any other location that I can find. I did a "dir CBS.log /s" on the "C:\" drive and on the "X:\" drive that the repair disk creates (I'm assuming it's a RAM drive.) No CBS.log is to be found. (At least not one recently modified.. there is a CBS.log file on the C: drive, but it's not been modified since April.)

So, my question primarily is how do I get a log out of SFC so that I can figure out what files to replace?

My System SpecsSystem Spec

07 Jul 2011   #4

Vistat 32bit

Did you ever solve this? I'm having the same issue with a Vista machine. I checked both places for cbs.log and can't find it.
My System SpecsSystem Spec
20 Nov 2011   #5

windows 7 home premium

For future Googlers, I ran into this same problem and was able to solve it: you can redirect the log by using an environment variable. I'm my case, I did


Before running sfc. Also the recovery console doesn't have findstr, but you can easily use find instead to extract relevant entries from the log, like so:

find "[SR]" C:\TEMP\CBS.log > C:\TEMP\sfcdetails.txt

There, now you have a log! I hope the hours I spent on this help someone else.
My System SpecsSystem Spec
21 Nov 2011   #6

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1

it is a hidden file! start notepad from command prompt and open it
My System SpecsSystem Spec

 SFC logs when running from a repair disk

Thread Tools

Similar help and support threads
Thread Forum
Is Repair Disk same as Recovery Disk?
Hi. I am new here and I need some help. I created a repair disk a few weeks ago but I'm not sure if it'll also work as a recovery CD, meaning that if I need it, it'll reformat my hard drive. Is this disk good enough to reformat my hard drive, or will I have to order recovery discs from...
Performance & Maintenance
Why does Windows 7 Repair disk never seem to repair anything?
I have run the Win 7 repair cd several times and the message always comes back that the repair disk could not fix the problem. What is it good for? My installation goes down for apparently no reason-- earlier or later the same day a blue screen will happen and the Win 7 repair mode kicks in. ...
General Discussion
Host disk is running out of room, can't shrink virtual hard disk?
Hi Everyone, I have a challenge with resizing a virtual disk - here are a few details before I plunge into the challenge at hand; 1). The HOST O/S is Windows 7 x64 2). The GUEST O/S is Windows XP 3). The Desktop Virtualization software is VMware Workstation 8 Background - originally when...
Repair CD - System Repair Disk
Recently questions were raised as to what functions are available on the System Repair CD - Create that Windows 7 will create and burn to a CD. These clips are are from a 32 bit CD I made: Insert the CD in the CD / DVD drive and reboot the computer. When requested, "Hit any key to boot...
Performance & Maintenance
Windows 7 Main Account Logs On then Automatically Logs Off
New to the site and I hope this is in the right forum. I am using Windows 7 Pro 64 and my main account logs in then automatically logs off. I can successfully log in using Safe Mode to this account. I created another account called test and I can access this account in both Safe and Normal...
General Discussion
System Repair Disk not booting into repair options
Created it with no problems, apparently at least. My BIOS is set to boot from CD why won't my machine boot from the system repair disk? There were no errors when disk was created. My machine just boots to windows. Anyone else experience this with Win 7 Professional? Any tips?
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:17.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App