How to mine Monero using CPU on multiple computers? As well as Masari, AEON, TurtleCoin, Graft, Stellite, RYO and BitTube

Despite the fact that we already have a bunch of Monero/CryptoNight CPU miners like xmrstak, xmrig and others, in case of mining on tens or hundreds computers we will encounter configuration and management problem. Any change in configuration like wallet, coin or intensity will require to push different configuration files to all your CPU miners. And this is not the only problem, here is another one. Being classic console application, all existing CPU miners are visible to user and could be started only after user logon. Which means they will distract user, they can be closed by user, and also they often have a problems with allocation of "fast memory" on Windows. Also if you set maximum mining intensity using all possible CPU cores, system usually will become laggy and this will affect user work.

How CryptoNightInOffice solves all this "console CPU miner" problems ?

  • Works as Windows system service. Not visible to user. Starts at system boot and works in background.
  • Configurable mining intensity. You may set mining intensity depending on user login state. For example you may set maximum mining intensity when no user is logged in and set it to half or disable mining when user is logged in. This allows to make mining truly background and not affecting users work.
  • Central management via web admin. If you change something, wallet, pool, active coin or mining intensity all miners will receive updated settings when you press Apply button. No more config hell.

How to setup and configure CryptoNightInOffice CPU miner

Server installation

Download installer from our site. It is not a virus or malware but sometimes Windows Defenders and other security tools mark it as malware. Install it on computer which you decide will be control server, this may be virtual machine as well. Control server will provide following functions:

  • Web server with web admin panel
  • Stratum proxy for CPU miners
  • Control server for CPU miners: sends config and accepts statistics

Installer will create Windows firewall exclusion rules for the following ports:

  • TCP:8888 (default value) for web admin panel access;
  • TCP:8890 (default value) stratum proxy connections from mining agents;
  • TCP:17344 (can not be changed) mining agent connections to control server;
  • UDP:17344 (can not be changed) control server auto-discovery requests from mining agents.

CPU miner agent installation

After server installation you may find mining agent executable in agent folder. By default full path is C:\Program Files (x86)\CryptoNightInOffice\agent and filename is MinerAgent.exe.

This file should be copied onto all computers which will mine coins, into the folder of your choice. This is should be Windows x64(Vista or later) computers with CPU supporting AES instructions set(it will work without AES but hashrate will be very low).

To install as Windows system service and start:
MinerAgent.exe --install [--server=”IPv4 or name” --name=”display name” --log=”log folder”]

  • You need to specify server IP or name if some parts of your network(hubs, switches, routers etc) block UDP broadcast packets. In this case control server auto-discovery will not work;
  • Default display name is “CryptoNightInOffice Agent”;
  • If no log folder is specified, text log will not be created.

To stop and uninstall:
MinerAgent.exe --uninstall

Configuration

First step after logging in into web admin (http://localhost:8888 by default) is to change password from default ‘admin’ to something else - Settings | Admin password:

Than define your wallets and desired mining pools for each currency you want to mine on the corresponding settings pages:

On the Settings | Currency & donate page you can select active currency and adjust developer fee to sky high value or lower it to 2%):

The most interesting settings page is Settings | Mining profile. On this one you can define mining intensity depending on user login state. There are four supported states:

  • No logged in users;
  • Local user logged in and active;
  • There are local or remote user sessions but they are in locked or inactive state;
  • At least one active remote session.

Using this settings you may configure computers to mine coins and make profit and still keep users happy and not complaining.

That is all, your CPU mining network is ready to rock)