Assuming the repairs are attempted after cold booting from clean CD or flash drive, the pre boot code will not be run. If anything, it is because the standard formatting tools do not touch the boot sector as it is not part of any partition. The bootsector needs to be reset separately (e.g. via fdisk).

Spinrite and the secure erase tools that write over the entire HDD will clean it out as well.