Skip to content
ResolveDesk

Assets and CMDB

How to monitor computers with the install link

Create the install link, run one command on a Mac, Linux or Windows computer, see it on the Device monitoring page, and give it to a new owner later.

Last updated

Device monitoring lets computers register themselves and then report whether they are on, who is signed in and what happens on them. Who can use it: Asset Managers, Administrators and the Organisation Owner create the link and manage computers. Staff who can read assets see the computers and their activity.

  1. Open Device monitoring in the main menu.
  2. Under Install link, select Create install link.
  3. Copy the command for the operating system you need. They use your ResolveDesk web address, so there is nothing to fill in.
  4. Keep the command in your operations guide. It is shown again whenever you open the page.

Run it on a Mac or Linux computer

  1. Open Terminal on the computer.
  2. Paste the macOS and Linux command. It begins curl -fsSL and ends | sudo bash, and asks for the computer's administrator password.
  3. If ResolveDesk has not seen this computer before, it asks for your full name and work email. If it has, nothing is asked.
  4. Wait for the message that the computer is registered. The computer now reports about every five minutes.

The computer needs bash and curl. On macOS the service runs under launchd. On Linux it runs under systemd, or from cron on systems without systemd.

Run it on a Windows computer

  1. Open PowerShell as administrator: right-click PowerShell and choose Run as administrator.
  2. Paste the Windows command. It begins irm and ends | iex.
  3. If ResolveDesk has not seen the computer before, it asks for your full name and work email.
  4. Check it with & "$env:ProgramData\ResolveDesk\resolvedesk-agent.ps1" status.

The agent runs as scheduled tasks. It has been run on Windows Server 2022. Try it on a test computer first on other versions of Windows.

Read the Device monitoring page

The page has four tabs: Computers, Activity, Install link and Reporting and alerts. The Computers list is paged, and you can show 10, 25 or 50 computers a page.

  • The counts show how many computers are Registered, On, Off and Removed.
  • Each row shows the owner, who is signed in, the system, the address, the state and when it last reported. A computer that said it was shutting down shows when. One that stopped reporting shows for how long.
  • Activity shows what happened on a computer, or on all of them: starts, shutdowns, unexpected shutdowns, sign-ins and sign-outs, software installed or removed, address and name changes and owner changes. Use the filter to narrow it.

Restart or shut down a computer

Select Details on a computer to restart it, shut it down or list the names of the programs running on it. Restarts and shutdowns need a reason, which is recorded, and show a two-minute warning on the person's screen. They are limited to a few a day for each computer. The remote actions switch is off until an administrator turns it on under Reporting and alerts. See set up automated remediation.

Give a computer to someone else

  1. On the computer's row, select Change owner.
  2. Choose A person in ResolveDesk and pick them, or choose Someone else and enter a name and email.
  3. Select Change owner. For a ResolveDesk user the asset is assigned to them. For someone else, the asset is released from the previous person.

The computer learns the new owner with its next report. On the computer, run sudo /usr/local/lib/resolvedesk/resolvedesk-agent.sh status to see who ResolveDesk says has it. The change appears in the activity, and the person who first registered the computer stays on record.

Anyone who has the link can add a computer to your organisation. If it leaks, select Replace link: the old link stops working at once for new installs. Revoke stops new installs until you create another. Computers that are already registered keep working either way.

Stop monitoring a computer

  • In the console, select Remove on the computer's row. It can no longer report or register until you select Restore. The asset record stays.
  • To take the agent off the computer, run sudo /usr/local/lib/resolvedesk/resolvedesk-agent.sh uninstall. The computer tells ResolveDesk that it is going off.

Computers also report their health and can block websites, see read device health and battery and block websites on company computers. Agents update themselves; one older than version 1.2.0 needs the install command run again.

Try ResolveDesk yourself

Start a free trial or open the shared demo organisation with a test account for every role.