A PowerShell script for securely wiping non-system drives on Windows systems. This script provides a safe way to sanitize drives by overwriting them with zeros.
This script will permanently erase all data on the selected drive. Use with extreme caution. Always verify your drive selection carefully before proceeding.
- Interactive drive selection
- System drive protection
- Clear warnings and confirmations
- Simple zero-fill sanitization
- Error handling and progress feedback
- Safety checks to prevent accidental system drive wiping
- Windows operating system
- PowerShell
- Administrator privileges
- Run PowerShell as Administrator
- Navigate to the script directory
- Run the script:
.\Drive_Wipe.ps1
- Select a drive from the displayed list
- Confirm the operation when prompted
- Automatically excludes system drive from available options
- Requires explicit confirmation before wiping
- Validates drive selection
- Includes error handling and cleanup
- Basic data sanitization only (single-pass zero fill)
- Not suitable for classified or highly sensitive data
- Does not meet certified data destruction standards
For sensitive data destruction, consider using:
- Dedicated secure erasure tools (e.g., DBAN)
- Multiple-pass overwriting methods
- Professional data destruction services
- Physical drive destruction
This script is provided as-is, without any warranty. The author is not responsible for any data loss or damage caused by using this script. Always verify and backup important data before using any data destruction tool.