Has it happened to you on your Windows 8 or Windows 8.1, that you restart your computer and find that the Homegroup icon has suddenly appeared on your desktop? It has happened to me several times, and I was wondering why this was happening when I do not use the Homegroup feature, and how to remove this Homegroup icon. At times the Homegroup icon appeared randomly, stayed for a while, and disappeared automatically. At other times it was stuck and wouldn’t go away. The appearance of this Homegroup icon is not because of any virus – it just appears to make its presence once in a while – randomly!
Remove Homegroup iconBefore you begin,
create a system restore point first.
Now, if you are a part of a Homegroup, then leaving the Homegroup via Control Panel will make the icon go away. If you are not, then you want to try these suggestions and see if any of them help you.
1] Open Control Panel > Personalization, open Desktop Icon Settings and then first
check and then uncheck the Network checkbox. Click Apply and Exit.

2] Via
Control Panel >
Network and Sharing Center, open
Advanced Sharing Settings in the
Control Panel and see if checking the
Turn off network discovery helps.

3] Open
Control Panel >
Folder Options >
View tab.
Uncheck Use Sharing Wizard (Recommended) and click
Apply. Then Check it back and click Apply. The Homegroup icon will be removed from your Windows 8 desktop and should not reappear again

4] If you don’t use Homegroup, then you could open Services Manager or services.msc and
disable Homegroup Listener and Homegroup Provider services. Change their start up types
from Manual to Disabled.

The Homegroup Provider service performs networking tasks associated with configuration and maintenance of Homegroups. If this service is stopped or disabled, your computer will be unable to detect other Homegroups and your Homegroup might not work properly. The Homegroup Listener service makes local computer changes associated with configuration and maintenance of the Homegroup-joined computer. If this service is stopped or disabled, your computer will not work properly in a Homegroup and your Homegroup might not work properly.
5] If the icon continues to appear on the desktop,
back up your Registry first and then open Registry Editor or regedit, and delete the following key.
Computer\HKEY_LOCAL_MACHINE\SOFWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\
This folder key
{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93} relates to the Homegroup icon. If you get an error while deleting key, you may be required to take control of the registry key OR you may disable Homegroup Listener and Homegroup Provider service as mentioned above and see it this allows you to delete the registry key.
more helpful tips form twc