Windows 10 gets repaired by sfc /scannow on first session of an offline Windows installation

Copper Contributor



Both on Windows 11 and on Windows 10, I tested a sfc /scannow on a fresh install, just after completing to update Windows OS, and the scan would always repair Windows' files (3x on win11 and 1x on win10 with 4 different UEFI USB key made).


To explain how I proceed with the installation:

  • 0-wipe HDD or sorta... via Ubuntu 22.04 .iso mounted as UEFI on USB key via Rufus with the command:


sudo dd if=/dev/urandom of=/dev/sda status=progress​


  • Download Windows.iso (making sure the hash matches with the one on Microsoft website) and mount it with Rufus.
  • Install Windows via UEFI USB key installation.
  • Upon login into a Windows session, I install automatically ASUS Armoury Crate (offered by the motherboard).
  • Update ASUS Armoury Crate components via the software.
  • Update all drivers via ASUS Armoury Crate.
  • Install the antivirus.
  • Fully update Windows OS.
  • Update drivers automatically provided by Windows update as well as "optional drivers" and install them via Windows update. (Note: PCIe WiFi card drivers has to be updated via Windows Update).
  • Manually install GPU driver from Nvidia website.
  • Manually install headset drivers via LG Hub.
  • Manually install mouse drivers via Razer Synapse.
  • Run sfc /scannow .

I'm joining the CBS.log: CBS.log


Any idea what's going on with the OS on this PC?


EDIT: On a 5th install, I tried a Windows 10 install with a USB key created by using Windows media creation tool (instead of Rufus). (I believe the USB key was legacy and not UEFI on that installation, but the Windows installation was UEFI as seen on msinfo32). On that installation, I didn't plug in the ethernet cable and disconnected the antenna from the PCIe WiFi card. That way, the PC was unable to connect to internet during the installation. Thus, I only created an admin account. When opening my first Windows session, I ran straight away sfc /scannow (while offline and before even installing drivers) and it fixed Windows files!


Why is that happening? How can Windows OS be installed without being apparently corrupted?


Thanks in advance,

Best regards,




0 Replies