This problem mainly happens because the security setup in offline repair mode does not match your Windows installation.