0

I have a program in QT, C++ and I want to secure erase the computer after a trigger. After this process, I do not want the old data on the SSD to be accessed by data recovery programs. I want this process to take a very short time. I'm thinking of triggering it on CMD. I used the "cipher" command but the process takes too long. How can I do it in the fastest and safest way? I am using Windows 10 not Linux.

I tried Cipher but takes too long time. If possible, I want it to be done as soon as possible with cmd or bat file.

1 Answers1

2

Technically not an answer, as this is not a secure erase, but I think this is an X-Y problem, and I solved it differently.

What we have done is enable BitLocker with an arbitrary password, and have the option to turn that on, on demand. Even though it will take quite a while before the disk is done being encrypted, after just 1 second, there is already enough encrypted that you can no longer boot from the disk without entering a password, and for most people, seeing the bitlocker screen, it is enough to not even consider any advanced (paid) data recovery.

So once you trigger the encryption, and then just force a reboot, the computer is locked out. True, one can still format the disk and remove all data, but most people will consider the data unrecoverable.

Giacomo1968
  • 58,727
LPChip
  • 66,193