Hi NongJin,
Thank you for posting your query.
To resolve your concern kindly try the methods below.
A. Enable Private Network
Just to let you know that only devices within the private network will be discovered. So, to make all the network computers show up, first of all, make sure your private network is enabled. If not, just do it as below.
- Navigate to Windows Settings > Network & internet.
- If you are using the wired Ethernet, click Ethernet and select Private. If you are using Wi-Fi, click Wi-fi and choose Private. Of course, you can set up both network connections to private.
- You may need to restart the computer to make the changes take effect.
B. Enable File Sharing and Network Discovery
To view other machines, network discovery and file sharing must be enabled. If one of them is not, you will suffer Windows workgroup not showing all computers on the network issue.
- Open Control Panel, view its items by icon (either large icon or small icon), and select Network and Sharing Center.
- Choose Change advanced sharing settings in the left panel.
- Then, expand Private (current profile) and select Turn on network discovery and Turn on file and printer sharing options respectively.
- Finally, click the Save changes
You may also need to enable file sharing and disable password protection sharing for All Networks.
You can directly turn on file sharing and network discovery by clicking the error message “File sharing is turned off. Some network computers and devices might not be visible. Click to change…” when you go to Network in Windows File Explorer and select Turn on network discovery and file sharing.
C. Enable Network Discovery and File Sharing by Command Line
You can also rely on commands to turn on file sharing and network discovery. Just open a command prompt (CMD) as administrator and input the following command into it one by one and press Enter after entering each command.
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes
To turn on network discovery through PowerShell, the command order is as below.
Get-NetFirewallRule -DisplayGroup "Network Discovery" -Enabled True -Action Allow -Direction Inbound
Do not hesitate to message us if you need further assistance.
---------------------------------------------------------------------------------------------------------------------------------
If the answer is helpful kindly click "Accept as answer" and upvote it. Thanks.