[SOLVED] W Server 2019 core sfc/SFCFix problem

Lorenzo988

New member
Joined
Feb 12, 2024
Posts
4
Hi everyone!

I'm running AD synced on two Windows Server 2019 core, one server is perfectly fine, the other is also running fine, but when I run "sfc /scannow" it stops at 76%:
Code:
Verification 76% complete.




Windows Resource Protection could not perform the requested operation.

I tried to run "dism /online /cleanup-image /restorehealth" and it runs fine:
Code:
[==========================100.0%==========================]
The restore operation completed successfully.
The operation completed successfully.

I also tried to reboot and re-try to execute sfc/dism but with no changes.

Finally I tried to run SFCFix, and it crash every time I run it:
Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2024-02-12 16:55:35.100
Microsoft Windows Server 10 Build 17763 - amd64
Not using a script file.




SFCFix version 3.0.2.1 by niemiro has encountered an unhandled exception.
Currently storing 0 datablocks.
Finish time: 2024-02-12 16:55:47.075
----------------------EOF-----------------------
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the System File Checker and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

Hello Maxstar, thankyou so much for your assistance!

Well, I currently do not have GUI in this Windows Server, so I placed .zip file in Desktop folder, and from terminal I ran:
SFCFix.exe SFCFix.zip

I get this:
Code:
Welcome to SFCFix by niemiro and sysnative.com.

Checking for updates . . .
No new update is available at this time.

ERROR: Zip file is corrupt or unreadable. This may be due to a bad download.
Please re-download the zip file, try again, and see if the problem persists. If it does, let your helper know as it may be that the upload is corrupt, and that is something that only your helper can fix.

I tried to re-download 2 times .zip file, but not seems to change.
I can unzip this file in my current workstation.

SFCFix.txt attached here
 

Attachments

Hi,

Please do the following from the command line: (The attached ZIP-file (FIX-Files) contains a *.REG-File and a WinSxS component).

Step 1. Open and elevated command prompt and run the following commands to import the *.REG-file.
Code:
reg load HKLM\COMPONENTS C:\Windows\System32\Config\COMPONENTS
regedit

>> Import the attached REG-fix.reg

>> Then copy the highlighted folder into the WinSxS directory using the instructions below.

Step 2. Replace the WinSxS component folder:
Rich (BB code):
icacls "%systemroot%\WinSxS\amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.831_none_5892c02f26f780e5" /save "%userprofile%\desktop\perms.acl" /t
takeown /f "%systemroot%\WinSxS\amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.831_none_5892c02f26f780e5" /r
icacls "%systemroot%\WinSxS\amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.831_none_5892c02f26f780e5" /grant administrators:(F) /t

Note: Copy the the highlighted folder from the ZIP-file into the WinSxS DIR >>

icacls "%systemroot%\WinSxS\amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.17763.831_none_5892c02f26f780e5" /setowner "NT SERVICE\TrustedInstaller" /t
icacls "%systemroot%\WinSxS" /restore "%userprofile%\desktop\perms.acl" /t
 

Attachments

Last edited:
Hi,

You're welcome. Glad to hear the problem has been resolved.
I will mark this thread as solved then.
 

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

Back
Top