There are numerous tutorials on how to set up network discovery on a private network for Windows 11. Most talk about simply going into Advanced Sharing Settings and toggling Network Discovery on. If I try that, then go back up one level (or do ANYTHING else, such as reboot, go to a different screen, or anything else I could think to try), then come back in, the settings are Off again. In other words, changing that setting does nothing, as the setting reverts as soon as I go anywhere else.
Some AI stuff then suggests that this is a firewall issue and talk about going into Windows Defender Firewall and enabling the Network Discovery group members. Those members simply do not exist, neither in apps, nor in inbound rules.
A further suggestion was to use PowerShell with this command:
Set-NetFirewallRule -DisplayGroup "Network Discovery" -Enabled True
(I may have a typo in there, but it looks about right).
This also fails with an error that No MSFT_NetFirewallRule objects found with property "DisplayGroup" equal to "Network Discovery". Verify the value of the property and retry.
I have also compared to a different computer, and everything appears to be there and working on that other computer. The toggles work on that computer, the Network Discovery rules exist in the inbound rules of Windows Defender Firewall, and so forth. Everything is as all the tutorials think it should be. That is not the case on this Surface Pro.
From this I take it that Network Discovery group simply does not exist on this computer and I have no idea why. AI is downright condescending on this topic, and every tutorial I have seen appears to assume that it is user error and I'm just not looking in the right place. By this point, it's pretty clear that's not the case. That rule group does not exist.
I also did a Network Reset, which had no impact.
The situation appears to be that the Network Discovery group does not exist on this computer, and I'm looking for a way to solve that.