DocsNetworkDCOM / Change IP

Auto-change IP via DCOM/mobile network in RunMacro

RunMacro RunnerRunMacro 3.5+

The DCOM / Change IP command controls a cellular or dialup network to change IP, connect, disconnect, or check the Internet.

Dialog & quick setup

RunMacro DCOM / Change IP command configuration dialog showing parameter fields
Configuration dialog and parameter fields for the DCOM / Change IP command in RunMacro.
  1. Add a Network › DCOM / Change IP command.
  2. Choose the network name and type (cellular/dialup).
  3. Choose the action: Change IP / Connect / Disconnect / Check Internet.
  4. (Optional) set retries, delay, and IF/ELSE labels. Save.

Options reference

Network name + Type (cellular/dialup)

The network to control and its connection type.

Action

Change IP (disconnect then reconnect), Connect, Disconnect, or Check Internet.

Retries + delay between tries

Retries until success. For Change IP: 0 means retry until it works.

IF label / ELSE label

On success jump to IF; on failure jump to ELSE.

Modes & when to use

RunMacro Runner

Best for

  • Rotate IP between sessions to avoid IP limits.
  • Check the Internet before continuing.
  • Reconnect the network after a drop.

Use an alternative when

  • Do not use it when the device/Dcom is not managed by you or IP changes violate network policy.
Before you run
  • Add DCOM / Change IP to the macro.
  • Prepare the data or target that DCOM / Change IP will use.

Example workflow

Example: change IP before continuing

  1. DCOM / Change IP, pick the cellular network, action Change IP.
  2. IF label = new_ip for the next steps.
  3. ELSE = retry to handle failure.
Expected result: After execution, DCOM / Change IP completes the described action and makes its result available to the next step.

Tips & limitations

It uses Windows netsh/rasdial — you need a configured DCOM/mobile network device.
  • Success depends on modem, driver, carrier, and reconnect timing; a new IP is not guaranteed immediately.

Applies to RunMacro 3.5+ · RunMacro Runner · Windows 10/11

RunMacro robot

Robots do the work. Your time is yours.

Create a robot in minutes, no coding needed. Reliable execution, remote management, transparent costs — and you always stay in control.