Hur du distribuerar PrintPilot via Active Directory GPO: Tyst installation och guide för setup.ini
Lär dig hur du tyst distribuerar den virtuella skrivaren PrintPilot till arbetsstationer via Active Directory GPO och automatiserar med setup.ini.
Distribuera den virtuella skrivaren PrintPilot automatiskt och tyst till alla Windows-datorer i domänen med hjälp av Active Directory Group Policy (GPO) och konfigurationsfilen 'setup.ini'.
Automatisk utskrift till PDF och e-postutsändning med PrintPilot
Slösa inte mer tid på manuell dokumentutskrift. Starta din kostnadsfria provperiod.
1Struktur för filen setup.ini och mall
Installationsprogrammet för PrintPilot läser automatiskt filen 'setup.ini' i samma mapp för att koppla administratörskontot utan användarinteraktion.
[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\PrintPilot2Steg 1: Placera installationspaketet på nätverksresurs
Kopiera `PrintPilot-Setup.exe` och `setup.ini` till en central mapp (SYSVOL eller SMB) som är åtkomlig för domändatorer.
3Steg 2: Skapa startskript för tyst installation (install-printpilot.bat)
Skapa ett batch-skript som kontrollerar om PrintPilot redan finns installerat:
@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 04Steg 3: Koppla GPO i hanteringskonsolen
I `gpmc.msc`, lägg till skriptet under `Datorkonfiguration -> Principer -> Windows-inställningar -> Skript (Start/Avstängning) -> Start`.
5Steg 4: Verifiera på klientdatorn
Kör `gpupdate /force`, starta om datorn och verifiera skrivaren i PowerShell:
# 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 20Vanliga frågor (FAQ)
Krävs lokala administratörsrättigheter för användarna?
Nej, GPO-startskript körs under Windows SYSTEM-kontot med full behörighet.
Börja automatisera dina arbetsflöden idag
Distribuera PrintPilot i hela organisationen på några minuter med GPO och setup.ini.
Ladda ner kostnadsfri provversion av PrintPilot