Author Topic: AntiVirus Pro LAN Connection fixed to Public  (Read 1907 times)

0 Members and 1 Guest are viewing this topic.

Offline Morgan62

  • Newbie
  • *
  • Posts: 2
AntiVirus Pro LAN Connection fixed to Public
« on: November 23, 2021, 02:15:17 PM »
I have run into an issue I hope you can assist with.
Some of the LAN connected desktop machines in my office appear to have changed to a public network profile.
I have tried changing the profile in windows but it keeps changing back. I have also tried this using Power Shell. Same issue.
 
On extensive googling, it appears to be Avast causing the issue.
However when I check the Avast Firewall settings the option to change the profile is greyed out


The reason we need this as Private is for file sharing and Remote Desktop Access which is critical for our line of work.
 
On more googling, the above reason may be caused by the global Policy controlled from the online Business Hub.
However, I am not sure where to find this option to default all LAN connections to Private.

Offline Infratech Solutions

  • Avast Reseller
  • Super Poster
  • *
  • Posts: 2396
  • Mayorista e integrador de Avast en España
    • Ciberseguridad Avast para empresas y MSPs en España.
Re: AntiVirus Pro LAN Connection fixed to Public
« Reply #1 on: November 24, 2021, 09:33:11 AM »
We had the same issue in some customers/devices.

Even unistalling Avast from the device, it's not possible to change the network from "Public" to "Private".

Our solution is to force the network to be "Private" on the registry:

Code: [Select]
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
When you find the ProfileName of the network you want to change to Private, double-click on the Category DWORD on the right-hand side.
Change the ‘Value data’ from 0 (Public) to 1 (Private).
Close the Registry Editor.
Reboot.

Offline Morgan62

  • Newbie
  • *
  • Posts: 2
Re: AntiVirus Pro LAN Connection fixed to Public
« Reply #2 on: November 24, 2021, 09:44:37 AM »
Thanks for the reply!!

I contacted the Avast helpdesk and they came back with the following:

Thank you for contacting Avast Business Technical Support.
The policy your devices are assigned to and found that you are using Avast Firewall service so that is why you could not change your network profile windows.
To change your network profiles, you should go to:
Avast Business Hub>   Policies>   select the policy that you would like to change>   Service Settings>   Firewall>   change it to Private:
 
 
This sorted my issue.