Skip to main content

scani5 Agent — Active Directory (GPO) Deployment & Verification Guide

Step-by-step instructions for deploying the scani5 Windows Agent across domain endpoints and verifying background operation.

Product: scani5 Windows Agent | Deployment Mode: Active Directory (GPO) | Publisher: SQ1 Security

1. Deployment Overview​

The scani5 Windows Agent by SQ1 Security provides continuous endpoint visibility, software and patch inventory, identity exposure monitoring, and configuration assessment. Depending on your enterprise environment, the scani5 Agent can be deployed using any of the following three methods:

OptionMethodDescription
Option 1Manual InstallationDirect interactive or silent command-line (msiexec) installation on individual standalone endpoints.
Option 2 • Covered in this guideActive Directory (GPO)Automated domain-wide deployment across Organizational Units (OUs) using Windows Server Group Policy Startup Scripts.
Option 3Microsoft Intune (MDM)Cloud-managed silent deployment to Azure AD / Entra ID joined endpoints as a Line-of-Business (LOB) or Win32 MSI package.
Scope of This Document

This guide is dedicated specifically to Option 2: Active Directory (GPO) Deployment, followed by Post-Installation Verification Scenarios to confirm the agent is running properly on target endpoints.

2. Phase 1: Prepare the Network Shared Installer Folder​

Before creating the Group Policy Object, place the Scani5.msi installer package in a folder on your Windows Server that is accessible over the network by domain client machines.

Step 1: Open Folder Sharing Properties​

Create or locate your installer directory (for example, C:\Installer), right-click on the Installer folder, and select Properties → Sharing.

Step 1 - Open Folder Sharing Properties

Step 2: Initiate Network Sharing​

Under the Sharing tab, click the Share... button.

Step 2 - Initiate Network Sharing

Step 3: Assign Share Permissions​

Select Everyone (or Authenticated Users / Domain Computers) from the dropdown list, click Add, and then click Share.

Step 3 - Assign Share Permissions

Step 4: Verify Network Discoverability​

Confirm that the shared Installer directory is now accessible over the network and contains Scani5.msi.

Step 4 - Verify Network Discoverability

Step 5: Copy the Full UNC Network Path​

Copy the network path from the File Explorer Address Bar (e.g., \\WIN-H96P7S4SCEH\Installer) and append \Scani5.msi to form the complete UNC installer path:

\\WIN-H96P7S4SCEH\Installer\Scani5.msi

Step 5 - Copy the Full UNC Network Path

Step 6: Create the PowerShell Deployment Script​

Open Notepad, add the silent installation command below using your UNC path and your unique SQ1 Security Organization Hash (ORG_HASH), and save the file as Scani5Install.ps1 inside the shared folder.

msiexec /i "\\<ServerName>\Installer\Scani5.msi" ORG_HASH="<Your_scani5_Org_Hash>" /quiet /norestart

Step 6 - Create the PowerShell Deployment Script

3. Phase 2: Configure Active Directory & Group Policy (GPO)​

Step 7: Launch Server Manager​

Click the Windows Start button, search for Server Manager, and click Open.

Step 7 - Launch Server Manager

Step 8: Open Active Directory Users and Computers​

In the Server Manager top menu bar, click Tools → Active Directory Users and Computers.

Step 8 - Open Active Directory Users and Computers

Step 9: Verify Target Computers in the Organizational Unit (OU)​

Expand your domain and verify that the target client computers are placed under the desired Organizational Unit (for example, the test OU).

Step 9 - Verify Target Computers in the Organizational Unit

Step 10: Open Group Policy Management​

Return to Server Manager and select Tools → Group Policy Management.

Step 10 - Open Group Policy Management

In the Group Policy Management console, right-click your target Organizational Unit (e.g., test) and click Create a GPO in this domain, and Link it here...

Step 11 - Create and Link a New GPO

Step 12: Name the Group Policy Object​

Enter a descriptive name for the policy (e.g., test or scani5_Agent_Deployment) and click OK.

Step 12 - Name the Group Policy Object

Step 13: Edit the Group Policy Object​

Right-click the newly created policy under your OU and select Edit... to open the Group Policy Management Editor.

Step 13 - Edit the Group Policy Object

