There are some nasty viruse4s that do just that, whenever the antivirus tries to remove it, it reboots the machine...    The way I solve those cases is with a program called HijackThis!, a good start would be a HijackThis! log, and then have it analyzed in one of the online interpreters so you know which entries are safe to fix and which ones are regular entries in your machine.