1. Ocs Inventory For Mac Computers
  2. Ocs Inventory Mac Client
  3. Ocs Inventory Virtual Machine Download
  4. Ocs Inventory For Mac Shortcut
  5. Ocs Inventory Agent For Mac

Popular Alternatives to Ocsinventory-ng.org for Linux, Windows, Mac, Web, iPhone and more. Explore 9 apps like Ocsinventory-ng.org, all suggested and ranked by the AlternativeTo user community. OCS Agent for Mac doesn't send its Inventory to the OCSNG Server. Asked May 12, 2017 in OCS Inventory NG agent for MacOS X by marco (160 points) ocs-agent; mac-agent; 0 answers. Mac OS X packager. Asked Feb 8, 2017 in OCS Inventory NG agent for MacOS X by GerhardL (150 points) mac. Apr 20, 2016 OCS Inventory NG server (2k) OCS Inventory NG agent (1.2k) OCS Inventory NG agent for Unix (289) OCS Inventory NG agent for Windows (863) OCS Inventory NG agent for MacOS X (56) OCS Inventory NG agent for Android (19) OCS Inventory NG plugins (9) Network features (111) Developers (110).

Agent VersionCompatibility Note
2 . XDoes not work on Windows 9X, Windows Millennium Edition or Windows NT4. You need to use old 1.X agent 4061-1.
2 . 1 . 1 . 1On Windows XP and 2003R2 you can only use this Windows agent version.
2 . 4Last 32-bit compatible release.
2 . 6Agent is only installable on 64-bit machines.

OCS Inventory NG Agent for Windows can run as a Windows service automatically at computer startup.

It can also work as a stand alone application which can be launched through a login script, an ActiveDirectory GPO, a scheduled task or a shortcut in the Start menu.

Note: We recommend using the service version of the Agent, especially if you plan to use the packagedeployment feature.

Download and unzip the latest Windows agent from the Downloads section. This package contains 1 file:

  • OCS-NG-Windows-Agent-Setup.exe: installs the Windows Agent, either as a Windows Service or as a Standalone tool.

Which version: Service or Standalone ?

The Windows service version will automatically communicate with the OCS-NG system and perform inventoriesand package deployment based on parameters set on the server. The standalone client is used for computersthat cannot communicate with the server, or where the service version is not wanted or allowed.

How does Windows Agent work ?

When the OCS Inventory NG Agent is launched, it queries the Communication server using the HTTPor HTTPS protocol. The server can answer “nothing” (not time for an inventory and no package to deploy),and the agent stops. Otherwise, the server may answer that Agent has to:

  • Send an inventory: the agent retrieves all computer properties and sends them using HTTPor HTTPS protocol to the server. The server ask this only if the last inventory date in the databaseis older than the general option “FREQUENCY”, specified in days (seeManaging OCS Inventory NG general options.)
  • Discover the network: Agent scans his IP subnet for active devices listening on the network,then sends these data using HTTP or HTTPS protocol to the server. The server ask this only if thecomputer is elected to run IPDISCOVERY (seeUsing IP discovery feature.)
  • Deploy a package: Agent contacts the deployment server using the HTTPS protocol to get the information file (file INFO which describes the package), downloads package fragments from the deployment server, rebuilds the package and launches it.

Since OCS Inventory Agent 2.6, it's possible to deploy package greater than 4GB. However, the deployment of such package may cause latency in machines on which it's deployed.

Note: The OCS Inventory NG Agent does not listen on the network. It only initiates communications to the server, so you do not have to open inbound port on a personal firewall. However, you must allow outbound connections from OCS Inventory NG agent files 'OCSInventory.exe' and 'Download.exe' to the Communication Server or Deployment Server using either HTTP or HTTPS.

