Windows 7 Remove Homegroup

Open Computer and right-click on "Homegroup" icon present in Navigation pane and select "Change HomeGroup Settings".

Now click on "Leave the homegroup..." link given at bottom.

It'll ask for confirmation, click on "Leave the homegroup" button.

After that, close Explorer window. Now type services.msc in RUN or Startmenu Searchbox and press Enter. It'll open "Services" window.

Here look for following 2 services: HomeGroup Listener and HomeGroup Provider. Once you find them, double-click on each and change the "Startup type" to Disabled. Apply the changes and exit from Services window.

That's it. It'll permanently disable "HomeGroup" feature and its icon will also be removed from Windows Explorer: