Hello,
Based on my understanding of your issue, I suspect that your system files may have been damaged. SFC (System File Checker) is a cmd-based system repair program that can scan problematic files in Windows system files and replace them with A healthy file in a known correct version.
To repair your system using SFC command prompt, do the following:
Open "Start", search for "cmd", select it and run Windows Server 2019 Command Prompt as administrator to repair the system.
Then enter the command: "sfc /scannow" and press "Enter".
If SFC cannot resolve the issue, SFC may not be able to obtain the files it needs and your system may be damaged. In this case, you can try to use DISM to repair your Windows system.
To use the DISM command prompt to repair the system image file in Windows Server 2019 , please do the following:
Windows Server 2019 includes a cmd command-based application called DISM (Deployment Image Servicing and Management) for system repair. To repair Windows Server 2019 using DISM command, please do the following:
To check if any files are corrupted, run cmd as administrator and enter the following command and press "Enter".
DISM /Online /Cleanup-Image /CheckHealth
To repair Windows image, run cmd as administrator and enter the following command and press "Enter".
DISM/Online/Cleanup-Image/RestoreHealth/Source:repairSource\install.wim
Reference links:https://learn.microsoft.com/en-us/troubleshoot/windows-server/installing-updates-features-roles/troubleshoot-install-features-roles-guidance
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
Best regards
Zunhui