In Windows there are network profiles per network where you are connected e.g.
Private network Public network
To change between these, open an Administrator CMD prompt and run mmc secpol.msc.
Select Network List Manager Policies, and then double click the network you’re connected to.
Then, click the Network Location tab.
By default the setting for “Location type” is “Not configured” but here you can set whether you want to use the Private or Public profile.