Once you've fixed it, DON'T create another Homegoup.
I had endless trouble till some kind soul told me to go for WORKGROUP. Not had a problem since. Old PC goes, new PC comes, other machines on the network carry on pretty much unaffected other than a couple of file links that need changing.