Windows 10: Disappearing hard drive space with SFC /Scannow

Discus and support Disappearing hard drive space with SFC /Scannow in Windows 10 Performance & Maintenance to solve the problem; how do i point the dism to the boot on my usb in window pre installed environment (i used Kyle version)? Open a Command prompt. Use DIR on each drive... Discussion in 'Windows 10 Performance & Maintenance' started by goldenstar, Sep 24, 2017.

  1. Bree New Member

    Disappearing hard drive space with SFC /Scannow


    Open a Command prompt. Use DIR on each drive letter in order to identify what letter is being used for your Windows system drive. It is unlikely to be seen as C: when you are booting from a USB. In this example my C: drive appeared as E: when booting from a USB. I created the e:\scratch folder before running the command. The install media was on the D: drive. the index 1 at the end of the /source parameter is for Pro, for Home you should use 2.

    Code: dism /image:e:\ /cleanup-image /restorehealth /source:esd:d:\x86\sources\install.esd:1 /scratchdir:e:\scratch /limitaccess[/quote] If you have the install.wim rather than the .esd, then use...
    Code: /source:wim:d:\x86\sources\install.wim:1[/quote] You may well have to change the drive letters and source path to match what you have on your system.
     
  2. sygnus21 Win User

    Out of curiosity may I ask where the OP even got the idea to delete the WINSXS folder???

    This is the one of the dangers of listening to some of those on-line so-called "Windows experts". Especially in forums where there isn't some type of moderation and pushback from those that really do know what they're talking about. Luckily we have those checks and balances here.

    Anyway Bree and others have this well under control, I just wanted to add that comment.

    Peace.
     
    sygnus21, Sep 27, 2017
    #17
  3. Oddly enough, the WinSXS is indeed getting larger each time i use sfc /scannow (it failed to fix the corruption). I did confirm it.

    The strange thing is when i tried to search by date of modification(like today), i could not find the files that was added or modified.

    I will try Bree suggestions. His suggestion is the best so far!

    Bree, thank you for taking the time to write this. I can't believe there are good people like you helping others *Smile.
     
    goldenstar, Sep 27, 2017
    #18
  4. Bree New Member

    Disappearing hard drive space with SFC /Scannow

    It depends on how you were determining the 'size' of WinSxS, File Explorer can be misleading ...
    https://docs.microsoft.com/en-us/win...-winsxs-folder

    It may well be that sfc /scannow had duplicated some hard links, making WinSxS appear larger without actually growing in size. This effect can lead to some amusing side-effects *Smile
    Cleaning up 3.99TB space on a 100GB HDD?
     
  5. goldenstar, Sep 29, 2017
    #20
  6. Bree New Member
    Once you can boot into a working windows, use Disk Clean up and its 'clean up system files' button. That should fix it.
     
  7. I got an error while trying Bree commands,

    Cannot access files of scratch directory. Make sure you have permission.


    Another question: If i RESET my pc from window 10 boot, does it really delete all my files(documents and pictures)?
     
    goldenstar, Sep 29, 2017
    #22
  8. Bree New Member

    Disappearing hard drive space with SFC /Scannow

    You need to make the scratch directory before you run the dism command. If the drive you want to use for the scratch folder is E: then from a command prompt type:

    MD E:\SCRATCH
     
  9. Before you go through trying to install Windows 10 again. Run Crystaldisk. I've used itin my computer repair business for years and it has caught a few HDD's that are dying. Just for simplicity pay attention to the color it comes up with at the top. If green oh Yellow caution, Red is a bad drive and you will need to replace it before installing Windows.
     
    ComputerSE, Nov 8, 2017
    #24
  10. You can reduce WINSXS folder size by executing following Dism command.

    Code: Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase[/quote] After executing this command you cannot uninstall currently installed Windows updates.

    Reduce the Size of the Component Store (WinSxS folder)
     
    FreeBooter, Apr 4, 2018
    #25
Thema:

Disappearing hard drive space with SFC /Scannow

Loading...
  1. Disappearing hard drive space with SFC /Scannow - Similar Threads - Disappearing hard drive

  2. sfc /scannow

    in Windows 10 Gaming
    sfc /scannow: Whenever i try to do sfc /scannow in cmd i get this message : Windows Resource Protection could not start the repair service. https://answers.microsoft.com/en-us/windows/forum/all/sfc-scannow/797942d5-5528-46b0-8d2f-6bfea428c9f6
  3. sfc /scannow

    in Windows 10 Network and Sharing
    sfc /scannow: Windows Resource Protection found corrupt files but was unable to fix some of them. For online repairs, details are included in the CBS log file located at windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline repairs, details are included in the log...
  4. sfc /scannow

    in Windows 10 Installation and Upgrade
    sfc /scannow: OK!! I am totally new at this community blog. So bare with me.I am trying to run sfc /scannow to attempt to fix corrupt systems. I can no longer access my settings function and my Search box is dead.So when running the sfc scan, I get this message:2022-10-21 11:45:50, Info...
  5. SFC /Scannow

    in Windows 10 BSOD Crashes and Debugging
    SFC /Scannow: in SFC /Scannow command my pc You must be an administrator running a console session in order to use the sfc utility. https://answers.microsoft.com/en-us/windows/forum/all/sfc-scannow/71373a9e-3f00-4076-9ea0-6086520291cb
  6. sfc /scannow

    in Windows 10 BSOD Crashes and Debugging
    sfc /scannow: i ran sfc /scannow and got when it reched around 54% i got the followingmessage "Windows Resources Protection could not perform the requested operation" https://answers.microsoft.com/en-us/windows/forum/all/sfc-scannow/425af61f-5e61-4f8e-badc-1e44ae02698e
  7. sfc /scannow

    in Windows 10 BSOD Crashes and Debugging
    sfc /scannow: when I run sfc /scannow in command prompt it will only run to 71% and than it stop, how can i fix that problem? https://answers.microsoft.com/en-us/windows/forum/all/sfc-scannow/5f81a97e-769a-413c-8139-2871d8c08b5f
  8. SFC /scannow

    in Windows 10 BSOD Crashes and Debugging
    SFC /scannow: When I tried to run SFC /Scannow, after about 20% complete I am getting a message "Windows Resource Protection". The question is "WHY". I've run this command numerous times and have never seen this error. Can someone help on this issue??...
  9. SFC/SCANNOW

    in Windows 10 Installation and Upgrade
    SFC/SCANNOW: Cannot repair member file [l:27]'MSFT_MpComputerStatus.cdxml' of Windows-Defender-Management-Powershell, version 10.0.17134.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35} in the store, hash mismatch 2019-07-19 10:11:31, Info CSI 00003e90 [SR] This...
  10. SFC /scannow

    in Windows 10 BSOD Crashes and Debugging
    SFC /scannow: windows resource proteciton found corrupt files but was unable to fix some of them. for online repairs,details are included in teh CBS log file located windir/logs/cbs.log [ aka C:\Windows\Logs\CBS\CBS.LOG. I have the CBS.log.. but i don't know how to post it nor do i see a...

Users found this page by searching for:

  1. sfc /scannow taking disk spacw