Here is the command that worked for me
Press windows key and X
Choose Powershell (admin)
Get-NetAdapter
![](https://pmhaynes.co.uk/wp-content/uploads/2023/03/image.png)
Find the ifIndex of the interface you want to change
Use this command but enter your ifIndex number instead of XX
Set-NetConnectionProfile -InterfaceIndex XX -NetworkCategory Private
You must be logged in to post a comment.