[SOLVED] SFC Corruption

no problem with it, but it seems doesnt work ;[
Code:
C:\Windows\system32>DISM /ResetBase

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031


Error: 87

The resetbase option is unknown.
For more information, refer to the help by running DISM.exe /?.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Code:
DISM.exe [dism_options] {Imaging_command} [<Imaging_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options]
         {servicing_command} [<servicing_arguments>]

DESCRIPTION:

  DISM enumerates, installs, uninstalls, configures, and updates features
  and packages in Windows images. The commands that are available depend
  on the image being serviced and whether the image is offline or running.

GENERIC IMAGING COMMANDS:

  /Get-MountedImageInfo   - Displays information about mounted WIM and VHD
                            images.
  /Get-ImageInfo          - Displays information about images in a WIM or VHD
                            file.
  /Commit-Image           - Saves changes to a mounted WIM or VHD image.
  /Unmount-Image          - Unmounts a mounted WIM or VHD image.
  /Mount-Image            - Mounts an image from a WIM or VHD file.
  /Remount-Image          - Recovers an orphaned image mount directory.
  /Cleanup-Mountpoints    - Deletes resources associated with corrupted
                            mounted images.
WIM COMMANDS:

  /Capture-CustomImage    - Captures customizations into a delta WIM file on a
                            WIMBoot system. Captured directories include all
                            subfolders and data.
  /Get-WIMBootEntry       - Displays WIMBoot configuration entries for the specified disk volume.
  /Update-WIMBootEntry    - Updates WIMBoot configuration entry for the specified disk volume.
  /List-Image             - Displays a list of the files and folders in a
                            specified image.
  /Delete-Image           - Deletes the specified volume image from a WIM file
                            that has multiple volume images.
  /Split-Image            - Splits an existing .wim file into multiple
                            read-only split WIM (SWM) files.
  /Export-Image           - Exports a copy of the specified image to another
                            file.
  /Append-Image           - Adds another image to a WIM file.
  /Capture-Image          - Captures an image of a drive into a new WIM file.
                            Captured directories include all subfolders and
                            data.
  /Apply-Image            - Applies an image.
  /Get-MountedWimInfo     - Displays information about mounted WIM images.
  /Get-WimInfo            - Displays information about images in a WIM file.
  /Commit-Wim             - Saves changes to a mounted WIM image.
  /Unmount-Wim            - Unmounts a mounted WIM image.
  /Mount-Wim              - Mounts an image from a WIM file.
  /Remount-Wim            - Recovers an orphaned WIM mount directory.
  /Cleanup-Wim            - Deletes resources associated with mounted WIM
                            images that are corrupted.

IMAGE SPECIFICATIONS:

  /Online                 - Targets the running operating system.
  /Image                  - Specifies the path to the root directory of an
                            offline Windows image.

DISM OPTIONS:

  /English                - Displays command line output in English.
  /Format                 - Specifies the report output format.
  /WinDir                 - Specifies the path to the Windows directory.
  /SysDriveDir            - Specifies the path to the system-loader file named
                            BootMgr.
  /LogPath                - Specifies the logfile path.
  /LogLevel               - Specifies the output level shown in the log (1-4).
  /NoRestart              - Suppresses automatic reboots and reboot prompts.
  /Quiet                  - Suppresses all output except for error messages.
  /ScratchDir             - Specifies the path to a scratch directory.
 
Did you copy/paste the entire following line? From your screen shot it appears you only did Dism.exe /ResetBase.

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
 
I see, now it works - Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
 
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
output:

Code:
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

[==========================100.0%==========================]

Error: 14098

Component storage is corrupted.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
View attachment CBS7.zip
 
Code:
2015-06-26 13:19:20, Error                 CSI    00000055 (F) Baseline folder missing on generating delta for: [ml:280{140},l:174{87}]"amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17476_none_5cfb7d4988104661"[gle=0x80004005]
2015-06-26 13:19:20, Error                 CSI    00000056@2015/6/26:11:19:20.743 (F) base\wcp\componentstore\deltastore.cpp(2946): Error STATUS_SXS_COMPONENT_STORE_CORRUPT originated in function ComponentStore::CRawStoreLayout::RecursivelyRegenerateComponentPayloadFromDelta expression: (null)

We need to gather more detailed info. Please do the following.

Step#1 - Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Open an elevated Command Prompt and run Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase just like you did previously.
3. Stop Process Monitor as soon as DISM fails. You can simply do this by clicking the magnifying glass on the toolbar as shown below.
11908d1430506241-windows-updates-fail-repeatedly-stop-jpg


4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up and attach the LogFile.PML file as well as your CBS.log.
 
should I filter only dism.exe and dismhost.exe process? or you need whole log for every runny process?
 
Thank you. That was done perfectly.

I need some more info.

Step#1 - Export CBS Registry Key

  1. Right-click on the Start button and select Run. in the search box.
  2. Type regedit in the Open box and click OK. Answer Yes to the User Account Control box if prompted.
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing

  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*) <----Please ensure you do this step
  6. Name this file CBS (with no file extension) and save it to your Desktop.

Once done please upload this file via Dropbox or One Drive or SendSpace.
 
Since DISM didn't finish properly we may be able to do the following. Let me know the results please.

Open up an elevated command prompt and paste the following in and hit enter.
wusa /uninstall /kb:3013769
 
wusa /uninstall /kb:3013769 outputs: KB3013769 can not be uninstalled, its required by system.
 
Thank you. I need one more piece of info.

