mmm... As already advised above... killing power (via a reboot etc...) to RAM allegedly removes anything therein... However many folks don't realise that when you switch off a current (atx format) PC at the front panel (or tell it to switch off via the OS) it doesn't actually switch the box off entirely. There are still volts various running around inside - if the power cord is still attached and AC power switched on at source... So don't go removing anything or plugging anything in - until you have actually removed the power-cord/source entirely...
Personally I've never been "completely" convinced that switching off at the front, or a software shutdown (or a software rebooot) "will" cause RAM to discharge any/all stored info it has; especially when dealing with memory-leak issues. At work we remove power completely (for about a minute - or at least until the nic indicators extinguish) from a problem system as part of a standard "full/cold" reboot sequence - so as to be "sure" RAM is fully cleared and thus fully refreshed and available afterwards... (This incidentally is one way to defeat (recover from) the memory-leak effect - a favourite event with M$-windows and other apps.)
But certainly completely removing volts from RAM... will clear it of anythng nasty - until it re-acquires it from the hard-drive again???
To maybe get rid of the nasty.. perhaps do a full on-line freebie scan at TrendMicro?
http://housecall.trendmicro.com/uk
and maybe another via:
http://www.ewido.net/en/onlinescan
Possibly one or other will do what's required...
The awkward one to get rid of is a bootsector virus...; and you "may" have such a beastie? Have you identified the actual pest thus far?
A Linux variant on a CD - Knoppix or Ubuntu - would also allow full access to the system as - via Linux; and then allow you scan it fully for anything nasty (and hopefully clean it)... Boot with the CD and the entire installed physical drive is available as resource to the OS on the CD (now runnng via installed RAM). You can then run an on-line scan of the hard-drive - and it will be totally passive in the process; as you will be booting and running an OS etc. from the CD...
AVG allegedly has a bootsector virus removal util; possibly it, maybe Trend (avast - avast.com - another freebie util), and many other current av-utils will also have similar...?
Also ensure you disable system-restore whilst cleaning out the system; re-enable "only" when the system is clean...