Score:0

How to reset the "allow pc to be discoverable on this network" prompt?

cn flag

I have been advised to ask this question here on ServerFault.

I've searched StackExchange, StackOverflow, and Google and I'm not finding any insights on how to reset the prompt when first connecting a PC to the internet. I've found oodles of articles here and abroad discussing "How to disable" this prompt from showing up in the first place - BUT - I'm wanting to "reset" the prompt in order to display it again as if the machine was a fresh, virgin-clean image without ever having access to the internet or network.

Otherwise - Is it correct to assume that when the user clicks "Yes" then this becomes the equivalent of running netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes from the command line? I am wanting to make sure I do not enable a blanket set of rules by default if performing this action from the prompt does not do the same.

PS - I do understand the risks/benefits of allowing Network Discovery, but I am in a situation where our client wants this enabled . . . PowerShell alternatives to change the rules are considered but unnecessary, as I know how to turn this on via netsh from Command Line. If there is a PowerShell method to reset the prompt however, I'm all eyes.

Operating System is Windows 10 and Windows Server 2019.

Score:0
cn flag

You can reset the network connection profile by deleting the registry key corresponding to the connection you want to reset here:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\<GUID>

NetworkList\Profiles registry key Warning: Don't remove the Profiles key. Just delete the key named after the GUID you want to forget.

The next time the computer will connect to this network, you'll be ask to select if you are on a private/public network, as expected.

If you want to find which GUID corresponds to which networks, you can take a look here HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged because you'll find the default gateway's MAC address alongside the profile GUID. Matching the profileGuid with the default gateway mac address Warning: Don't remove anything inside this key.

k1dfr0std avatar
cn flag
I attempted this w/ both of my wireless networks within my home and did not receive the prompt. Would a reboot in between deletion of the key and reconnection of the network be required? For what it is worth, I see it creating a new GUID for the appropriate networks, but no prompt.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.