This can also be done on Server 2019 or Hyper-v 2019

  • Boot a clean image and open the command prompt and type the following:
sfc /scannow
  • You can also try sfcfix.exe from here