A security technician is preparing a storage volume (`D:`) for reassignment. The active, non-sensitive files currently stored on the drive must be preserved, but all previously deleted data remaining in the volume's unallocated free space must be permanently overwritten to prevent forensic recovery. Which of the following commands should the technician execute from an elevated Command Prompt?
- cipher /w:D:Answer
- Bformat D: /p:2
- Cdiskpart (followed by select volume D and clean all)
- Dshred -u -z /dev/sdb1
Answer
Executing `cipher /w:D:` securely sanitizes and overwrites all unallocated free space on the specified volume while leaving active files intact.
The correct command is `cipher /w:D:`. The built-in Windows utility `cipher.exe` when called with the `/w` switch removes data from available unallocated disk space by writing three passes (zeros, ones, and random numbers) over sectors that contain remnant data from deleted files, without affecting any existing active files.
Step-by-Step Solution
Key Concept
Windows Command-Line Utilities (cipher.exe)