You have to download an older version of itunes. First go to applications and uninstall these programs in the following order:
iTunes
QuickTime
Apple Software Update
Apple Mobile Device Support
Bonjour
Apple Application Support (if you have it)
make sure to remove them in that order. Then, restart your computer. Download the last compatible version here:
64-bit
http://www.filehorse.com/download-itunes-64/12191/
OR
32-bit
http://www.filehorse.com/download-itunes-32/12192/
find out what version of windows 8 you have first, 64 bit or 32 bit. Install that one, and restore your ipod