Please understand that HomeGroups is broken and Microsoft is making plans to get rid of it in the next release. You are likely seeing early signs of these changes. Please find alternative means of sharing files between systems. Your best option is to use
a basic peer to peer workgroup network with Public File Sharing and Permissions. Learn more:
https://www.groovypost.com/howto/connect-netowr...
and
https://www.groovypost.com/howto/share-files-st...
https://www.groovypost.com/howto/change-network...
In order to delete a homegroup you have to leave it first on all machines but the one that created the homegroup.
Keep the machine running where the homegroup resides and shut down the rest of the machines.
Go to C:\windows\ServicesProfiles\LocalService\AppData\Roaming\PeerNetworking
Look for the files that are named idstore and delete them all.
If you can't delete them cause they are locked then right click your start button and go to Run and type services.msc.
When that opens go to the Homegroup services and stop and disable them and then try and delete the idstore files again.
Once done reboot your machine and then you will see that the homegroup is gone.
Press Windows key + R
Type or copy and paste:
C:\windows\ServicesProfiles\LocalService\AppData\Roaming\PeerNetworking
Search for the files that are named idstore and delete them all.
Press Windows key + R
Type: services.msc
Hit Enter
Scroll down to Homegroup services then stop and disable them, Proceed to try and delete the idstore files again.
Reboot to see if Homegroup is gone
Open Start > Settings > Network & Internet > Status
Scroll to the bottom
Click Network and Sharing Center
Click Change advanced sharing settings
Expand All Networks
Under Password protected sharing
Switch between 'Turn on password protected sharing and Turn off password protected sharing'
Then choose 'Turn off password protected sharing'
Then click 'Save changes'