Each time an inventory is done, the Agent uses and writes configuration files stored into folder“%ProgramData%OCS Inventory NGAgent”. This directory is usually

  • C:Documents and SettingsAll UsersApplication DataOCS Inventory NGAgent under Windows 2000, XP and 2003.
  • C:ProgramDataOCS Inventory NGAgent under Windows Vista, 2008, Seven and 2008 R2.

It uses at least the following files:

  • ocsinventory.ini: all configuration parameters for the agent (server address and credentials,proxy address and credentials, service properties...),
  • ocsinventory.dat: computer unique identity file, based on MAC address and hostname,
  • last_state: last inventory state, to detect changes between 2 inventory,
  • history: package deployment history,
  • All log files created by OCS Inventory NG Agent.

Note: YOU MUST STOP 'OCS Inventory Service' to make changes on these files, because they are write protected while service is running. As is, only user having Administrator privileges can modify these files.

When launched for the first time, OCS Inventory NG agent will prompt user for the TAG value(if this feature is enabled). Help text displayed in the dialog-box is the one you have enteredin Configuring management server. User may enter this value, or leave it blank (you will be ableto update this value through the Administration server).

Then (or otherwise if TAG feature is not enabled), it will do the inventory and send inventoryresults to Communication server using HTTP or HTTPS.

Note: When the agent is first launched, it will only generate and send an inventory.

How does Windows service work?

Note: You must have Administrator privileges to set up OCS Inventory NG Agent as a service, or you may use OCS Inventory NGPackagerto create an installer able to run even if user do nothave Administrator privileges. Refer toUploading Agent for deployment through launcher “OcsLogon.exe”or OCS Inventory NGPackagerdocumentation.

  • OCS Inventory NG Agent “OCSInventory.exe” is launched by service “OcsService.exe” every PROLOG_FREQ hours.It keeps trace of the countdown in seconds in file “ocsinventory.ini” (value TTO_WAIT), so it is the timeof EFFECTIVE run.
  • The number of hours to wait is randomized at install time and each time PROLOG_FREQ is changed inAdministration Console.
  • It allows not having all agents contacting Communication Server at the same time. The randomizationis between 0 and PROLOG_FREQ (10 hours by default). You can adjust these parameters considering yourserver load using Administration Console.

When service launch agent, it call without parameter, so agent uses parameters specified in file “ocsinventory.ini”.

Ocs Inventory For Mac

As you can see, Service is only a launcher which will run Agent regularly, even if nobody logs in the computer.

Do I have to use service or standalone agent ?

  • You want to have computers inventoried, even if nobody log in ? Use Service version.
  • You want to use package deployment feature ? Use service version. As is, package will be downloadedin background, and logged in user can continue to work.
  • You do not want to set service up or have anything appears in the registry ? Use standalone version.However, deployment of package may take a long time when users log in.

In other words, we recommend using service version.

Manually installing OCS Inventory NG Agent for Windows.

Run “OCS-NG-Windows-Agent-Setup.exe” on client computer..

..and click “Next” button

Validate license agreement by clicking “I agree” button.

Select the installation type you want:

  • Network inventory: Computer can reach OCS Inventory NG Server through the network, and so,Agent will be launched using either a Windows Service, or a Logon/GPO script.
  • Local inventory: Computer is not connected to a network, or will never be able to reachOCS Inventory NG Server. You can generate an inventory of this computer and save to file to be importedlater on server (see chapter Generating inventory of a non network connected Windows computer below).

Fill in OCS Inventory NG Communication server URL, likehttp://your_ocs_server_address:your_server_port/ocsinventory. You can also specify https if your server is SSL enabled to secure communication.If you've protected your Communication Server access with credentials, you must specify credentialsagent will use to authenticate (these credentials will be encrypted to be stored into configuration file).If you're aware of server certificate validation when using HTTPS protocol, either for sending inventoryor deploying package, you can disable it. However, this is a security flaw! We do not recommend disablingcertificate validation because Agent does not authenticate server. With certificate validation enabled,you must specify path to Certificate Authority root certificate (default uses'%ProgramData%OCS Inventory NGAgentcacert.pem'). Then click “Next” button.

