Install PollySec Agent
Install the agent on your Windows computers and servers manually, with Microsoft Intune, with Group Policy or with an RMM tool or script, and remove it again.
Reviewed 23 November 2026
All guidesPollySec Agent reports a Windows computer or server to PollySec from inside the computer. Add computers asks how you want to install it and shows the installer and the steps for that method: Manual install, Microsoft Intune, Group Policy or RMM tool or script. Each computer appears under Computers > All computers about a minute after the install, and its security settings and programs a minute or two later.
The agent runs as a scheduled task, not a service. Windows starts it every hour and at start-up, sign-in and unlock. It checks in with PollySec every few hours, and within about half an hour of a sign-in or unlock, and each run ends within seconds. A small listener task stays running, so Sync now on the computer’s page reaches it within a minute. It updates itself to the versions PollySec releases at its next check-in, and it never restarts the computer.
Before you start
- Windows 10, Windows 11 or Windows Server, on an x64 or an ARM64 processor.
- Outbound HTTPS (port 443) from each computer to
agent.pollysec.com, the agent’s address at PollySec. The agent sends its reports there, downloads its updates there and checks the publisher’s certificate of an update there. - As a fallback for updates, outbound HTTP (port 80) to
www.microsoft.comandoneocsp.microsoft.com. When the certificate check through PollySec cannot be used, Windows checks the publisher’s certificate with Microsoft at these two hosts. If neither check works, the agent stays on its version, and its page under Computers says why. Add computers names all three hosts. - Behind a proxy, make it the computer’s WinHTTP proxy and let the three hosts through it without sign-in, for example
netsh winhttp set proxy proxy-server="proxy.example.se:8080" bypass-list="<local>;*.example.se". The agent and Windows’ certificate check both use it. - An administrator account on the computers, or a deployment tool that installs as SYSTEM.
Choose a method
- Go to Computers > All computers and select Add computers.
- Choose how you want to install, and select Next.
- Follow the steps for your method, below. Then select Next: the window shows each computer as it checks in.
The steps come with an installation key filled in. The key tells the agent which company the computer belongs to. It works for 90 days and on up to 1,000 computers, and it is shown only in this window. When a deployment’s key has expired, open Add computers again for a new one and put it in the deployment.
To give the key another name, expiry or limit, open Key settings at the foot of the steps. To use a key you kept from before, select Use an existing key there and paste it: a key is shown only once, when it is added.
Note
A key can only add computers to your company, up to its limit, and it reads nothing. Revoke it on the Installation keys page when the deployment is done: the computers it added keep reporting.
Manual install
For a few computers, or a first test. The installer you download already holds your installation key, so there is nothing to type on the computer.
- In Add computers, choose Manual install.
- Select Download installer (x64). Most computers need it; a computer with an Arm processor, such as a Snapdragon processor, needs Download installer (ARM64).
- Copy the file to the computer if you downloaded it on another one. Keep the file name as it is.
- On the computer, open the file and approve the Windows prompt. Windows asks for an administrator of the computer.
The same file works on every computer, for as long as its key: 90 days. Anyone with the file can add computers to your company until then, so delete it when you are done. Right after Add installation key, the same download is beside the new key.
Microsoft Intune
In Add computers, choose Microsoft Intune. The window shows the commands below with your file name and installation key filled in.
-
Select Download installer (x64), or Download installer (ARM64) for computers with an Arm processor.
-
Package the installer with the Microsoft Win32 Content Prep Tool, in a folder that holds the installer alone:
IntuneWinAppUtil.exe -c <folder with the installer> -s PollySecAgent-0.1.0-x64.msi -o <output folder> -
In the Microsoft Intune admin center, go to Apps > All Apps > Create and choose Windows app (Win32).
-
Select the
.intunewinfile. On Program, paste the Install command and the Uninstall command that Add computers shows, and set Install behavior to System. -
On Requirements, set Operating system architecture to the architecture of the installer.
-
On Detection rules, choose Manually configure detection rules and add a File rule: Path
%ProgramFiles%\PollySec\Agent, File or folderPollySecAgent.exeand Detection method File or folder exists. -
On Assignments, add the groups of computers under Required, then create the app.
Create one app for x64 and one for ARM64, each set to its own architecture. Use a Win32 app rather than a line-of-business app: the agent updates itself, and a line-of-business app tracks it by a product code that changes with every update.
Group Policy
In Add computers, choose Group Policy.
- Select Download installer (x64), or Download installer (ARM64) for computers with an Arm processor.
- Select Download policy templates. Copy the contents of its
PolicyDefinitionsfolder to the Central Store,\\<domain>\SYSVOL\<domain>\Policies\PolicyDefinitions. - In Group Policy Management, edit a Group Policy Object linked to the computers. Go to Computer Configuration > Policies > Administrative Templates > PollySec > Agent, open Installation key, choose Enabled and paste the key.
- Copy the installer to a share the computers can read. In the same Group Policy Object, go to Computer Configuration > Policies > Software Settings > Software installation, choose New > Package, type the path of the installer on the share, such as
\\fileserver\PollySec\PollySecAgent-0.1.0-x64.msi, and choose Assigned. - Turn on Always wait for the network at computer startup and logon under Computer Configuration > Policies > Administrative Templates > System > Logon, so the installer runs at the first restart.
The computers install the agent at their next restart. For ARM64 computers, use a Group Policy Object of its own, with a WMI filter that selects them. Leave the package as it is afterwards: the agent updates itself.
Note
Every user in the domain can read a key that Group Policy sets. It can only add computers to your company: revoke it when the deployment is done.
RMM tool or script
For a remote management tool, or a script of your own. In Add computers, choose RMM tool or script.
-
Select Download installer (x64), or Download installer (ARM64) for computers with an Arm processor.
-
Run the install command from your tool as SYSTEM, or in a Command Prompt opened as an administrator, in the folder that holds the installer. Add computers shows the command with your file name and key filled in:
msiexec /i PollySecAgent-0.1.0-x64.msi /qn /norestart INSTALLATIONKEY=<your installation key>
The install is silent and never restarts the computer.
Check that it works
Go to Computers > All computers. A computer shows Reporting once it has checked in. Select a computer to open its page, with its hardware, its Windows version and its agent. When a computer changes explains Late and Not reporting, and what happens when a computer is reinstalled or replaced.
Remove the agent
- On the computer, open Installed apps in Windows Settings (Programs and Features on Windows Server), find PollySec Agent and select Uninstall. With Intune, assign the app as Uninstall instead.
- The agent tells PollySec it was uninstalled, and the computer leaves All computers. Show removed lists it as Agent uninstalled.
Uninstalling removes the scheduled tasks, the agent’s files and its key. A computer that could not reach PollySec while it was uninstalled stops reporting, and leaves the list by itself after 90 days without a report, by default. When a computer changes covers Group Policy and remote management tools too.