I've never had a problem editing /hosts on either Win 7 machine, but I did have to change some settings to get the machine to allow me to.
I use hosts as a belt-and-braces to stop the worst of the infected sites. There's a handy ready-sliced hosts file available to download from
here.