Windows 10 change network name

After upgrading to Windows 10 on my virtual machine I noticed that the network name was “Network 2” after¬†researching it is a king of a bug in the registry, so to change it just go to¬† Hkey_local_machine\software\microsoft\windows NT\current version\networklist\profiles on REGEDIT.