TechShizz | Enable ports for remote management for Server Manager

Enable ports for remote management for Server Manager

Problem

You are unable to remotly manage a server using server administrator getiing a DCOM and Remote Event Management firewall error.

Cause

The firewall on the remote computer is not configured to allow remote management of the server.

Solution

You can run this PowerShell command to enable the rules on all servers in one command.

Import-Module NetSecurity

Invoke-Command Server1,Server2,Server3 {Get-NetFireWallRule *COM* | Enable-NetFirewallRule}

Invoke-Command Server1,Server2,Server3 {Get-NetFireWallRule *RemoteEvent* | Enable-NetFirewallRule}‚Äč

Add comment