none
Disable writing disk signature to MBR in Windows (Address 01B8, 01BC) RRS feed

  • Question

  • Windows is writting a disk signature (serial number) to the Master boot record, if the two addresses 01B8 (4 bytes) and 01BC (2 bytes) are zeros.

    You can export the first 512 bytes from the drive with dd. Then open diskmgmt.msc. After that, the disk should be initialized and the disk signature was written. Export again the first 512 bytes to another file and do a hexdiff of the two files. You'll see the different bytes in the above mentioned addresses.

    Can I disable this behaviour in Windows, e.g. in the registry?

    I'm on Windows 7.

    raw:

    0000 01B0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 20  ........ .......

    windows altered:

    0000 01B0: 00 00 00 00 00 00 00 00  72 44 E7 89 00 00 00 20  ........ rDþë...


    • Edited by w00t31337 Monday, October 23, 2017 11:12 AM
    Monday, October 23, 2017 8:00 AM

All replies

  • Setting the disk to the offline state, does the trick.

    diskpart

    list disk

    select disk N

    offline disk

    exit

    Wednesday, October 25, 2017 6:57 AM