Open TCP port 40705 for ControlUp agent in Windows Firewall

This script is designed to run from a management computer (ControlUp Console)._x000A_Using a WMI command generates on a remote computer an Inbound connection Rule in_x000A_Windows Firewall to allow a ControlUp agent deployment stuck at 85% to complete.

Version: 1.4.7
Created: 2019-05-01T12:04:43.223
Modified: 2019-05-02T10:59:06.887
Creator: mc
Downloads: 92
Tags:
The Script Copy Script Copied to clipboard

@ECHO OFF

REM .NAME Deploy ControlUp firewall rule from the Console computer
REM
REM .DESCRIPTION This script is designed to run from a management computer (ControlUp Console).
REM Using a WMI command generates on a remote computer an inbound connections rule in
REM Windows Firewall to allow a ControlUp agent deployment stuck at 85% to complete.
REM
REM .ASSIGNED TO: Computer
REM .EXEC CONTEXT: ControlUp Console
REM .SCRIPT TYPE: CMD
REM .ARGUMENTS: %1 -> Computer Name

SET remoteNODE=%1

ECHO.
ECHO Creating the firewall allow rule to accept TCP 40705 on the selected computer

wmic /node:”%remoteNODE%” process call create “netsh advfirewall firewall add rule dir=in name=ControlUp__40705 action=allow protocol=TCP localport=40705”

START YOUR TRIAL

Get Your Download Link

Gain access to ControlUp from your PC. Register and get a link to start your Free Trial.