How do I remove Home Group and Libraries icons from desktop

RUN»REGEDIT

Computer\HKEY_LOCAL_MACHINE\SOFWARE\Microsoft\Windows\
CurrentVersion\Explorer\Desktop\NameSpace

In the Name­Space fold­er, there will be a fold­er (key) with the name 

{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93} 

The val­ue of the default item should be “Oth­er users”. This is the reg­istry entry Home­group icon. Delete the fold­er from the registry.

In the Name­Space fold­er, there will be a fold­er (key) with the name

 {031E4825-7B94-4dc3-B131-E946B44C8DD5}

The val­ue of the default item should be “Libraries”. This is the reg­istry entry This is the Libraries icon. Delete the fold­er from the registry.

Go to your desk­top and hit F5, the icons should dis­ap­pear. Libraries and Home­group have retained their full func­tion­al­i­ty as far as I can tell, so it has­n’t appeared to have affect­ed the pro­grams at all.

Source