Step#1 - Export SideBySide

  1. Click on the Start button and in the search box, type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide
  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (*.*)
  6. Name this file SxS (with no file extension) and save it to your Desktop.

Once done please upload this file via Dropbox or One Drive or SendSpace.
 
Thanks for the info. Please do the following.

Retrieve Directory Info
1. Right-click on the Start
w8start.png
button and select Command Prompt (Admin)
2. When command prompt opens, type cd\ and hit enter. This should bring you to the C:\> prompt.
3. Copy (Ctrl+C) and Paste (Right-click > Paste) the following commands into it, then press Enter after each one. The first command may take a couple minutes to complete.
dir amd64_microsoft-windows-os-kernel* /AD /s >1
notepad 1

4. Notepad will open with some needed information. Please paste this into your next reply.
 
Code:
 Volume in drive C is SYSTEM
 Volume Serial Number is AE97-A836

 Directory of C:\$$$\# Zalohy\Windows Server 2012 R2 Standard 64bit Czech - ZALOHA - 21.5.2013 - WORKING\Windows\WinSxS

15. 04. 2014  04:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16384_none_5ceec1ab881a18dc
15. 04. 2014  04:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16404_none_5d4542f187d9367b
15. 04. 2014  04:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16422_none_5d2da28587eb3baf
16. 04. 2014  04:01    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16452_none_5d0d32c188038f82
16. 04. 2014  04:01    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17031_none_5d21b3ef87f4634e
27. 06. 2014  03:11    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17041_none_5d16e40387fc7f3f
21. 08. 2014  04:19    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17085_none_5cefa57b8819545f
23. 10. 2014  05:56    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17238_none_5d28b9c187ee0efd
08. 01. 2015  06:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17328_none_5d338b9387e5f033
08. 01. 2015  06:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17415_none_5d3b5c8787e08564
03. 04. 2015  02:48    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17476_none_5cfb7d4988104661
03. 04. 2015  02:48    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1
23. 04. 2015  03:20    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17668_none_5d0851958806576c
17. 04. 2015  11:13    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17736_none_5d26c2ab87efce12
               0 File(s)              0 bytes

 Directory of C:\Windows\SoftwareDistribution\Download\810d384872a8bbafe86ef336203a6782

26. 06. 2015  13:49    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17476_none_5cfb7d4988104661
               0 File(s)              0 bytes

 Directory of C:\Windows\WinSxS

15. 04. 2014  04:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16384_none_5ceec1ab881a18dc
15. 04. 2014  04:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16404_none_5d4542f187d9367b
15. 04. 2014  04:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16422_none_5d2da28587eb3baf
16. 04. 2014  04:01    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.16452_none_5d0d32c188038f82
16. 04. 2014  04:01    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17031_none_5d21b3ef87f4634e
27. 06. 2014  03:11    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17041_none_5d16e40387fc7f3f
21. 08. 2014  04:19    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17085_none_5cefa57b8819545f
23. 10. 2014  05:56    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17238_none_5d28b9c187ee0efd
08. 01. 2015  06:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17328_none_5d338b9387e5f033
08. 01. 2015  06:59    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17415_none_5d3b5c8787e08564
26. 06. 2015  14:31    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17476_none_5cfb7d4988104661
26. 06. 2015  14:31    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1
17. 04. 2015  11:13    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17736_none_5d26c2ab87efce12
               0 File(s)              0 bytes

 Directory of C:\Windows\WinSxS\Temp\InFlight\a2fcf1ec01b0d001020000006c5c3425

26. 06. 2015  13:19    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17476_none_5cfb7d4988104661
               0 File(s)              0 bytes

 Directory of C:\Windows\WinSxS\Temp\InFlight\e865d9bf08b0d00102000000244f301b

26. 06. 2015  14:08    <DIR>          amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1
               0 File(s)              0 bytes

     Total Files Listed:
               0 File(s)              0 bytes
              30 Dir(s)  314˙264˙592˙384 bytes free
 
Thanks for the info. Please do the following.

Step#1 - SFCFix Script
Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop. If you still have this on your desktop from downloading previously, you don't need to re-download.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please

Step#2 - Verify Corruption is fixed
1. Right-click on the Start
w8start.png
button and select Command Prompt (Admin)
2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
sfc /scannow

3. Once it finishes, copy and paste the following into the command-prompt window and press Enter.
copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"

4. Once this has completed please go to your Desktop and you will find CBS.txt => Please upload CBS.txt to this thread

Please Note:: if the file is too big to upload to your next post please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 

Attachments

Code:
SFCFix version 2.4.5.0 by niemiro.
Start time: 2015-07-03 09:18:25.757
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .zip script file at C:\Users\dev\Desktop\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\winsxs\amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1\ntoskrnl.exe

Successfully copied file C:\Users\dev\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1\ntoskrnl.exe to C:\Windows\winsxs\amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1\ntoskrnl.exe.

Successfully restored ownership for C:\Windows\winsxs\amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1\ntoskrnl.exe
Successfully restored permissions on C:\Windows\winsxs\amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.3.9600.17630_none_5d20bf0987f538e1\ntoskrnl.exe
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 2.4.5.0 by niemiro has completed.
Currently storing 10 datablocks.
Finish time: 2015-07-03 09:18:26.759
Script hash: xjLI27An/RGX1XIwyS7Q78pxHBlO/Zus+POVZ6SHBNU=
----------------------EOF-----------------------
CBS log here View attachment CBS9.zip
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top