How to untick Network Connection from the Public Profile Properties

chirag darji 136 Reputation points
2023-07-07T05:18:02.9133333+00:00

Hello,

I have problem with Firewall.

I have installed WSL and configure UBUNUT 22. When public profile is enable, and I ping to FQDN at that time getting "Temporary failure in name resolution error". And When i disable public profile at that time the FQDN resolution is work.

So i found vEthernet (WSL) is blocking from the public profile, So i want untick vEthernet (WSL) adaptor using powershell or Command line or GPEDIT.

MicrosoftTeams-image

MicrosoftTeams-image (1)

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,967 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,546 Reputation points
    2023-07-07T12:25:04.5233333+00:00

    Hello there,

    To untick the "Network Connection" option from the Public Profile Properties in Windows, you can follow these steps:

    Open the Control Panel on your Windows computer. You can access it by searching for "Control Panel" in the Start menu.

    In the Control Panel, navigate to "Network and Internet" and then click on "Network and Sharing Center."

    In the Network and Sharing Center, click on the "Change advanced sharing settings" link on the left-hand side.

    In the Advanced Sharing Settings window, scroll down to the "Public" section.

    Under the "Public" section, locate the "Network discovery" option and click on the "Turn off network discovery" button. This will prevent your computer from being discoverable on public networks.

    Similarly, locate the "File and printer sharing" option and click on the "Turn off file and printer sharing" button. This will disable file and printer sharing on public networks.

    Once you have made these changes, click on the "Save changes" button to apply the settings.

    I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.