On Windows 10, you can use the Reset this PC feature to secure-erase the computer if you plan to decommission it after ...
You can delete backups on a Mac by using the Finder or your computer's Time Machine, in tandem with your external hard drive.