Formatting a hard drive along with the install of a new OS is the best option. The vast majority of operating system installations provide a "format" option as part of the installation process.
Sometimes, the best way to fix deep-seated Windows issues is to burn everything to the ground and start from scratch. Reinstalling Windows refreshes the operating system, which gets rid of most ...