To enable these rules via the command line, launch the command prompt console with elevated permissions (as Administrator) and execute the command below:
netsh advfirewall firewall set rule name="Remote Event Log Management (NP-In)" new enable= Yes netsh advfirewall firewall set rule name="Remote Event Log Management (RPC)" new enable= Yes netsh advfirewall firewall set rule name="Remote Event Log Management (RPC-EPMAP)" new enable= Yes netsh advfirewall firewall set rule name="COM+ Network Access (DCOM-In)" new enable= Yes
To enable these rules via the PowerShell, launch the PowerShell console with elevated permissions (as Administrator) and execute the command below:
Set-NetFirewallRule -Name 'RemoteEventLogSvc-NP-In-TCP' -Enabled True Set-NetFirewallRule -Name 'RemoteEventLogSvc-In-TCP' -Enabled True Set-NetFirewallRule -Name 'RemoteEventLogSvc-RPCSS-In-TCP' -Enabled True Set-NetFirewallRule -Name 'ComPlusNetworkAccess-DCOM-In' -Enabled True