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: How to get a log from chkdsk after running chkdsk from the RE?

24 Apr 2014   #1
DonnaB

Win7 64-bit, Vista 32-bit, XP 32-bit, W2K 32-bit (VM)
 
 
How to get a log from chkdsk after running chkdsk from the RE?

Hi there,

Is there any way to get a chkdsk log from an unbootable computer after you run chkdsk from the Recovery Environment (RE) so it can be posted on a forum?

Thank you,

Donna


My System SpecsSystem Spec
.
24 Apr 2014   #2
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

Here's where I look for chkdsk results:

Start/Control Panel/Administrative Tools/Event Viewer and open Windows logs in left pane. Double-click "Application". Look for chkdsk in the source column in the right pane for the time chkdsk was run. Double click that row to bring up details.

If the chkdsk is run on a reboot, as it would for a C drive, the results should be under a “wininit” listing in the source column, rather than under chkdsk.

That's where I look for results. You could just copy the results to a file and upload the file---or just copy the pertinent portion into a post.

I'm not sure how much of that you can get to from the recovery environment.

I'm not sure offhand if there is a more detailed log anywhere.
My System SpecsSystem Spec
24 Apr 2014   #3
DonnaB

Win7 64-bit, Vista 32-bit, XP 32-bit, W2K 32-bit (VM)
 
 

Hi ignatzatsonic,

Thank you kindly for your response.

Problem is the laptop is unbootable and I am having my OP run the chkdsk from the recovery console (aka "Repair Your Computer" option on the Advanced Boot Options menu.) I';d like for the OP to be able to obtain and post the log somehow for my viewing pleasure though she can not boot the computer into normal mode to do so.

I though maybe I could type into the cmd prompt to direct the log to notepad and then be placed on a USB though it didn't work for me. Not sure how to get a log....

Any ideas??
My System SpecsSystem Spec
.

24 Apr 2014   #4
ignatzatsonic

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium SP1, 64-bit
 
 

I just looked at the chkdsk switches from the command line and don't see anything pertaining to directing a log file.

I have very little experience with the recovery console.

What's the nature of the hard drive problem?
My System SpecsSystem Spec
24 Apr 2014   #5
DonnaB

Win7 64-bit, Vista 32-bit, XP 32-bit, W2K 32-bit (VM)
 
 

Well. After malware removal, which I am trained in, and a clean bill of health, the laptop black screened after running sfc. OP did point out that she was a victim of black screens prior to when the infection was noted. Confidant that all files are legit, none corrupt or missing, now focusing on the hardware side of the issue.

I'll just have to resort to having the OP take note of the chkdsk results and post the info concerning the sectors (good or bad), though I would personally like to view the log for my own viewing pleasure.

Thank you for your time, ignatzatsonic. I truly appreciate it.
My System SpecsSystem Spec
24 Apr 2014   #6
derekimo

Microsoft Community Contributor Award Recipient

 
 

Maybe option two of this tutorial will help with that,

Check Disk (chkdsk) - Read Event Viewer Log
My System SpecsSystem Spec
24 Apr 2014   #7
DonnaB

Win7 64-bit, Vista 32-bit, XP 32-bit, W2K 32-bit (VM)
 
 

Hi derekimo,

Hm? Not sure that will help. Is it even possible to bring up the Run box in a cmd prompt in the RE? I'll boot my laptop into the RE and experiment a bit, though even if it is possible, still can not access the desktop to retrieve CHKDSKRESULTS.txt.


My System SpecsSystem Spec
26 Apr 2014   #8
nommy the first

Microsoft Windows 8.1 64-bit Professional
 
 

Hey Donna, nice to see you over here at SF

I'm not entirely sure, but for as far as I know it should be possible yeah. Although I must say that I am not sure if you can open PowerShell via CMD in WinRE.. But if you can, then you can use this method.

Just make the OP open CMD, and then type the following command:
start powershell

