SFC logs when running from a repair disk

oldmuttonhead

New member
Local time
2:28 AM
Messages
2
Location
Pendleton, IN
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?

Thanks!
 

My Computer My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel Core i7 860
Motherboard
Intel DP55WB
Memory
8GB
Graphics Card(s)
ATI Radeon HD 4650
Sound Card
Realtek (Onboard)
Monitor(s) Displays
Viewsonic VG2427wm and Viewsonic VA703b
Screen Resolution
1920x1018 and 1280x1024
Hard Drives
Seagate 1.5TB SATA
WDC WD5000AAKS 500GB
Seagate FA GoFlex 2TB USB 3.0
PSU
Antec 500W
Case
Antec
Keyboard
Microsoft Wireless Desktop
Mouse
Microsoft Wireless
Internet Speed
Cable

My Computer My Computer

Computer Manufacturer/Model Number
HP M9077c
OS
Windows 7 Home Premium 64bit
CPU
Intel(R)Core(TM)2 quad [email protected] 2.39GHz
Motherboard
ASUSeK
Memory
6GB DDR2 6400
Graphics Card(s)
GeForce 8500/512MB
Sound Card
Realtek High Def Audio
Monitor(s) Displays
HP w2408 LCD 24" widescreen
Screen Resolution
1920x1200
Cooling
6 pack of Bud
Keyboard
MS wireless Inteli
Mouse
MS wireless Inteli
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?

Thanks!
 

My Computer My Computer

Computer Manufacturer/Model Number
Custom
OS
Windows 7 Professional x64
CPU
Intel Core i7 860
Motherboard
Intel DP55WB
Memory
8GB
Graphics Card(s)
ATI Radeon HD 4650
Sound Card
Realtek (Onboard)
Monitor(s) Displays
Viewsonic VG2427wm and Viewsonic VA703b
Screen Resolution
1920x1018 and 1280x1024
Hard Drives
Seagate 1.5TB SATA
WDC WD5000AAKS 500GB
Seagate FA GoFlex 2TB USB 3.0
PSU
Antec 500W
Case
Antec
Keyboard
Microsoft Wireless Desktop
Mouse
Microsoft Wireless
Internet Speed
Cable
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 Computer My Computer

OS
Vistat 32bit
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

set WINDOWS_TRACING_LOGFILE=C:\TEMP\CBS.log

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 Computer My Computer

OS
windows 7 home premium
X:\Windows\Logs\CBS\CBS.log
it is a hidden file! start notepad from command prompt and open it
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ACER ASPIRE 5742G
OS
Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 370 @ 2.40GHz
Motherboard
Acer Aspire 5742G
Memory
4,00 GB
Graphics Card(s)
ATI Mobility Radeon HD 5400 Series
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
WDC WD5000BEVT-22ZAT0
Back
Top