Note: You can use self-signed certificate, but certificate CN must equal to server address used by agentsfor communications. Also, if full path to certificate is not provided, agent will try to load the specifiedfile from its data folder '%ProgramData%OCS Inventory NGAgent'.

If needed, select proxy type to use to connect to Communication Server, proxy address and port, andproxy credentials if required (these credentials will be encrypted to be stored into configuration file).Agent support HTTP, SOCKS 4 and SOCKS 5 proxies.

By default, OCS Inventory Agent write only few information in log files. You may increasethis enabling “Verbose log”. You may also disable TAG question, or specify the TAG value. Last,indicate which level of system integration you need:

  • Do not register service using LocalSystem account (i.e, use standalone agent, which must be launched manually or using login script).
  • Do not configure OCS Inventory NG Systray Applet to start automatically when user log in. This applet allows user to manually run agent, or to display inventory information. Disabling this option does not create shortcut link in 'All users' startup menu.
  • Launch inventory just at the end of setup.

Choose destination folder, “C:Program FilesOCS Inventory Agent” by default(“C:Program Files (x86)OCS Inventory Agent” under Windows 64 bits), and click “Install” button.

Click “Finish” button to close OCS inventory NG Agent Setup.

This is the interactive installation setup. However, this process requires that you launch it underall your computers. Hopefully, this installation can be scripted.

OCS Inventory NG Agent for Windows Setup command line options

Ocs Inventory For Mac Computers

Service Agent setup 'OCS-NG-Windows-Agent-Setup.exe' may be called with some command line parameters:

  • /S to run the installer in silent mode, no interaction with user
  • /NOSPLASH disable splash screen when installer starts
  • /NO_SERVICE to not register OCS Inventory NG Agent into Windows Service Manager. Agent can only be launched manually or through a script/GPO.
  • /NO_SYSTRAY to not create a shortcut into 'All Users' startup folder to start systray applet when user log in.
  • /NOW to launch inventory just after setup
  • /NOSOFTWARE to ignore software installed
  • /D to install ocsinventory agent in an another directory (default %PROGRAMFILES%ocs inventory agent)
  • /UPGRADE to deploy new agent through OCS deployment feature. Because you upgrade agent using agent itself to run the upgrade, it is needed to notify the installer (which terminates agent's processes) to specify the result in order to send it back to the server next time agent will run.

Note: Please, don't use OCSPackager to upgrade OCS Inventory Windows Agent. Create deployement package with 'OCS-NG-Windows-Agent-Setup.exe' on zip file and launch with command example : OCS-NG-Windows-Agent-Setup.exe /S /UPGRADE /SERVER=ocs_server_address

Also, you can pass to the installer the following agent's command line parameters(see agent's options below for more detail):

  • /SERVER=
  • /USER=
  • /PWD=
  • /SSL=
  • /CA=
  • /PROXY=
  • /DEBUG=
  • /NOTAG
  • /TAG=
  • /D=

Deploying or running Agent through Active Directory GPO

Note: We recommend using service version of Agent if you plan to use package deployment feature.

To deploy the agent using GPO we recommand you to create a standalone packager with all your configuration already provisionned. See using OCS Packager to create an all-in-one installer to setup agent and server certificate

After creating a packager, you will need to store it at a place where all your users have access to.

Then create a GPO that trigger on user login. You will have a create a script that call the packager executable and trigger the installation on the computer.

Here is a sample script:

Ocs Inventory For Mac

Using PSEXEC or 'OCS Inventory NG Agent Deployment Tool' to push OCS Inventory NG Agent

