"sfc /scannow" an offline Win7 on hard disk from booted Win10 ?


  1. Posts : 244
    win7pro 64bit
       #1

    "sfc /scannow" an offline Win7 on hard disk from booted Win10 ?


    Assume a hard disk contains a possibly (partially) corrupted Windows 7.

    I boot now a ToolsCD or USB flash drive with Windows 10.

    When I open now a CmdPrompt and enter

    sfc /scannow /offwindir=C:\Windows /offbootdir=C:\

    then I cannot do this since the local, active, running WinOS is different from the investigated one.

    Is there a workaround for that?

    I can imagine that I can somehow put a windows 7.iso file onto the ToolsCD/USB flash drive and tell the "sfc" command to look
    for the corresponding files inside this archive. Something like this:

    sfc /scannow /offwindir=C:\Windows /offbootdir=C:\ /usewinosfilesfrom=X:\windows7.iso

    Is this possible?

    Peter
      My Computer


  2. Posts : 7,107
    W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
       #2

    Hi Peter,

    Assuming its the correct directory (C)
    (unlikely as your W10 will occupy it, more likely D)


    sfc /scannow /offbootdir=C:\ /offwindir=C:\windows

    (additional \ and windows)


    Roy
      My Computer


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

    Hi Roy,

    your command is the same as mine just with switch parameter sequence.
    Since the order of parameters does not matter its the same command
      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 19:06.
Find Us