Zmienia kategorię sieciową profilu połączenia.

Hi,

In regards to your issue, here’re my suggestions:

You can use PowerShell command to change network settings from public to private: Run PS as administrater

  1. Get-NetConnectionProfile and press Enter. Information is then shown about the active network connection.
  2. Set-NetConnectionProfile -Name „NetworkName” -NetworkCategory Private. Replace NetworkName with the value of the Name field shared by the previous command.
    To double check that the network location was changed, run the Get-NetConnectionProfile again and see the results. The NetworkCategory field should have a different value.

19724-2.png

  1. You can open sharing options for different network profiles in Control Panel> Network and sharing center> Advanced sharing settings

19742-3.png

——-If my answer is helpful to you, please remember to mark them as answer. Thank you!——

Get-NetConnectionProfile -InterfaceAlias "Ethernet1" | Set-NetConnectionProfile -NetworkCategory Public

Get-NetConnectionProfile -InterfaceAlias "vEthernet (VLAN70_Kamery)" | Set-NetConnectionProfile -NetworkCategory Private

Set-NetConnectionProfile -InterfaceAlias "vEthernet (VLAN70_Kamery)" -NetworkCategory "Private"

Get-NetConnectionProfile -InterfaceAlias „Ethernet1” | Set-NetConnectionProfile -NetworkCategory Public

Get-NetConnectionProfile -InterfaceAlias „vEthernet (VLAN70_Kamery)” | Set-NetConnectionProfile -NetworkCategory Private

Set-NetConnectionProfile -InterfaceAlias „vEthernet (VLAN70_Kamery)” -NetworkCategory „Private”

Set-NetConnectionProfile