Running the test batchfile in an elevated CMD prompt on an offending computer to show up in the network then it disappears 20 to 30 minutes later.
Router has been powered off and recently upgraded. This issue has been ongoing since SMB 1.0 was deprecated due to security issues and as someone else indicated activating Remote Access is also a security issue which had gapping holes that MS patched recently
I've been using the workaround to restart FDResPub for 3 years from v 1809 and up now v 20H2 and also insider builds 20251.1 , no SMB of any type is running, sharing and discovery enabled on private network, it works fine on my 6 computers.
If the network drops it could be when the computers go to sleep and comes back, a second condition has been added in the task scheduler for that situation.
Here are the settings I use on the machines that are exhibiting the problem.
Edit:
Note that to avoid the Credential Manager problem that clears the credentials after a reboot you should use a user password to start the task, leave "Do not store password" option unchecked and enter the password when asked.
This new problem about Credential Manager clearing credentials on reboot showed up recently with latest Cumulative updates of windows 2004 and 20H2.
(I got the Credential issue with build 19042.685 and I unchecked "Do not store password" option to avoid the problem)