Then, in PowerShell, make him run this command (as explained in Shawn's tut linked by Derek):
get-winevent -FilterHashTable @{logname="Application"; id="1001"}| ?{$_.providername –match "wininit"} | fl timecreated, message | out-file Desktop\CHKDSKResults.txt

This should create a .txt file called CHKDSKResults.txt on the OP his desktop.

You can then make the OP copy/paste it to a USB stick via this tutorial so that he can upload it via another machine.

If the OP doesn't have another machine, or if you can't access the desktop, you can open the .txt file within CMD by typing the following command:
cd c:\Documents and Settings\<USERNAME>\Desktop

Then type:
more CHKDSKResults.txt

This should open the first ten or something lines of the CHKDSK log in CMD, you can display more lines by hitting enter. Depending on the size of the log it's not an effective method, but it's better than nothing

Hope that this helps


Nommy
My System SpecsSystem Spec
26 Apr 2014   #9
DonnaB

Win7 64-bit, Vista 32-bit, XP 32-bit, W2K 32-bit (VM)
 
 

Hi Nommy!

Yes.... I lurk in the shadows from time to time here, on W8 forums and at Vista, too! I just love reading Brink's tutorials. Very educational, I might add!!

Quote:
If the OP doesn't have another machine, or if you can't access the desktop, you can open the .txt file within CMD by typing the following command:
cd c:\Documents and Settings\<USERNAME>\Desktop
OP does have another machine though we can't get to the desktop of the W7 laptop that has issues.We did run the chkdsk and no bad sectors were found.

Thank you for the suggestions. I'll have to try that on my machine as an experiment. I'm sure in the future I will come across a similar situation and will need to run chkdsk in WinRE.

Donna
My System SpecsSystem Spec
27 Apr 2014   #10
nommy the first

Microsoft Windows 8.1 64-bit Professional
 
 

Hey Donna,

Glad we could be of assistance

Good to hear that CHKDSK didn't find any bad sectors.
Oh, do note that the command that you quoted isn't the full command to open the .txt file though, it's the command to set the location in CMD to the desktop, the command after that, "more CHKDSKResults.txt", is the command to open it.

If you try it, please do report back the results, we'd love to know whether or not it works


Nommy
My System SpecsSystem Spec
Reply

 How to get a log from chkdsk after running chkdsk from the RE?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
After running chkdsk /R , Occur BSOD
So after I ran my weekly cleanup on my computer On chkdsk /R after its finish and about to reboot my computer Its occur BSOD :huh: After that I use Windbg to check the minidump file on the most below down there its said " Probably caused by : ntoskrnl.exe ( nt+75bc0 ) " and the bugcheck...
BSOD Help and Support
CHKDSK Running at every boot
Title says it. Really stupid and annoying problem, yet not a lot of answers:(. I haven't installed any programs recently that could have messed my hdd up. Just scanned with my anti virus, and found two tracking cookies. I did happen to install the windows 8.1 preview on a separate partition...
Performance & Maintenance
Tools Chkdsk with no /f /r says errors, bootup chkdsk says none
AHCI disk. Running chkdsk from Properties Tools with no autofix says there are errors. Dismount the drive and reboot. Chkdsk reports no errors found. Properties Tools Chkdsk still syas there are errors. Auslogics Defrag also says there are errors.
Hardware & Devices
Chkdsk running on every boot
Hi I've had this problem for the past week or so since trying to install a new SSD as my boot drive to my laptop. I have an Acer laptop and used the Acer backup utility that came with it to make a ghost image of my c drive, although first I had to shrink the partition in windows to allow it to...
Performance & Maintenance
CHKDSK running regularly now I have an SSD
Guys, since my recent upgrade to an OCZ Vertex Plus 120GB (oczssd2-1vtxpl120g) SSD, chkdsk is running every other time I boot up. There seem to be regular file issues too, I've lost key dlls from Avast and had to reinstall it and similar on itunes. Today, again, the machine is without a...
Performance & Maintenance
chkdsk running on startup
Hi There, I have chkdsk running on startup approximately every 1 in 3 times I boot my computer. I did check for a "dirty bit" and it was clean. How can I figure out what's causing this? Thanks, Justin
Performance & Maintenance


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 15:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App