Okay guys. a lot of you seem to have issues, as did I when I first attempted. If you happen to wipe your internal memory here are a couple ways to go about fixing that.
here's a step by step. make sure you have USB debugging on.
METHOD 1, RESTORE TO STOCK UNROOTED, LOCKED(then start over from scratch I suppose.)
Download the AIO Tool Kit and extract. anywhere
Hasoons AIO Toolkit
Download the Sprint_HTC_One_m7wls_1.29.651.7_encrypted_ROM.zip and rename it to something short such as lol.zip(that's what I used, just rename it lol, not lol.zip, if you rename to lol.zip it will show up as lol.zip.zip.) and place it at the root of your c:/ drive, so c:/lol.zip
Navigate to the AIO toolkit folder you extracted, Open the One.exe. At the bottom, click reboot into bootloader and then do command.
Hold shift and right click then click Open Command Window Here.
when the command line opens up type
fastboot oem lock
fastboot oem rebootRUU
fastboot flash zip c:/lol.zip
If you get a message about flushing, then retype the last command, "fastboot flash zip c:/lol.zip"and it should work
METHOD 2, ADB SIDELOAD A ROM USING hasoon's AIO toolkit.
Try sideloading the rom.
Unlock bootloader and install twrp
Download your rom, Open up hasoons AIO toolkit and select sideload a rom.
The AIO will ask you to boot into recovery and hit sideload.
On your One, go to advanced settings, sideload a rom.
Next you can navigate to the rom on your PC with AIO and select rom. I used vipers. It will sideload it for you and start to flash in TWRP