Skip to content

Deploy unattended access to many computers

Unattended access lets your technicians connect to a computer without a code. On each computer, the installer RemoteZyro-Unattended-setup.exe sets up a Windows service that connects out to RemoteZyro and appears on the Devices page of the console. It runs on Windows 10 and 11 (x64) and needs administrator rights, which deployment tools have when they run as SYSTEM. Until the installer is on the download page, pre-release builds come from us directly.

A member who only needs their own computer reached while they’re signed in to Windows can add it themselves from the RemoteZyro app: see Add your own computer. Computers deployed here can be reached at any time, also at the sign-in and lock screens.

An owner or admin creates the token in the console:

  1. Open Devices, then go to Add computers.
  2. Fill in Name for these computers, choose When a technician connects, and set How many computers it may add to the number of computers you’re deploying to.
  3. Click Get an installer, then open For IT: install from a script and copy the token. It’s shown only once and expires after 7 days.

Treat the token like a password: anyone who has it can add a computer to your device list. Once the rollout is done, click Revoke next to it.

RemoteZyro-Unattended-setup.exe /S /TOKEN=rzd_...

/S installs silently. Run it as an administrator or as SYSTEM. Each computer shows up on the Devices page as soon as it has enrolled.

Exit code Meaning
0 Installed and enrolled: the computer is on Devices (or it was updated)
2 No token, or not a RemoteZyro enrollment token; nothing was installed
3 The files were installed but the service couldn’t be set up; run it again
4 Installed, but the computer hadn’t joined after two minutes. It keeps trying: usually it can’t reach RemoteZyro (a proxy or firewall), or your plan has no room for another computer
5 Installed, but RemoteZyro refused the token: used up, revoked or expired. Nothing joined; create a new token and run the installer again

The installer waits up to two minutes for the computer to join, so a 0 means it’s on Devices.

It installs to C:\Program Files\RemoteZyro Unattended\. Use that folder’s rz-service.exe to detect whether a computer has it.

Add it as a Windows app (Win32):

  1. Put RemoteZyro-Unattended-setup.exe in a folder of its own and wrap it with Microsoft’s Win32 Content Prep Tool: IntuneWinAppUtil.exe -c <folder> -s RemoteZyro-Unattended-setup.exe -o <output folder>.
  2. Install command: RemoteZyro-Unattended-setup.exe /S /TOKEN=rzd_...
  3. Uninstall command: "C:\Program Files\RemoteZyro Unattended\uninstall.exe" /S
  4. Install behavior: System.
  5. Detection rule: File. Path C:\Program Files\RemoteZyro Unattended, file rz-service.exe, detection method File or folder exists.

Intune treats any exit code it doesn’t list as success as a failure, so 2, 3, 4 and 5 show as failed installs. A 4 is installed and still trying to join: if you’d rather Intune count it as installed and you check Devices yourself, add 4 to the app’s return codes as a success. Anyone who can edit the app in Intune can read the token in the install command: use a token for this rollout only, and revoke it afterwards.

Create an Application with a Script Installer deployment type:

  • Installation program: RemoteZyro-Unattended-setup.exe /S /TOKEN=rzd_...
  • Uninstall program: "C:\Program Files\RemoteZyro Unattended\uninstall.exe" /S
  • Detection method: the file rz-service.exe exists in C:\Program Files\RemoteZyro Unattended.
  • Installation behavior: Install for system, whether or not a user is logged on.

Most remote monitoring and management tools run scripts as SYSTEM, which is what the installer needs. Copy the installer to the computer with your tool, then run, for example in PowerShell:

$p = Start-Process "$env:TEMP\RemoteZyro-Unattended-setup.exe" -ArgumentList '/S', '/TOKEN=rzd_...' -Wait -PassThru
exit $p.ExitCode

Your tool may keep a copy of the script, token included, so revoke the token once the rollout is done.

Use a computer startup script: it runs as SYSTEM when the computer starts, so computers install at their next restart. Scripts in a Group Policy object can be read by every user in the domain, so keep the token out of the script. Put it in a text file on a share that only Domain Computers can read, next to the installer:

@echo off
rem Installs RemoteZyro unattended access once; computers that have it are skipped.
if exist "%ProgramFiles%\RemoteZyro Unattended\rz-service.exe" exit /b 0
set /p RZTOKEN=<"\\fileserver\RemoteZyro$\token.txt"
"\\fileserver\RemoteZyro$\RemoteZyro-Unattended-setup.exe" /S /TOKEN=%RZTOKEN%

An MSI package for Group Policy software installation is planned.

No command line is needed for a single computer. There are two ways:

  • An installer with the token inside. Right after you click Get an installer, click Download installer. Send that file to the computer, or take it there. On the computer, double-click it and allow Windows’ admin prompt.
  • The plain installer. Run it on the computer and allow the admin prompt. It shows a short code and opens the browser at RemoteZyro. Sign in as an owner or admin, type the code the computer shows and click Continue, check the computer’s name, and click Add this computer. This also suits someone adding their own computer to their own account.

Either way, before anything is installed the computer shows which organization it’s joining, how far RemoteZyro has verified it, and what its technicians will be able to do. Nothing installs until the person there clicks Install. After a sign-in it also shows who approved it.

A silent install (/S) never does this: it still needs /TOKEN=.

You can also open Command Prompt with Run as administrator and run the install command above.

  • Update: run the newer installer with /S on its own. No token is needed: the computer stays enrolled and keeps its policy. Double-clicked, it asks first what to do with the installed copy; either answer keeps the computer enrolled.
  • Automatic updates: once our releases are code-signed, each computer will update itself between sessions, only to versions signed by RemoteZyro. If your team rolls out versions through your deployment tool, choose Hold under Updates on the Devices page: the computers then take only security fixes, a week after each computer first sees them. The audit log records each computer’s update.
  • Uninstall: "C:\Program Files\RemoteZyro Unattended\uninstall.exe" /S, or Settings → Apps on the computer. This removes the service and the computer’s key, and takes the computer off the Devices page if it can reach RemoteZyro at that moment; otherwise click Remove there.

Click Revoke next to it on the Devices page. A token can only add computers to your device list: it gives no access to the computers already there. Remove any computer you don’t recognize.