Windows installation
Interactive setup
Use the Windows installer when you want an interactive setup on a Windows host.
Configure the agent
Fill in the agent settings:
URL: server URL.
Username: user account with permission to add, update, and view inventory. See Groups and permissions.
Password: password for that user.
Certificate:
.pemor.crtcertificate to use for HTTPS connections.Validate certificate: enable this option to verify the server certificate.

Silent installation
The setup is an Inno Setup package, so it accepts the standard silent switches plus the agent parameters, for mass deployment:
OCSInventory-Agent-Setup-3.0.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART ^
/LOG="C:\Windows\Temp\ocs-setup.log" ^
/URL=http://server_ip:port ^
/USERNAME=username ^
/PASSWORD=password ^
/MODE=1 ^
/LOG_LEVEL=3 ^
/SERVICE=1The agent parameters are /URL=, /USERNAME=, /PASSWORD=, /MODE=0-4, /LOG_LEVEL=0-4, /CERTIFICATE="path", /BYPASS_CERT=0|1, /SERVICE=0|1 and /NOW=0|1 (run a single inventory right after the install).
Check C:\ProgramData\OCSInventory-Agent\config.json and the service state after deployment:
Get-Content 'C:\ProgramData\OCSInventory-Agent\config.json'
Get-Service 'OCSInventory Agent'Last updated








