write "chkdsk" output at boot time to logfile on other partition?


  1. Posts : 244
    win7pro 64bit
       #1

    write "chkdsk" output at boot time to logfile on other partition?


    On my 64bit Win 7 system I have two partitions:

    C: (with the "core" Win7 system)
    D: (with almost all other stuff)

    When I start the following command:

    chkdsk D: /F /V /R /X >C:\chkdskout.log

    everything works fine.

    However when I enter the opposite command

    chkdsk C: /F /V /R /X >D:\chkdskout.log

    then at first the system is shutdown+restarted+chkdsk performed
    BUT the logfile is NOT written.

    I guess it is because the partially booted Win7 system at chkdsk time has no access to the partition D:

    Is there a workaround for this?

    The chkdsk output can be viewed at the screen. I want to have it in logfile as well.

    Peter
      My Computer


  2. Posts : 1,872
    Windows 10 Pro x64, Windows 8.1 Pro x64, Windows 7 Ultimate x64 SP1,
       #2

    Why not just write it to the C: drive in say Documents and then copy it to D: later?
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    The first one, chkdsk D: /F /V /R /X >C:\chkdskout.log, runs without rebooting, right? Therefore redirection is supported.

    The 2nd one, chkdsk C: /F /V /R /X >D:\chkdskout.log, requires a reboot. Here, redirection is not supported at the time it is run during boot. I don't see any way you can make this work, though I've been wrong before.
      My Computer


  4. Posts : 244
    win7pro 64bit
    Thread Starter
       #4

    Correct.
    Seems like Event Viewer is the only place to view output
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 23:27.
Find Us