Print this page

FAQ Windows agent

Launcher "OcsLogon.exe" command line switches


When using launcher "OcsLogon.exe" to deploy agent or run the agent, you can use the following command line switches.

Category: Windows_agent
Posted by: Anonymous
  • /DEPLOY:XXXX: force deployment of a specific agent version XXXX. For example, Agent 1.00 file version was 4.0.3.0, so XXXX must be set to 4030.
  • /install: tells launcher to setup Service Agent, instead of Standalone Agent.
  • /URL:[download_url]: tells launcher to download Standalone agent "ocsagent.exe" or Service Agent "ocspackage.exe" from the specified [download_url] (without final filename). Useful for deploying Agent in mulitple NT or Active Directory domain, but using a single Communication Server.
  • /NP: disable use of proxy defined in Internet Explorer settings.
  • /PNUM:X: specify an IP port X for web communication server. By default, HTTP port 80 is used. You can force use of port 8080 for example with the argument /PNUM:8080.
  • /LOCAL: run agent in local inventory mode. So agent does not try to connect to Communication server. A file "computer_name.ocs", containing inventory results in compressed XML, will be created in agent's directory.
  • /TAG:["My TAG value"]: tells launcher to use TAG value "My TAG value" when it setup and laucnhes agent for the first time.
  • /NOTAG: tells launcher to never use TAG value.
  • /DEBUG: create log files "OcsLogon.log" and "computer_name.log" in agent's directory.

OcsLogon also supports all agent's command line switches, as described in the other article. These switches will be used to launch agent.


Previous page: FAQ Administration Console
Next page: FAQ Linux agent