When you connect to a Wi-Fi or Ethernet network, Windows automatically assigns it a network profile: Public or Private. A public profile hides your PC from other devices and disables file sharing, which is great for coffee shops but can block home networking features like printer sharing or casting to a TV. This guide walks you through switching a network to Private on Windows 10 and Windows 11, using built-in settings and, when needed, PowerShell. You’ll need to be signed in with an administrator account for some methods.
What You’ll Need
- An administrator account on the Windows PC.
- For Ethernet: physical access to the router or the network name (to confirm it’s your own).
- For Wi-Fi: the network must be currently connected—you cannot change the profile of a network you’re not on.
Step-by-Step
Method 1: Change via Wi-Fi Settings (Windows 11)
- Click the Wi-Fi icon in the system tray (bottom-right) and select the > arrow next to the connected network’s name.
- Click the Properties (or the i icon) for that network.
- Under Network profile type, select Private.
- Close the window. The change applies immediately.
Method 2: Change via Settings App (Windows 10)
- Go to Settings > Network & Internet.
- For Wi-Fi: click Wi-Fi in the left pane, then click the connected network’s name.
- For Ethernet: click Ethernet in the left pane, then click the network name.
- Under Network profile, select Private.
- Close Settings—the change saves automatically.
Method 3: Using Control Panel (Both Windows 10 & 11)
- Open Control Panel (type it in the Start menu search).
- Go to Network and Sharing Center.
- Click the network name (e.g., “Wi-Fi” or “Ethernet”) next to Connections.
- In the pop-up window, click Properties.
- In the new window, check the box for Private (not “Public”).
- Click OK and close all windows.
Method 4: Using PowerShell (When Settings Won’t Let You)
- Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin).
- Type the following command to see all networks and their current profile:
Get-NetConnectionProfile
- Note the InterfaceIndex number for the network you want to change (e.g., 12).
- Type this command, replacing 12 with your InterfaceIndex:
Set-NetConnectionProfile -InterfaceIndex 12 -NetworkCategory Private
- Press Enter. You’ll see no confirmation, but the change is instant.
Common Mistakes
- Choosing Public on your home network—this disables file sharing and device discovery, causing printers and other PCs to be invisible.
- Using the wrong InterfaceIndex in PowerShell, which changes the wrong network. Double-check the index before running the command.
- Forgetting that Ethernet and Wi-Fi are separate—you must change the profile for each connection type individually.
- Assuming the change applies to all networks—each network (e.g., HomeWiFi vs. CoffeeShop) keeps its own profile.
Tips
- Always use Private only on networks you trust, like your home or work. Public networks (airports, hotels) should stay Public to protect your PC from other users.
- If you frequently switch between home and public networks, Windows remembers the profile per network, so you only set it once.
- After switching to Private, check that network discovery is enabled: go to Control Panel > Network and Sharing Center > Advanced sharing settings and ensure “Turn on network discovery” is selected for the Private profile.
- If you’re on a domain (work/school), the network profile might be controlled by group policy—you may not be able to change it manually.
Troubleshooting
The “Private” option is grayed out
This usually means the network is managed by Group Policy (on a corporate PC) or by your antivirus/firewall. Contact your IT admin. If it’s a home PC, try the PowerShell method—it often bypasses the grayed-out setting.
After changing to Private, file sharing still doesn’t work
Check that Network discovery and File and printer sharing are turned on for the Private profile. Go to Control Panel > Network and Sharing Center > Advanced sharing settings and enable both for the Private section. Also, ensure your firewall allows file sharing (Windows Firewall usually prompts you).
PowerShell says “Cannot find a network connection with the specified InterfaceIndex”
Run Get-NetConnectionProfile again—the index may have changed after a reboot or network switch. Use the current index from the output.
The network keeps reverting to Public
This can happen if your router’s SSID is the same as a known public network, or if a third-party security suite resets it. Try forgetting the network and reconnecting, then immediately set it to Private. Also check if your security software has a “network profile” setting that overrides Windows.
I don’t see the “Network profile type” option in Windows 11
Make sure you’re viewing the properties of the connected network. If you’re on a metered connection, Windows might hide the option—temporarily disable “Metered connection” in the same settings page if you see it.
Frequently Asked Questions
What’s the difference between Public and Private network profiles?
Public turns off network discovery and file sharing, making your PC invisible to others. Private enables these features, allowing you to see and be seen by other devices on the same network (like printers or other PCs).
Is it safe to set my home Wi-Fi to Private?
Yes, if you trust everyone on that network (family, roommates). It’s necessary for features like sharing files or using a network printer. Only use Public on networks you don’t control, like cafes or airports.
Can I change the network profile for a VPN connection?
Yes, but the VPN adapter appears as a separate network connection. You can change its profile using the same methods, but it’s usually best to keep it Public for privacy.
Why does Windows keep asking me if I want to allow my PC to be discoverable?
That prompt appears when you connect to a new network, and Windows is asking you to choose between Public (No) and Private (Yes). If you clicked “No” by mistake, use the steps above to change it later.
Does changing the profile affect my internet speed?
No. The profile only affects local network features like discovery and sharing. Your internet connection speed is unaffected.
Can I set a network to Private without an administrator account?
No, changing the network profile requires administrator privileges. If you’re on a standard account, you’ll need to ask an admin to do it for you.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Facebook Messenger Games: How to Play With Friends
- Stop Chrome Auto-Opening on Windows Startup
- Snapchat Security: 12 Tips to Lock Down Your Account
- Missing Comma on iPhone Keyboard: Fix & Where It Went
- Get Pixel Weather & Screenshot Apps on Any Android
- Other Storage on Android: What It Is & How to Clean It