Error to run SFC or DISM on Windows Server 2019.

raphaelsln

New member
Joined
Oct 15, 2019
Posts
3
I have a hyper-v physical host, which is waking up, tried to run sdfc / scannow and DISM / Online / Cleanup-Image / RestoreHealth but both give error. I ran SFCfix to try to find the reason for the error, but to no avail as well, attached follows the logs of SFC and DISM. I am grateful if you can help me.
 

Attachments

Hello and welcome!

This is a bug, I'll fix it, but please follow my instructions precisely!

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.
  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 - put [CODE][/CODE] tags around the log to break up the text.




Step#2 - DISM /RestoreHealth Scan
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. Right-click on the Start 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
    Dism /Online /Cleanup-Image /RestoreHealth
  3. Once it finishes, copy and paste the following into the command-prompt window and press Enter. If prompted to overwrite the existing file go ahead.
    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 zip/upload to this thread.
    Please Note:: if the file is too big (over 7MB) 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

[CÓDIGO]
SFCFix versão 3.0.2.1 da niemiro.
Hora de início: 2019-10-15 12: 43: 15.079
Microsoft Windows Server 10 Build 17763 - amd64
Usando o arquivo de script .zip em C: \ Users \ Administrator \ Desktop \ SFCFix.zip [0]




PowerCopy ::
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ Defender.psd1
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpComputerStatus.cdxml
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpPreference.cdxml
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpScan.cdxml
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpSignature.cdxml
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreat.cdxml
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatCatalog.cdxml
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatDetection.cdxml
Obteve com êxito permissões para o arquivo ou pasta C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpWDOScan.cdxml

Arquivo copiado com êxito C: \ Users \ Administrator \ AppData \ Local \ niemiro \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ Defender.psd1 para C: \ Windows \ Win_Service_Windows438 .0.17763.1_none_d48944eff97b9138 \ Defender.psd1.
Arquivo copiado com êxito C: \ Users \ Administrator \ AppData \ Local \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpComputerStatus.cdxows-amd_windows_windows_windows_windows_windows .0.17763.1_none_d48944eff97b9138 \ MSFT_MpComputerStatus.cdxml.
Arquivo copiado com sucesso C: \ Users \ Administrator \ AppData \ Local \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpPreference.cdxml -windows_window .0.17763.1_none_d48944eff97b9138 \ MSFT_MpPreference.cdxml.
Arquivo copiado com sucesso C: \ Users \ Administrator \ App \ Dados \ niemiro \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpScan.cdxml-powers_wind_windows .0.17763.1_none_d48944eff97b9138 \ MSFT_MpScan.cdxml.
Arquivo copiado com sucesso C: \ Users \ Administrator \ App \ Dados \ Local \ nSiemiro \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpSignature.cdxml-powers_windows_windows .0.17763.1_none_d48944eff97b9138 \ MSFT_MpSignature.cdxml.
Arquivo copiado com êxito C: \ Users \ Administrator \ AppData \ Local \ nSiroS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreat.cdxml-powers_windows_doc .0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreat.cdxml.
Arquivo copiado com êxito C: \ Users \ Administrator \ AppData \ Local \ niemiro \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatCatalog.cdxows-amd_windows_windows_window .0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatCatalog.cdxml.
Arquivo copiado com sucesso C: \ Users \ Administrator \ AppData \ Local \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatDetection.cdxows-amd_windows_windows_windows_windows .0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatDetection.cdxml.
Arquivo copiado com êxito C: \ Users \ Administrator \ AppData \ Local \ Archive \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpWDOScan.cdxml -wd_windows .0.17763.1_none_d48944eff97b9138 \ MSFT_MpWDOScan.cdxml.

Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ Defender.psd1
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ Defender.psd1
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpComputerStatus.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpComputerStatus.cdxml
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpPreference.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpPreference.cdxml
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpScan.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpScan.cdxml
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpSignature.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpSignature.cdxml
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreat.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreat.cdxml
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatCatalog.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatCatalog.cdxml
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatDetection.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpThreatDetection.cdxml
Propriedade restaurada com êxito para C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpWDOScan.cdxml
Permissões restauradas com êxito em C: \ Windows \ WinSxS \ amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.1_none_d48944eff97b9138 \ MSFT_MpWDOScan.cdxml
Diretiva PowerCopy :: concluída com êxito.




Todas as diretivas foram processadas com êxito.
O SFCFix versão 3.0.2.1 da niemiro foi concluído.
Atualmente armazenando 9 blocos de dados.
Hora de término: 2019-10-15 12: 43: 17.759
Hash de script: M3OQAcFRuGDUlcCeI9Vo8PfnCzt97dgWq + fMZxBor / Q =
---------------------- EOF -----------------------
[/CÓDIGO]
 
Okay, and finally, do the following twice. You can stop when you get the no integrity violations have been found message.

SFC Scan


  1. Click on the Start button and in the search box, type Command Prompt
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator
  3. When command prompt opens, copy and paste the following commands into it, press enter after each

    sfc /scannow


    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  4. This will create a file, cbs.txt on your Desktop. Please attach this to your next post.
 

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

Back
Top