Just wanted to add my CLI method since I hadn't seen it mentioned here before, and it requires less setup if you already have that environment that trying to run others' applications.
This should work in Linux, Mac, Windows with Cygwin or possibly with some MinGW/msys tools that include the `dd` command.
First I manually identified which device descriptor matched the drive I wanted to work with:
- `cat /proc/partitions`
- `lsblk`
- `sudo fdisk --list 2>&1 | grep -iP '^Disk /dev/sd'`
Then I made a backup of the boot sector(s) for the device:
- `sudo dd if=/dev/sdX of=(read) bs=1M count=1 status=progress`
I viewed the current value:
- `sudo dd if=/dev/sdh bs=1 skip=510 count=2 status=none | xxd -p`
Enable 'stealth mode':
- `echo -n '55ab' | xxd -r -p | sudo dd of=/dev/sdh bs=1 seek=510 status=progress`
Disable 'stealth mode':
- `echo -n '55aa' | xxd -r -p | sudo dd of=/dev/sdh bs=1 seek=510 status=progress`
This seems to be near the end of the first sector, which is the boot sector for MBR. GPT uses the next one. I backup both, and even well more than that to be safe. Each should be 512 bytes in size.
I also found a similar value located in the first sector of the partition too. I think it was at a similar address, just offset by the partition start. Without searching for and understanding storage drive/filesystem, specifications, I made the change only for the entire drive in the appropriate area.