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:
| Option | Method | Description |
|---|---|---|
| Option 1 | Manual Installation | Direct interactive or silent command-line (msiexec) installation on individual standalone endpoints. |
| Option 2 • Covered in this guide | Active Directory (GPO) | Automated domain-wide deployment across Organizational Units (OUs) using Windows Server Group Policy Startup Scripts. |
| Option 3 | Microsoft Intune (MDM) | Cloud-managed silent deployment to Azure AD / Entra ID joined endpoints as a Line-of-Business (LOB) or Win32 MSI package. |
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 2: Initiate Network Sharing
Under the Sharing tab, click the Share... button.

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

Step 4: Verify Network Discoverability
Confirm that the shared Installer directory is now accessible over the network and contains Scani5.msi.

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 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

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 8: Open Active Directory Users and Computers
In the Server Manager top menu bar, click Tools → 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 10: Open Group Policy Management
Return to Server Manager and select Tools → Group Policy Management.

Step 11: Create and Link a New GPO
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 12: Name the Group Policy Object
Enter a descriptive name for the policy (e.g., test or scani5_Agent_Deployment) and click OK.

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 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 15: Add a PowerShell Startup Script
In the Startup Properties dialog, switch to the PowerShell Scripts tab and click Add...

Step 16: Browse for the Script
In the Add a Script popup window, click Browse...
Step 17: Select the Deployment Script
Browse to your network shared folder (e.g., \\WIN-H96P7S4SCEH\Installer), select Scani5Install.ps1, and click Open.

Step 18: Confirm Script Selection
Verify that the UNC path to Scani5Install.ps1 appears in the Script Name field and click OK.
Step 19: Save Startup Script Settings
Click Apply and then click OK to close the Startup Properties window.

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 21: Allow PowerShell Scripts
Select Enabled, set the Execution Policy dropdown to Allow all scripts, and click Apply followed by OK.

Step 22: Verify Policy State
Confirm that Turn on Script Execution now shows its state as Enabled. Close the Group Policy Management Editor.

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 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

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.
- Press
Win + R, typetaskschd.msc, and press Enter to open Task Scheduler. - Click on Task Scheduler Library in the left navigation pane.
- Locate the task named Scani5Agent (Description: scani5 Agent Auto Start).
- Confirm the following task attributes:
| Task Scheduler Field | Expected Value | Purpose / Notes |
|---|---|---|
| Task Name | scani5Agent | Registered at the root of Task Scheduler Library. |
| Status | Running | If Status shows Ready, right-click the task and click Run. |
| Security Options (Run As) | NT AUTHORITY\SYSTEM | Runs with highest privileges in background Session 0. |
| Triggers | At system startup, At log on, & Repeat every 15 minutes | Ensures 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.
- Press
Ctrl + Shift + Esc(or right-click the Taskbar) and select Task Manager. - If Task Manager opens in compact mode, click More details.
- Navigate to the Details tab.
- Sort by Name and locate
Scani5Agent.exe:- Name:
Scani5Agent.exe - Status:
Running - User name:
SYSTEM
- Name:
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.