To open the registry editor press the Windows + R keys to open the Run dialog, type regedit, and press Enter. If prompted by UAC, then click on Yes.
Go to this folder: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles.
The Profiles folder will provide a list of all the network locations (past or recent) that you have used. Each network location is represented by a subfolder.
Here you can delete individual sub-folders to remove individual connections or if you’d like to delete all the connections simply delete all of the sub-folders within the Profiles folder.
To rename a network location, click on the corresponding sub-folder and edit the key named ProfileName. Input the new name for the network location.