PSEXEC from Microsoft (https://technet.microsoft.com/fr-fr/sysinternals/psexec) is a great and fast way to install the OCS agents on all Windows computers, you can literally setup mostof your computers in a few hours (assuming they are all connected to the network, that is).

Note: We've created a graphical tool for Windows, OCS Inventory NG Agent Deployment Tool, which allowsyou to use PSEXEC more easily. It is able to push agent's installation on up to 10 computers simultaneously,and also to copy the certificate used to authenticate deployment server in OCS Inventory NG data folder.

Some tips:

PSEXEC is best used together with Domain Logon scripts or Active Directory GPO:

  1. Use the PSEXEC to install on all computers that are currently connected to the network(best used during business hours).
  2. Then add a logon script/GPO as described above to install on computers that were offline the next timethey connect to the network.
  3. If you really don't want to use logon script/GPO, you can create and monitor a response file to geta list of computers that were not deployed for any reason, and then rerun PSEXEC just for these computers.

PSEXEC Usage examples:

We assume that the agent setup file is called agentsetup.exe and it was placed on a shared folder accessible to all users.

  • Install silently on all computers currently logged in your domain:

  • Install silently on a single computer:

  • Install silently on all computers using the domain administrator credentials:

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

Generating inventory of a non network connected Windows computer

Run “OCS-NG-Windows-Agent-Setup.exe” on client computer, from an USB stick for example...

..and click “Next” button.

Validate license agreement by clicking “I agree” button.

Select Local inventory installation type.

By default, OCS Inventory Agent writes only few lines in the log files. You may increase this enabling“Verbose log”. You may also specify the TAG value. Last, indicate the folder where you want to storegenerated inventory file, your usb stick for example:

In local inventory mode, Agent will be installed into a temporary folder(we recommend not changing this folder, it will be automatically deleted at the end of process),Click “Install” button to start process. Agent is installed into temporary folder, launched to generatea '.ocs' inventory file stored in the folder you've specified, and then removed from computer.

Click “Finish” button to close OCS inventory NG Agent Setup.

Ocs inventory for mac catalina

This is the interactive process, but it can be scripted using /LOCAL=path_to_folder_where_to_store_ocs_filecommand line switch.

For example, you can use OCS-NG-Windows-Agent-Setup.exe /S /LOCAL=C: to silently generate'.ocs' inventory file into folder c:.

Once you've transfered generated inventory file, you will be able to import it into the inventorydatabase of OCS Inventory NG Server, through the Administration Console.

OCS Inventory NG Agent for Windows command line options

Ocs Inventory Mac Client

OCS Inventory NG Agent version 2.0 or higher includes some command line switches to allow detecting errors.

Once agent is installed, you can run it manually to diagnose problems. Use “C:Program FilesOCS InventoryAgentOCSInventory.exe [options]” command line where [options] may be in the following command line switches.

Command Line OptionsMeaning
/work_dir='path to directory'Agent must use 'path to directory' as working dir (this directory may included configuration file). Default is '%ALLUSERSPROFILE%Application DataOCS Inventory NGAgent' or '%PROGRAMDATA%OCS Inventory NGAgent'
/local[='path to folder']Agent do not contact communication server, and store inventory in xml compressed .ocs file into folder 'path to folder'. If no 'path to folder' provided, agent assume folder as data folder
/debug[=level]Generate a very verbose log file 'ocsinventory.log' into agent's install folder.
0 => disable verbose logs (default)
1 => enable default verbose logs (default when no level provided provided)
2 => enable debuging logs
/notagAgent must NOT prompt user for TAG in any case
/tag='my value'Agent must set 'my value' as TAG value
/xml=['path to folder']Agent must store inventory in uncompressed xml format into folder 'path to folder'. If no 'path to folder' provided, agent assume folder as data folder
/forceAlways send inventory, even if server do not ask for it (use only for debugging purpose !)
/ipdisc='network number'Agent must launch IP discovery on network 'network number' (use only for debugging purpose !)
/ipdisc_lat='number of milliseconds'Set latency between 2 IP Discover requests to 'number of milliseconds'
/fastipNever wait for latency between 2 IP Discover requests (use only for debugging purpose !)
/hkcuSearch also for software under HKEY_CURRENT_USER registry hive (do not work with service as LocalSystem !)
/uidAgent must generate a new unique device ID
/server=http[s]://server.domain.tld[:port]/ocsinventoryAgent try to connect to Communication Server address and port Listening on http[s]://server.domain.tld[:port]/ocsinventory
/ssl=0/1When usng SSL connections:
0 => SSL without certificate validation
1 => SSL with server certificate validation required (needs CA certificate)
/ca='path_to_cabundle.pem'Path to CA certificate chain file in PEM format, for server certificate validation
/user=username /pwd=passwordCommunication Server authentication credentials
/proxy_type=0/1/2/3Agent proxy
use 0 => no
1 => HTTP proxy
2 => Socks 4 proxy
3 => Socks 5 proxy
/proxy=proxy_addressProxy server address (without protocol !)
/proxy_port=portProxy server port
/proxy_user=usernameProxy authentication credentials
/proxy_pwd=passwordProxy authentication credentials
/D=/specify the directory where your want to install ocsinventory agent (default %PROGRAMFILES%ocs inventory agent)

Sample configuration file 'ocsinventory.ini'

OCS Inventory
Stable release
Written inPerl, PHP
Platformmulti-platform (Unices, Windows, others)
Typehardware inventory
LicenseGNU General Public License[1]

Open Computer and Software Inventory Next Generation (OCS inventory NG) is free software that enables users to inventory IT assets. OCS-NG collects information about the hardware and software of networked machines running the OCS client program ('OCS Inventory Agent'). OCS can visualize the inventory through a web interface. Furthermore, OCS includes the capability of deploying applications on computers according to search criteria. Agent-side IpDiscover makes it possible to discover the entirety of networked computers and devices.


The open-source OCS Inventory NG project started in late 2005 and produced its first release version of OCS Inventory in early 2007.[2] Since version 1.0rc3, most of OCS Inventory functionality can be adapted or extended via a module system.

Ocs Inventory Virtual Machine Download


The dialogue between OCS client machines and the server depends on the Hypertext Transfer Protocol (HTTP). The software formats data in XML. The management server uses Apache, MySQL and Perl. OCS runs on multiple platforms: under Unixes and under Microsoft Windows (95 or later). A web-interface written in PHP offers consultation of the inventory, user-rights management, and technical support features.


In order to collect detailed information, one can install agents on the client machines in the inventory. Developers have made client agents available for:

  • Microsoft Windows
  • Linux
  • Mac OS X
  • Sun Solaris
  • FreeBSD, NetBSD, OpenBSD
  • HP-UX
  • Android

Relation to other software[edit]

  • OCS Inventory can be used to feed the manager of GLPI and thus offers part of an ITAM solution.
  • Samanage is a cloud-based, commercial ITAM, that has used modified OCS-NG agent as a data source.

Ocs Inventory For Mac Shortcut


OCS Inventory consists of free software published under GNU GPL v2. The developers own the copyright.


  1. ^http://www.ocsinventory-ng.org/index.php?page=license
  2. ^Antal, Barzan (2010). IT Inventory and Resource Management with OCS Inventory NG 1.02. Packt Publishing Ltd. ISBN9781849511117. Retrieved 2015-02-16. OCS Inventory NG [...] is the name of an open source project that was started back in late 2005. The project matured into the first final release in the beginning of the year 2007.

External links[edit]

Ocs Inventory Agent For Mac

Retrieved from 'https://en.wikipedia.org/w/index.php?title=OCS_Inventory&oldid=983675223'
Coments are closed

Most Popular Posts

  • Video Camera Software For Mac
  • Torrent Utility For Mac
  • Apps For Mac Air
  • Serial For Cs5 Mac Os

Scroll to top