Missing the option to change the WiFi network profile from public to private on your computer? In that case, you won't be able to change the WiFi network type on your computer in the traditional way. Follow these simple steps to change the network type using Windows Powershell.
If you're using a third-party antivirus that manages your firewall, it may be able to limit network switching for you. Temporarily disable the firewall and try to change the network profile.
Switch from public network to private network using PowerShell-
You can easily change the WiFi network type using the Shell Power window.
1. Press "Windows key + X'.
2. Then what you need to do is just click on "PowerShell (administrator)".
3. To know the network profile, run this command by pasting it into the Shell Power window and knocks file Log in.
You will notice all the networks your computer has access to.
4. Note the "InterfaceIndex'number of the network profile you wish to change (for our network it is "10").
5. Now copy paste this command in the Shell Power window, edit it and then press Log in to change the network profile.
Set-NetConnectionProfile -InterfaceIndex -NetworkCategory Private
[NOTES– Replace “index number” with the InterfaceIndex number you noticed before. Also, Type public or private based on which profile you want]
That is! You have successfully changed the network profile. If you want to see what really works or not, just follow these steps:
6. Again copy paste this command in the Shell Power window then knocks Log in.
You can see the 'NetworkCategory "for your network and it will be reported as"Private".
Close Shell Power window on your computer.
You have successfully changed the network profile on your computer.
Fix-2 Edit Registry Editor-
If the first method didn't work, try changing the registry value to change the network profile.
Registry Editor is a very sensitive location. Your one mistake in Registry Editor can crash your entire system. So, create a backup in advance. After opening the Registry Editor, click on "archive">"ExportAnd keep the backup in a safe but easily accessible place.
If something goes wrong, you can recover the log by simply importing the backup.
1. Press the button Windows key and the 'R'to open the Run window.
2. So you have to write "regedit“And then press Log in.
3 inch Registry Editor window, on the left side, expands like this-
HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows NT CurrentVersion NetworkList Profiles
4. Now on the left side, click to select one of the subkeys.
5. Then, on the right side, check the box "Profile name“To find out the SSID (name) of the network.
In this way, select and check the name of the subkeys one by one until you find the network you want to change.
6. After discovering the network, double click on him "Category”Value to change it.
7. Simply set "Value data: 'for"1".
8. Click on 'ok".
After doing this, close the Registry Editor on your computer.
Restart your computer to save the changes to your computer.
After reboot, the network profile should be changed privately.