How To Fix Enable IPv6 Error When Creating Homegroup In Windows 10

When trying to create a homegroup in Windows 10, one common error that is encountered is about enabling IPv6 for the network connection.
To fix this, a couple of Windows services need to be enabled along with a registry change.
Here is how:
First, open Run box (Windows key + r) and type services.msc :
Drill down so that two services: Peer Networking Grouping and PNRP Machine Name Publication Service...