Homegroup removed! How to get network sharing work with Windows 10 update v1803.
Here is short description how I get my network sharing work with Windows 10 v1803.
1.)All PC’s: Check network profile and network discovery and share settings
Sometimes this selection to change between Private and Public network profile is missing from Settings / Networks page. In that case profile must be changed by PowerShell. Right Click Windows Icon (Start button) and open PowerShell (Admin) and use following commands to get interface index number and change profile to Private (or Public):
Get-NetConnectionProfile Set-NetConnectionProfile -InterfaceIndex <index number> -NetworkCategory Private
1.2 )All PC’s: Check Network Discovery and Share settings
1.3)All PC’s: Set Start type to Automatic and start following services that allow PC’s to be visible on Network. (Reboot required!)
Push Win Key and type “Services” and locate these services:
- Function Discovery Provider Host
- Function Discovery Resource Publication
- SSDP Discovery
- UPnP Device Host
2.) All PC’s: Setting shares.
2.1.) Check your current shares.
Open file explorer and type \\localhost to address bar to see what shares are made in this computer.
2.2. ) Create new share. This way you can share any folder you like.
(Setting “Turn on sharing so anyone …” in Step 1.2. make this share for C:\Users automatic.)
Folder is now shared and Network share path is: \\PCNAME\FolderToShare
2.3.) Security settings.
Right click “FolderToShare” and:
- Open Properties
- Select Security tab and click Edit
- On Permission dialog click Add
- New dialog open and you can add “User” (3 options)
- Everyone (Access allowed all users even if they don’t have account on that PC. (Very unsafe setting! Think carefully do you need to select this!)
- Authenticated Users (Access allowed all users who have account on that PC)
- “User Name” (Access allowed only that user)
- When back to Permissions dialog select which rights you want to give other users.
- This same work for any folder you create and want to share your home network.
3.) Now when click Network on File Explorer all your PC’s should be visible in Computer and Network sections.
This should be cover the essentials to sharing your data over local network. This share is not limited to C:\Users folder, every folder can be handled like shown in steps 2.
Now your PC’s should visible, but if you start getting error message “Windows cannot access \\PC_NAME” you need to go continue to step 4.
4.) There is some bug on Windows 10 1803 and because of that PC’s can’t always connect to each other by Name.
If you get error “\\PCNAME path not found” you can solve this by adding your PC’s and IP addresses to hosts file.
Instead of using \\PC_NAME\Folder use \\IP_OF_PC\Folder which will also help and you won’t need to add ip addresses to host file.
4.1) New routers (or modems) may have feature to remember which IP-addresses are assign to each device, but with older routers (or modems) you have to check that your router or modem is set give predefined IP-addresses linked to each PC’s MAC-address.
This way PC’s will get same IP-address every time when it ask IP-address form router (or modem) DHCP-server.
There should be some kind of list of PC names with MAC addresses and given IP-addresses of each connected PC.
Picture show that list on my router. In my case with old router I had to select manual assignment in each line.
4.2.) Add all PC’s IP-addresses and Names to C:\Windows\System32\drivers\etc\hosts file.
You can check your IP-address and PC’s name by opening command prompt (CMD)
For IP-address type command: ipconfig you get line like this: IPv4 Address ………. 192.168.100.101
For PC name type command: hostname
Take down IP-address and Names of each PC and add those to that hosts file.
To edit copy hosts file to some another location, right click it and use notepad to edit and save it. Replace original file with edited file. Because hosts file is located on system folder replace will ask administrators rights to perform it.
# localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost 192.168.100.101 PC1 # Ethernet 192.168.100.102 PC2 # Ethernet 192.168.100.202 PC2 # Wi-Fi