Mass Deploying of the OCS Agent

Deploying from CLI

Here are other methods to deploy the agent from CLI, they can be used with GPO for example.

1 – Install silently on all computers using the domain administrator credentials:

psexec \\* -s -u Domain\Administrator -p Password \\Server\NetLogon\OCS-NG-Windows-Agent-Setup.exe /S /NOSPLASH /NO_SYSTRAY /SSL=0 /NOW /SERVER=//1.2.3.4/ocsinventory

Note PsExec free utility available from this site. 1.2.3.4 corresponds to the IP address of the BLESK server.

2 – Install silently on specific computers (ALL.TXT is a text file that lists target computer names, one per line), using domain administrator credentials:

psexec @ALL.TXT -s -u Domain\Administrator -p Password \\Server\NetLogon\OCS-NG-Windows-Agent-Setup.exe /S /NOSPLASH /NO_SYSTRAY /SSL=0 /NOW /SERVER=//1.2.3.4/ocsinventory

Note PsExec free utility available from this site. 1.2.3.4 corresponds to the IP address of the BLESK server.

Help Guide Powered by Documentor
Suggest Edit