Step 14: Navigate to Computer Startup Scripts​

In the left pane of the Group Policy Management Editor, navigate to:

Computer Configuration → Policies → Windows Settings → Scripts (Startup/Shutdown), and double-click Startup in the right pane.

Step 14 - Navigate to Computer Startup Scripts

Step 15: Add a PowerShell Startup Script​

In the Startup Properties dialog, switch to the PowerShell Scripts tab and click Add...

Step 15 - Add a PowerShell Startup Script

Step 16: Browse for the Script​

In the Add a Script popup window, click Browse...

Step 16 - Browse for the Script

Step 17: Select the Deployment Script​

Browse to your network shared folder (e.g., \\WIN-H96P7S4SCEH\Installer), select Scani5Install.ps1, and click Open.

Step 17 - Select the Deployment Script

Step 18: Confirm Script Selection​

Verify that the UNC path to Scani5Install.ps1 appears in the Script Name field and click OK.

Step 18 - Confirm Script Selection

Step 19: Save Startup Script Settings​

Click Apply and then click OK to close the Startup Properties window.

Step 19 - Save Startup Script Settings

Step 20: Configure PowerShell Script Execution Policy​

In the Group Policy Management Editor, navigate to:

Computer Configuration → Policies → Administrative Templates → Windows Components → Windows PowerShell, and double-click Turn on Script Execution.

Step 20 - Configure PowerShell Script Execution Policy

Step 21: Allow PowerShell Scripts​

Select Enabled, set the Execution Policy dropdown to Allow all scripts, and click Apply followed by OK.

Step 21 - Allow PowerShell Scripts

Step 22: Verify Policy State​

Confirm that Turn on Script Execution now shows its state as Enabled. Close the Group Policy Management Editor.

Step 22 - Verify Policy State

4. Phase 3: Apply Group Policy on Client Endpoints​

Step 23: Open Command Prompt on the Client Machine​

Log in to a target domain client PC, click the Windows Start icon, search for cmd, and open Command Prompt (Run as administrator).

Step 23 - Open Command Prompt on the Client Machine

Step 24: Force Group Policy Update & Reboot​

Run the command below and press Enter. Once the policy update completes successfully, restart the client machine so the Computer Startup Script executes and installs the scani5 Agent.

gpupdate /force

Step 24 - Force Group Policy Update &amp; Reboot

5. Phase 4: Post-Installation Verification Scenarios​

Scenario 1: Verify Scheduled Task Registration & Status (Task Scheduler)​

During installation, the scani5 installer registers an automated watchdog scheduled task named Scani5Agent configured to launch at system boot, user logon, and every 15 minutes if stopped.

  1. Press Win + R, type taskschd.msc, and press Enter to open Task Scheduler.
  2. Click on Task Scheduler Library in the left navigation pane.
  3. Locate the task named Scani5Agent (Description: scani5 Agent Auto Start).
  4. Confirm the following task attributes:
Task Scheduler FieldExpected ValuePurpose / Notes
Task Namescani5AgentRegistered at the root of Task Scheduler Library.
StatusRunningIf Status shows Ready, right-click the task and click Run.
Security Options (Run As)NT AUTHORITY\SYSTEMRuns with highest privileges in background Session 0.
TriggersAt system startup, At log on, & Repeat every 15 minutesEnsures automatic recovery if the agent process ever stops.

Quick Command Prompt Check (Optional):

schtasks /query /tn "Scani5Agent" /v /fo list

Scenario 2: Verify Active Agent Process (Task Manager)​

Because the agent runs under the SYSTEM account, it appears in the Details tab of Task Manager rather than the user's foreground Apps list.

  1. Press Ctrl + Shift + Esc (or right-click the Taskbar) and select Task Manager.
  2. If Task Manager opens in compact mode, click More details.
  3. Navigate to the Details tab.
  4. Sort by Name and locate Scani5Agent.exe:
    • Name: Scani5Agent.exe
    • Status: Running
    • User name: SYSTEM

Quick Command Prompt Check (Optional):

tasklist /FI "IMAGENAME eq Scani5Agent.exe"

SQ1 Security
scani5 Endpoint Security & Exposure Management Platform
Official Deployment Documentation
© SQ1 Security. All rights reserved.