SoftwareCentral · Configuration

External Tools Configuration

An external tool is a program that is launched on a computer from the SoftwareCentral web site, such as the Remote Control Tool or one of your own tools. This page is the checklist for making that work, and for keeping it safe.

SoftwareCentral Client URI scheme Remote Control share Manage Tools

1 How external tools work

A web page cannot start a program on its own. SoftwareCentral solves that with a small helper, the SoftwareCentral Client, and a link type, SoftwareCentral:, registered on the computer. When an operator opens a tool, the browser hands the request to the client through that link, and the client starts the program on that operator's computer, with the operator's own rights.

PartRole
The SoftwareCentral ClientThe program (SoftwareCentralClient.exe) that receives the request and launches the tool. It is kept on a network share, or in a local folder.
The URI schemeThe registry entries that tie SoftwareCentral: links to the client. SoftwareCentral registers them by itself the first time they are needed, or you register them.
The toolAn entry under Tools that you create in Manage Tools, shown in the Tools menu of the roles it is assigned to.

2 What to set up

  1. Put the client on a share (or a local folder) and give the users read and execute rights. Copy Tools\CmRcViewer\ from the installation folder, and enter the path to CmRcViewer.exe under Settings › SCCM › Shares › Remote Control Tool Share Path, for each site. Details: Installing the client.
  2. Register the SoftwareCentral: link. By default SoftwareCentral does it itself. Tick Manually register SoftwareCentral to a URI Scheme if you would rather do it yourself on every device. Details: Configuration of the SoftwareCentral Client.
  3. Remove the browser question so operators are not asked to allow the program every time: Removing the browser question.
  4. Prepare Configuration Manager for remote control, if you use the Remote Control Tool: Remote Control Tool Configuration, then Remote Control Tool to use it.
  5. Add your own tools in Manage Tools: Manage Tools.
  6. Give the tools to the right roles: Assign Tools to Security Roles.

3 The settings

Under Settings › SCCM › Clients and Shares, then Save Settings.

SettingWhat it does
Remote Control Tool Share Path (Shares)Where CmRcViewer.exe is, per site. The Remote Control Tool and your tools use it to find the client.
Manually register SoftwareCentral to a URI Scheme (Clients)Tick it if you do not want SoftwareCentral to register the link on computers automatically. Then you must register it on every computer yourself. It is on for installations that only manage Intune devices.
Remote Registry Service Enabled (Clients)Tick it if the Remote Registry service runs on all your clients, so automatic registration can use it instead of WMI.
Settings, SCCM, Shares: Package Share, Remote Control Tool Share Path (CmRcViewer.exe) and OS Share rows, each with a Site column and a path column
Remote Control Tool Share Path: one path per site.
Settings, SCCM, Clients: Remote Registry Service Enabled and Manually register SoftwareCentral to a URI Scheme tick boxes, above the Client accounts list
Remote Registry Service Enabled and Manually register SoftwareCentral to a URI Scheme under Settings › SCCM › Clients.

4 Kinds of tool

In Manage Tools each tool has a Type. Run Locally tools are the ones that need the client on the operator's computer; Run on Server runs a script on the SoftwareCentral server instead.

TypeWhere it runs, and what you enter
Run on ServerA VBScript or PowerShell script (.vbs or .ps1) on the SoftwareCentral server. Upload a script or choose an existing one, set Arguments and the user it Run as. See Run on Server.
Run LocallyA program or script on the operator's own computer, in the operator's context. Enter Path (local or UNC) and Arguments. See Run Locally.
Open URLOpens an address in the operator's browser. Enter the URL. See Open URL.
Edit Notepad tool window: Name, Description, Type set to Run Locally, Path %windir%\system32\notepad.exe, Arguments, and Parameters with Devices, Users, Applications, Text and Software Variables
A Run Locally tool that starts Notepad. The type is chosen in the Type list.

A tool can also show Parameters for the operator to fill in before it runs: Devices, Users, Applications, Text and Software Variables. They reach the program as /ResourceID, /Username and /PackageID, then your text.

5 Best practice

  • A tool runs with the operator's rights. A Run Locally tool can do anything the operator can do on their computer, so only add programs and scripts you trust and control.
  • Arguments travel as clear text. Never put a password or secret in a tool's Arguments. Use a script that reads its secrets from a protected place instead.
  • Use UNC paths you control. If Path points to a share, make that share read-only for everyone except the administrators who maintain the tool.
  • Hand out tools through security roles. Assign a tool only to the role that needs it, and keep powerful tools (remote control, scripts that change devices) for senior roles.
  • Treat Run on Server scripts as code. They run on your server. Review them, use the lowest-privileged Run as account that works, and keep the originals in version control.
  • Roll out in the right order. Install the client and register the link on one test computer, test a tool, then deploy the registration to everyone, then remove the browser question.
  • Keep the client current. When a new version of the client is announced in the release notes, replace it on the share or deploy it to the local folder.

6 Troubleshooting

You seeCheck
Nothing happens when the tool is openedThe SoftwareCentral: link is not registered on that computer, or the path in it does not exist. Type SoftwareCentral: in the Windows Run box: when it is registered, the client starts and says that no arguments were passed to it.
The browser asks for permission every timeAdd the allow rule for that browser: Removing the browser question.
The Remote Control Tool does not startCheck the Remote Control Tool Share Path for the site, and that the user can read the share.
A tool is missing from the Tools menuIt is not assigned to your security role.
A Run on Server tool failsThe script's return code is written to the SoftwareCentral log. Check the Run as account's rights.

See also: Manage Tools · Installing the client · Remote Control Tool · Log