ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE. Software > Coding Snacks

CHKDSK Assist - Schedule CHKDSK Operations

<< < (4/4)

I should send you more credits for not choosing a mouser-esque name such as "Check disk+spell and find robot"

hi darklight
I had a go at this today (been getting some blue screens lately..)

I used the portable version
OS xp sp2 home

So I scheduled it for a restart,
I rebooted & went for a cup of tea
when I came back, it was finished - I checked the log & it said
The type of the file system is NTFS.

Chkdsk cannot run because the volume is in use by another
process.  Would you like to schedule this volume to be
checked the next time the system restarts? (Y/N) y

This volume will be checked the next time the system restarts.
--- End quote ---
so I restarted & went off again but came back again to the same message

Third time, I got a beer & manually entered chkdsk c: /f /r & sat in front of the computer :) - it checked everything, showed the results for about 1/100th of a second.So I went back to your app & checked the log again to see the same message again.

So now I googled & discovered I could look in the event viewer under applications (eventvwr.msc) (I'm learning a lot today)
The log of the chckdsk was there
SpoilerEvent Type: Information
Event Source: Winlogon
Event Category: None
Event ID: 1001
Date: 2009-11-12
Time: 22:03:20
User: N/A
Computer: _____
Checking file system on C:
The type of the file system is NTFS.
Volume label is Boot.

A disk check has been scheduled.
Windows will now check the disk.                         
Cleaning up minor inconsistencies on the drive.
CHKDSK is verifying file data (stage 4 of 5)...
File data verification completed.
CHKDSK is verifying free space (stage 5 of 5)...
Free space verification is complete.

 30716248 KB total disk space.
 12933644 KB in 59166 files.
    36840 KB in 7361 indexes.
        0 KB in bad sectors.
   137260 KB in use by the system.
    65536 KB occupied by the log file.
 17608504 KB available on disk.

     4096 bytes in each allocation unit.
  7679062 total allocation units on disk.
  4402126 allocation units available on disk.

Internal Info:
70 0e 01 00 e9 03 01 00 ec 62 01 00 00 00 00 00  p........b......
92 9a 00 00 02 00 00 00 6a 04 00 00 00 00 00 00  ........j.......
4e 26 18 05 00 00 00 00 9c b4 b9 13 00 00 00 00  N&..............
0a 9a 4c 05 00 00 00 00 aa 28 ae d3 00 00 00 00  ..L......(......
14 d6 f5 88 00 00 00 00 2c ec e5 7d 01 00 00 00  ........,..}....
b0 45 dd 77 00 00 00 00 d8 3d 07 00 1e e7 00 00  .E.w.....=......
00 00 00 00 00 30 68 15 03 00 00 00 c1 1c 00 00  .....0h.........

Windows has finished checking your disk.
Please wait while your computer restarts.

so, I'm wondering:
a) have I done something silly (well possible)
b) is my computer wonky (well possible)
c) is your app not able to find the logfile (see next)

Just in case it's related:
unfortunately in my case I had an error report for the Dr.Watson debugger last year - MS's 'solution' was to disable it - (I remember at the time it was seizing up and created a multi GB log file).-me (in another thread here somewhere)
--- End quote ---


Sorry for my late reply...I haven't checked this post too much lately.

From what you posted, everything is working fine.  The log file only logs what is output when CHKDSK Assist sends its command to cmd.exe.  If you need to reboot first (required if you are checking the drive with the Windows install on it) you will see exactly what you posted in the log file.  I should probably make this more clear, and will do so in the documentation in the next release.

I'll also look into pulling the info from the Event Viewer into the script itself or at least adding a link so you can get to it quickly.

thanks for that clarification darklight,
I might try it again - I accidentally turned off all the power here yesterday ;D :-[

thanks for that clarification darklight,
I accidentally turned off all the power here yesterday
-tomos (November 30, 2009, 10:20 AM)
--- End quote ---
You'll get used to it. I've been kept in the dark for years ;)


[0] Message Index

[*] Previous page

Go to full version