Passer au contenu
Retour au Blog
PrintPilotActive DirectoryGPOEnterprise Deploymentsetup.iniWindows Server

Comment déployer PrintPilot via GPO Active Directory : Installation silencieuse et guide setup.ini

Découvrez comment déployer l'imprimante virtuelle PrintPilot sur vos postes de travail avec les GPO Active Directory et le fichier setup.ini.

Alacam IT Team2026-08-207 min

Au lieu d'installer manuellement PrintPilot sur chaque poste, déployez-le de manière centralisée et silencieuse sur l'ensemble de votre domaine Active Directory grâce aux stratégies de groupe (GPO) et à un fichier de configuration 'setup.ini'.

Impression PDF et envoi d'e-mails automatiques avec PrintPilot

Ne perdez plus de temps avec l'impression manuelle. Essayez gratuitement.

Télécharger PrintPilot

1Structure du fichier setup.ini et exemple

Le programme d'installation de PrintPilot recherche automatiquement un fichier 'setup.ini' dans son répertoire d'exécution pour configurer le compte administrateur sans intervention utilisateur.

INI - setup.ini
[PrintPilot]
; PrintPilot Setup Configuration File
; Rename this file to setup.ini and place it next to PrintPilot-Setup.exe or the MSI
; to automatically provision these settings during silent installation.

; Administrator Email (Used for login / identification)
Email=admin@example.com

; Administrator Password
Password=secretpassword123

; Optional Referral Code
ReferralCode=

; Optional Custom Installation Directory
; Note: If deploying via MSI, the MSI INSTALLDIR property takes precedence.
InstallDir=C:\Program Files\PrintPilot
Important : Placez simplement setup.ini dans le même dossier que PrintPilot-Setup.exe ou le MSI.

2Étape 1 : Placer le programme d'installation sur un partage réseau

Copiez `PrintPilot-Setup.exe` et `setup.ini` sur un partage réseau accessible par les ordinateurs du domaine (SYSVOL ou partage DFS/SMB).

3Étape 2 : Créer le script d'installation silencieuse (install-printpilot.bat)

Créez un script batch vérifiant si l'application est déjà installée avant de lancer l'installation :

Batch / CMD - install-printpilot.bat
@echo off
:: ===================================================================
:: PrintPilot GPO Silent Installation Script
:: ===================================================================
setlocal

set DEPLOY_SHARE=\\sirketiniz.local\SYSVOL\sirketiniz.local\Deploy\PrintPilot
set LOG_FILE=%TEMP%\printpilot_gpo_install.log

:: 1. Check if PrintPilot is already installed on the machine
if exist "C:\Program Files\PrintPilot\PrintPilot.exe" (
    goto :ALREADY_INSTALLED
)

echo [%DATE% %TIME%] Starting PrintPilot silent installation... >> "%LOG_FILE%"

:: 2. Silent install with EXE (setup.ini in same directory is detected automatically)
"%DEPLOY_SHARE%\PrintPilot-Setup.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART >> "%LOG_FILE%" 2>&1

:: Alternative: Silent install with MSI:
:: msiexec.exe /i "%DEPLOY_SHARE%\PrintPilot.msi" /qn /norestart >> "%LOG_FILE%" 2>&1

if %ERRORLEVEL% EQU 0 (
    echo [%DATE% %TIME%] PrintPilot installed and provisioned successfully. >> "%LOG_FILE%"
) else (
    echo [%DATE% %TIME%] ERROR: Installation failed with exit code %ERRORLEVEL% >> "%LOG_FILE%"
)

:ALREADY_INSTALLED
endlocal
exit /b 0

4Étape 3 : Configurer la GPO dans la console de gestion

Dans `gpmc.msc`, ajoutez le script sous `Configuration ordinateur -> Stratégies -> Paramètres Windows -> Scripts (Démarrage/Arrêt) -> Démarrage`.

Les scripts de démarrage s'exécutent avec les privilèges SYSTEM, évitant tout blocage de droits pour les utilisateurs standards.

5Étape 4 : Mettre à jour la stratégie et tester

Exécutez `gpupdate /force` sur un poste client, redémarrez et vérifiez l'imprimante via PowerShell :

PowerShell - Vérification
# 1. Verify PrintPilot virtual printer status
Get-Printer -Name "PrintPilot" | Select-Object Name, DriverName, PortName

# 2. Inspect installation log
Get-Content "$env:TEMP\printpilot_gpo_install.log" -Tail 20

Foire Aux Questions (FAQ)

Faut-il passer setup.ini en paramètre de ligne de commande ?

Non, la détection est automatique s'il se trouve dans le même dossier que l'exécutable.

Les utilisateurs doivent-ils avoir les droits administrateur ?

Non, le script s'exécute sous le compte SYSTEM de Windows.

Commencez à automatiser vos flux dès aujourd'hui

Automatisez le déploiement de PrintPilot sur l'ensemble de votre parc en quelques minutes grâce aux GPO et à setup.ini.

Télécharger l'essai gratuit de PrintPilot