This action might not be possible to undo. Are you sure you want to continue?
Documentation:WindowsAgent - OCS Inventory NG [OCS Inventoiry NG Home] [OCS Inventory NG Forums]
From OCS Inventory NG
Languages: English • Français • Polski
1 OCS Inventory NG Agent 2.0 on Windows Operating Systems. 1.1 Which version: Service or Standalone ? 1.1.1 How does Windows Agent work ? 1.1.2 How does Windows service work? 1.1.3 Do I have to use service or standalone agent ? 1.2 Manually installing OCS Inventory NG Agent for Windows. 1.2.1 OCS Inventory NG Agent for Windows Setup command line options 1.3 Deploying Agent using launcher OcsLogon.exe through Login Script or Active Directory GPO. 1.3.1 Deploying or running Agent through Active Directory GPO. 1.3.2 Deploying or running Agent through login script. 1.4 Using PSEXEC or "OCS Inventory NG Agent Deployment Tool" to push OCS Inventory NG Agent 1.5 Generating inventory of a non network connected Windows computer 1.6 OCS Inventory NG Agent for Windows command line options. 1.7 Sample conﬁguration ﬁle "ocsinventory.ini".
OCS Inventory NG Agent 2.0 on Windows Operating Systems.
Note: OCS Inventory NG Agent 2.0 do not work on Windows 9X, Windows Millenuim or Windows NT4. You need to use old 1.X agent 4061-1.
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 Active Directory 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 package deployment feature.
Download and unzip the latest Windows agent from the Downloads section. This package contains
1 di 23
Documentation:WindowsAgent - OCS Inventory NG
2 ﬁles: OCS-NG-Windows-Agent-Setup.exe: installs the Windows Agent, either as a Windows Service or as a Standalone tool. OcsLogon.exe: installs the agent by downloading binaries from Communication server, or runs the agent if already installed. It will install either the service or the standalone version based upon a command line switch.
Which version: Service or Standalone ?
The Windows service version will automatically communicate with the OCS-NG system and perform inventories and package deployment based on parameters set on the server. The standalone client is used for computers that 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 HTTP or 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 HTTP or HTTPS protocol to the server. The server ask this only if the last inventory date in the database is older than the general option “FREQUENCY”, speciﬁed in days (see Managing OCS Inventory NG general options.) Discover the network: Agent scans his IP subnet for active devices listening on the network, then sends these informations using HTTP or HTTPS protocol to the server. The server ask this only if the computer is elected to run IPDISCOVERY (see Using IP discovery feature.) Deploy a package: Agent contacts the deployment server using the HTTPS protocol to get the information ﬁle (ﬁle INFO which describes the package), downloads package fragments from the deployement server, rebuilds the package and launches it. 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 ﬁrewall. However, you must allow outbound connections from OCS Inventory NG agent ﬁles “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 conﬁguration ﬁles stored into folder “%ProgramData%\OCS Inventory NG\Agent”. This directory is usually C:\Documents and Settings\All Users\Application Data\OCS Inventory NG\Agent under Windows 2000, XP and 2003. C:\ProgramData\OCS Inventory NG\Agent under Windows Vista, 2008, Seven and 2008 R2. It uses at least the following ﬁles: ocsinventory.ini: all conﬁguration parameters for the agent (server address and credentials, proxy address and credentials, service properties...), ocsinventory.dat: computer unique identity ﬁle, based on MAC address and hostname, last_state: last inventory state, to detect changes between 2 inventory, history: package deployment history,
2 di 23
You can adjust these parameters considering your server load using Administration Console. package will be downloaded in background. it call without parameter. we recommend using service version. All log ﬁles created by OCS Inventory NG Agent. it will do the inventory and send inventory results to Communication server using HTTP or HTTPS. When service launch agent. As you can see. because they are write protected while service is running. You do not want to set service up or have anything appears in the registry ? Use standalone version. it will only generate and send an inventory. so it is the time of EFFECTIVE run. OCS Inventory NG agent will prompt user for the TAG value (if this feature is enabled). User may enter this value. Do I have to use service or standalone agent ? You want to have computers inventoried.. How does Windows service work? Note: You must have Administrator privileges to set up OCS Inventory NG Agent as a service. and logged in user can continue to work.Documentation:WindowsAgent .ini” (value TTO_WAIT). You want to use package deployment feature ? Use service version. The randomization is between 0 and PROLOG_FREQ (10 hours by default). OCS Inventory NG Agent “OCSInventory. In other words. or you may use OCS Inventory NG Packager to create an installer able to run even if user do not have Administrator privileges.php/Documentatio. Refer to § Uploading Agent for deployment through launcher “OcsLogon. It keeps trace of the countdown in seconds in ﬁle “ocsinventory.. Then (or otherwise if TAG feature is not enabled).exe” every PROLOG_FREQ hours. or OCS Inventory NG Packager documentation. even if nobody log in ? Use Service version.ocsinventory-ng.exe” is launched by service “OcsService. It allows not having all agents contacting Communication Server at the same time.OCS Inventory NG http://wiki. deployement of package may take a long time when users log in.ini”. only user having Administrator privileges can modify these ﬁles. As is. Note: YOU MUST STOP “OCS Inventory Service” to make changes on these ﬁles. even if nobody logs in the computer.exe”. As is. 3 di 23 10/09/2011 15:25 . Help text displayed in the dialog-box is the one you have entered in Conﬁguring management server. When launched for the ﬁrst time. Service is only a launcher which will run Agent regularly. or leave it blank (you will be able to update this value through the Administration server). Note: When the agent is ﬁrst launched. The number of hours to wait is randomized at install time and each time PROLOG_FREQ is changed in Administration Console. However. so agent uses parameters speciﬁed in ﬁle “ocsinventory.org/index.
.. Manually installing OCS Inventory NG Agent for Windows.php/Documentatio.org/index.exe” on client computer..and click “Next” button Validate license agreement by clicking “I agree” button.ocsinventory-ng.OCS Inventory NG http://wiki.Documentation:WindowsAgent . 4 di 23 10/09/2011 15:25 . . Run “OCS-NG-Windows-Agent-Setup..
org/index. or a Logon/GPO script. You can also specify https if your server is SSL enabled to secure communication. Agent will be launched using ethier a Windows Service. Select the installation type you want: Network inventory: Computer can reach OCS Inventory NG Server through the network.php/Documentatio. Fill in OCS Inventory NG Communication server URL. Local inventory: Computer is not connected to a network..ocsinventory-ng.. like http://your_ocs_server_address:your_server_port/ocsinventory. If you're aware of server 5 di 23 10/09/2011 15:25 . and so. If you've protected your Communication Server access with credentials. You can generate an inventory of this computer and save to ﬁle to be imported later on server (see chapter Generating inventory of a non network connected Windows computer below).OCS Inventory NG http://wiki.Documentation:WindowsAgent . or will never be able to reach OCS Inventory NG Server. you must specify credentials agent will use to authenticate (these credentials will be encrypted to be stored into conﬁguration ﬁle).
Then click “Next” button. If needed. you must specify path to Certiﬁcate Authority root certiﬁcate (default uses "%ProgramData%\OCS Inventory NG\Agent\cacert.org/index. select proxy type to use to connect to Communication Server..OCS Inventory NG http://wiki. either for sending inventory or deploying package. With certiﬁcate validation enabled. and proxy credentials if required (these credentials will be encrypted to be stored into conﬁguration ﬁle).Documentation:WindowsAgent . certiﬁcate validation when using HTTPS protocol. However.php/Documentatio. proxy address and port. this is a security ﬂaw ! We do not recommend disabling certiﬁcate validation because Agent does not authenticate server. Agent support HTTP SOCKS 4 and SOCKS 5 proxies.ocsinventory-ng. . agent will try to load the speciﬁed ﬁle from its data folder "%ProgramData%\OCS Inventory NG\Agent". Note: You can use self signed certiﬁcate. you can disable it. 6 di 23 10/09/2011 15:25 . but certiﬁcate CN must equal to server address used by agents for communications.pem").. if full path to certiﬁcate is not provided. Also.
e.ocsinventory-ng. Choose destination folder. or specify the TAG value. Do not conﬁgure OCS Inventory NG Systray Applet to start automatically when user log in.org/index. Disabling this option does not create shortcut link in "All users" startup menu. Last. “C:\Program Files\OCS Inventory Agent” by default (“C:\Program Files (x86)\OCS Inventory Agent” under Windows 64 bits).. or to display inventory informations.Documentation:WindowsAgent . 7 di 23 10/09/2011 15:25 . OCS Inventory Agent write only few informations in log ﬁles. and click “Install” button. which must be launched manually or using login script). This applet allows user to manually run agent. You may increase this enabling “Verbose log”. You may also disable TAG question.. By default. use standalone agent.php/Documentatio.OCS Inventory NG http://wiki. Launch inventory just at the end of setup. indicate which level of system integration you need: Do not register service using LocalSystem account (i.
Hopefully.. OCS Inventory NG Agent for Windows Setup command line options Service Agent setup “OCS-NG-Windows-Agent-Setup.org/index. no interraction with user /NOSPLASH disable spash screen when installer starts /UPGRADE to deploy new agent through OCS deployement feature. Because you upgrade agent using agent itself to run the upgrade.ocsinventory-ng. this process requires that you launch it under all your computers. Click “Finish” button to close OCS inventory NG Agent Setup.. This is the interactive installation setup.exe” may be called with some command line parameters: /S to run the installer in silent mode. it is needed to notify the installer (which 8 di 23 10/09/2011 15:25 .php/Documentatio.OCS Inventory NG http://wiki. this installation can be scripted.Documentation:WindowsAgent . However.
php/Documentatio. To deploy Service Agent with launcher. and to launch the OCS Inventory NG Agent if you don't not want to use the service. you ﬁrst must have uploaded Standalone Agent ﬁle “ocsagent. Note: Refer to § Uploading Agent for deployment through launcher “OcsLogon. You can get it from the latest package OCSNG-WINDOWS-AGENT_XXXX. if not already installed on client computers. Launcher “OcsLogon. 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_TYPE= /PROXY= /PROXY_PORT= /PROXY_USER= /PROXY_PWD= /DEBUG= /NOTAG /TAG= Deploying Agent using launcher OcsLogon.exe” or all-in-one installer “ocspackage.168.1.Documentation:WindowsAgent .exe. Launcher “OcsLogon.2:8443/ocsinventory”.2 on port 80.exe”.ocsinventory-ng.exe” (See Using OCS Packager to create an all-in-one installer to setup agent and server certiﬁcate) to the server using Administration Console. 9 di 23 10/09/2011 15:25 . Note: Always use the latest version of OcsLogon.2/ocsinventory”. you ﬁrst must have uploaded the Service Agent ﬁle “OCSNG-Windows-Agent-Setup.. Agent can onlybe launched manually or through a script/GPO.exe” will try to connect by default to Communication Server using URL http://ocsinventory-ng/ocsinventory. To deploy Standalone Agent with launcher.exe” is a small tool able to run inside a login script or an Active Directory GPO. you must provide “/SERVER=http[s]://your_server[:your_port] /ocsinventory” command line parameter (strings between  are optional). For example.168. if your server uses HTTP protocol.exe” to the server using Administration Console.org/index.1.OCS Inventory NG http://wiki.168. you must use “/server=http://192. To use a diﬀerent URL.zip. /NOW to launch inventory just after setup Also.1..exe through Login Script or Active Directory GPO. If your server requires HTTPS on port 8443. Its purpose is to setup Agent. terminates agent's processes) to specify the result in order to send it back to the server next time agent will run /NO_SERVICE to not register OCS Inventory NG Agent into Windows Service Manager.exe” or “OCSNG-Windows-Agent-Setup. and is located on computer 192. you must use “/server=https://192. /NO_SYSTRAY to not create a shortcut into "All Users" startup folder to start systray applet when user log in.
/TIMEOUT=x (milliseconds) allow to modify default download timeout of 60 seconds.d ensure there is at least the speciﬁed version installed.exe tell Launcher that setup ﬁle is located at provided URL. Use it to downgrade version for example. When launched through a user GPO or login script. and if not. assuming Agent is launched by Windows Service. /DEPLOY=a. Open “Group Policy Manager” tool.c... this folder is usually “C:\Windows\Temp”. Navigate in left pane to display “Group Policy objects” of your domain. You must also provide standard agent setup command line parameters (see OCS Inventory NG Agent setup command line options for more detail). So. When launched through a computer GPO.b.Documentation:WindowsAgent . and at least: /SERVER=http[s]://you_cs_server[:port]/ocsinventory.OCS Inventory NG http://wiki. OcsLogon install/upgrade Agent only if installed version is lower than the speciﬁed one "a. USE THIS OPTION WITH CARE. Note: You can run GPO Manager directly by using gpmc. Deploying or running Agent through Active Directory GPO. instead of Communication Server. will contact Communication Server in HTTP/HTTPS to download latest Agent installer and run it on the computer.exe” (See Using OCS Packager to create an all-in-one installer to setup agent and server certiﬁcate).exe can use the following command line parameters: /PACKAGER setup all-in-one installer “ocspackage. instead of installing it.ocsinventory-ng. Note: Launcher OcsLogon. CAUTION.php/Documentatio.d".b. URL to connect to OCS Inventory NG Communication Server. /FORCE force reinstalling agent.org/index. Launcher will then launch Agent each time.exe. /UNINSTALL uninstall agent. OcsLogon does not try to download setup ﬁle from Communication Server. /URL=http[s]://your_server:port/path_to_ﬁle_to_download. /GPO tell Launcher that setup ﬁle to download is in the same folder as OcsLogon. this folder is usually “C:\Documents and Settings\User Proﬁle\Local settings\Temp” or “C:\Users\User Proﬁle\AppData\Local\Temp”.exe always create a log ﬁle “OcsLogon. Launcher OcsLogon. even if the installed version is newer or equal to the speciﬁed one.c. /NO_SERVICE to not register OCS Inventory NG Agent into Windows Service Manager and so uses standalone agent. Otherwise. Note: We recommend using service version of Agent if you plan to use package deployment feature. but try to use the one copied in the GPO folder.log” into temporary folder. Launcher will ﬁrst check if OCS Inventory NG Agent is installed. as Launcher will setup agent each time. it will never run Agent. 10 di 23 10/09/2011 15:25 .msc command. to install Agent and server certiﬁcate even if user does not have Administrator privileges.
mycompany.Documentation:WindowsAgent . or User policy.. Communication Server address is “ocs. Create a new policy. Note: In our example. Computer policy will run at computer startup or User policy will run at user login. it’s better to use User policy and startup script.org/index..ocsinventory-ng.OCS Inventory NG http://wiki.php/Documentatio. and we choose to set up Service Agent version using Packager all-in-one installer “ocspackage. You can either use Computer policy. Expand “Computer conﬁguration” tree in left pane and navigate as shown below to “Windows settings” and “Scripts”.exe” (See Using OCS Packager to create an all-in-one installer to setup agent and server certiﬁcate). 11 di 23 10/09/2011 15:25 . we will use Computer policy and Startup script. to allow agent running each time a user log in. or edit existing one.tld”. If you choose to use Standalone Agent.
Then double click on “Startup” on right pane.OCS Inventory NG http://wiki..php/Documentatio.ocsinventory-ng. 12 di 23 10/09/2011 15:25 .org/index..Documentation:WindowsAgent .
ocsinventory-ng. 13 di 23 10/09/2011 15:25 .15” to ensure at least Agent version 2.0. “/SERVER=http://ocs. click “Browse” button to select launcher “OcsLogon. Next close “Startup” folder and click “Add” script button..org/index. Click on “Show ﬁles” button to display script and executable ﬁles usable by GPO and copy into this folder Launcher “Ocslogon.0.. “/GPO” to use setup ﬁle located in the same folder as OcsLogon. “/DEPLOY=2.exe” and all-in-one installer “Ocspackage.OCS Inventory NG http://wiki.tld/ocsinventory" to use Communication Server URL http://ocs.php/Documentatio.0. and ﬁll in Launcher parameters.Documentation:WindowsAgent .mycompany.exe” ﬁles.tld/ocsinventory. in our example “/PACKAGER” to use OCS Packager all-in-one installer.exe” .0.15 is installed.mycompany.exe aka the GPO folder.
.OCS Inventory NG http://wiki.org/index. Validate each window to activate Computer Startup script GPO.Documentation:WindowsAgent .php/Documentatio.ocsinventory-ng. for example to apply this GPO only to speciﬁed Active Directory OU or site. Update if needed default GPO ﬁlters to meet your needs.. 14 di 23 10/09/2011 15:25 .
php/Documentatio.mycompny.tld/ocsinventory /proxy_type=1 /proxy=192. install agent silently (option /S) REM As /PACKAGER is not used.1.OCS Inventory NG http://wiki. @echo of echo Running system inventory. Deploying or running Agent through login script.org/index.1.0. Here is a sample login script.exe” to a shared folder somewhere in your network.168.. Warning: Below code requires additional checking for internal LAN conﬁguration.2 on port 8080 (option /PROXY_TYPE. but is functionally. Copy ﬁles “OcsLogon.2 /proxy_p 15 di 23 10/09/2011 15:25 .exe /NO_SERVICE /S /SERVER=http://ocs. Then add a call to “OcsLogon.tld using HTTP protocol (option /SERVER=) REM Install stand alone agent without service (option /NO_SERVICE) REM Ensure that at least Agent version 2. launcher will set up if needed OCS Inventory NG Agent as a service. Note: We recommend using service version of Agent if you plan to use package deployment feature.168..15 is installed (option /DEPLOY) REM Configure Launcher and Agent to using HTTP proxy server 192.mycompny. /PROXY and /PROXY_PORT) REM If needed.0. When computer will start (or when user will login if using User policy). please wait… REM Call to OCS Inventory NG Launcher REM Using shared folder MY_SHARE on server MY_SERVER REM Using OCS Inventory NG server address ocs. this script can only install agent if launched by a user having Administrator rights \\MY_SERVER\MY_SHARE\OcsLogon.exe” in your users login script.ocsinventory-ng. This folder must be readable by all your users.Documentation:WindowsAgent .
ocsinventory-ng. select “Proﬁle” tab in user properties. you have to link login script with every users registered in your Samba or Active Directory domain. Sample login script for Windows domain Put this script named “ocs.sysinternals. you can literally setup most of your computers in a few hours (assuming they are all connected to the network. When user log in. echo Done.bat” for example on your Domain Controller (in the folder “%WINDIR%\SYSVOL\Domain\Scripts” on Windows Controller. where “%WINDIR%” is usually “C:\WINNT” or “C:\Windows”).OCS Inventory NG http://wiki. launcher will set up and/or launch OCS Inventory NG Agent. and ﬁll in “Session startup script”. Thanks a lot. that is).Documentation:WindowsAgent . Finally. 16 di 23 10/09/2011 15:25 .com/Files/PsTools.. Using PSEXEC or "OCS Inventory NG Agent Deployment Tool" to push OCS Inventory NG Agent PSEXEC from Microsoft (http://download. On Active Directory.zip) is a great and fast way to install the OCS agents on all Windows computers.org/index.php/Documentatio. you can do this using “Active Directory users and computers” tool..
.exe /S /NOSPLASH /SERVER=http://my_ocs_server/ocsinventory Install silently on a single computer: psexec \\COMPUTER_NAME -s \\Server\NetLogon\OCS-NG-Windows-Agent-Setup.Documentation:WindowsAgent . Then add a logon script/GPO as described above to install on computers that were oﬄine the next time they connect to the network. If you really don't want to use logon script/GPO.php/Documentatio. Use the PSEXEC to install on all computers that are currently connected to the network (best used during business hours). OCS Inventory NG Agent Deployment Tool.ocsinventory-ng.TXT -s -u Domain\Administrator -p Password \\Server\NetLogon\OCS-NG-Windows-Agent-Setup. It is able to push agent's installation on up to 10 computers simultaneously. 2.OCS Inventory NG http://wiki..org/index.exe /S /NOSPLASH /SERVER=http://my_ocs_s Install silently on speciﬁc computers (ALL.exe and it was placed on a shared folder accessible to all users. Note: We've created a graphical tool for Windows. Install silently on all computers currently logged in your domain: psexec \\* -s \\Server\NetLogon\OCS-NG-Windows-Agent-Setup. you can create and monitor a response ﬁle to get a list of computers that were not deployed for any reason.exe” on client computer. Some tips: PSEXEC is best used together with Domain Logon scripts or Active Directory GPO: 1. one per line). which allows you to use PSEXEC more easily. and also to copy the certiﬁcate used to authenticate deployement server in OCS Inventory NG data folder. 17 di 23 10/09/2011 15:25 . using domain administrator credentials: psexec @ALL. 3. from an USB stick for example.. PSEXEC Usage examples: We assume that the agent setup ﬁle is called agentsetup.exe /S /NOSPLASH /SERVER=http://my_ocs_server/ocsinventory 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 /SERVER=http://my_ Generating inventory of a non network connected Windows computer Run “OCS-NG-Windows-Agent-Setup.TXT is a text ﬁle that lists target computer names. and then rerun PSEXEC just for these computers.
.php/Documentatio.ocsinventory-ng. .Documentation:WindowsAgent . Select Local inventory installation type..OCS Inventory NG http://wiki.. 18 di 23 10/09/2011 15:25 .and click “Next” button Validate license agreement by clicking “I agree” button.org/index.
OCS Inventory Agent write only few informations in log ﬁles. Agent is installed into temporary folder. Click “Install” button to start process. You may increase this enabling “Verbose log”. You may also specify the TAG value..ocsinventory-ng.. your usb stick for example: In local inventory mode. indicate the folder where you want to store generated inventory ﬁle. Last.OCS Inventory NG http://wiki.Documentation:WindowsAgent . Agent will be installed into a temporary folder (we recommend not changing this folder. and then removed from computer. launched to generate a ".ocs" inventory ﬁle stored in the folder you've speciﬁed. 19 di 23 10/09/2011 15:25 . it will be automatically deleted at the end of process).org/index.php/Documentatio. By default.
This is the interactive process.php/Documentatio.. you can use OCS-NG-Windows-Agent-Setup.ocs" inventory ﬁle into folder c:\.Documentation:WindowsAgent . through the Administration Console.exe /S /LOCAL=C:\ to silently generate ".org/index.OCS Inventory NG http://wiki.ocsinventory-ng. Once you've transfered generated inventory ﬁle. you will be able to import it into the inventory database of OCS Inventory NG Server. For example. OCS Inventory NG Agent for Windows command line 20 di 23 10/09/2011 15:25 .. Click “Finish” button to close OCS inventory NG Agent Setup. but it can be scripted using /LOCAL=path_to_folder_where_to_store_ocs_ﬁle command line switch.
domain.Documentation:WindowsAgent . even if server do not ask for it (use only for debugging purpose !) Agent must launch IP discovery on network "network number" (use only for debugging purpose !) /work_dir:"path to directory" /local[="path to folder"] /debug[=level] /notag /tag="my value" /xml=["path to folder"] /force /ipdisc="network number" /ipdisc_lat="number of milliseconds" /fastip /hkcu /uid /server=http[s]: //server.tld[:port] Set latency between 2 IP Discover requests to "number of milliseconds" Never wait for latency between 2 IP Discover requests (use only for debugging purpose !) Search also for software under HKEY_CURRENT_USER registry hive (do not work with service as LocalSystem !) Agent must generate a new unique device ID Agent try to connect to Communication Server address and port Listening on http[s]://server.ocsinventory-ng. and store inventory in xml compressed .php/Documentatio. agent assume folder as data folder</nowiki> Generate a very verbose log ﬁle "ocsinventory. options. If no "path to folder" provided.exe [options]” command line where [options] may be in the following command line switches.tld[:port] 21 di 23 10/09/2011 15:25 . 0 => disable verbose logs (default) 1 => enable default verbose logs (default when no level provided provided) 2 => enable debuging logs Agent must NOT prompt user for TAG in any case Agent must set "my value" as TAG value Agent must store inventory in uncompressed xml format into folder "path to folder". agent assume folder as data folder Always send inventory.org/index. Use “C:\Program Files\OCS Inventory Agent\OCSInventory. you can run it manually to diagnose problems.0 or higher includes some command line switches to allow detecting errors.OCS Inventory NG http://wiki. Once agent is installed. Command Line Options: Meaning: Agent must use "path to directory" as working dir (this directory may included conﬁguration ﬁle)... OCS Inventory NG Agent version 2.ocs ﬁle into folder "path to folder". Default is "%ALLUSERSPROFILE%\Application Data\OCS Inventory NG\Agent" or "%PROGRAMDATA%\OCS Inventory NG\Agent" Agent do not contact communication server.log" into agent's install folder.domain. If no "path to folder" provided.
. DLL must be in "com" sub directory ComProvider=ComHTTP.OCS Inventory NG http://wiki. OCS Inventory NG Communication Server address and port .ocs file => enabled. 2=> trace all) Debug=1 ..org/index.pem" /user=username /pwd=password /proxy_type=0|1|2|3 /proxy=proxy_address /proxy_port=port /proxy_user=username /proxy_pwd=password Proxy server address (without protocol !) Proxy server port Proxy authentication credentials Sample conﬁguration ﬁle "ocsinventory. empty disabled) IpDisc= . Enable local inventory mode (path to folder to store . 1 => SSL with server certificate validation required) SSL=0 22 di 23 10/09/2011 15:25 . Force agent launching IpDiscover on specified network (network address => enabled. 1 => enabled. /ocsinventory /ocsinventory When usng SSL connections: /ssl=0|1 0 => SSL without certiﬁcate validation. [OCS Inventory Agent] .ocsinventory-ng. 1 => enabled) HKCU=0 . for server certiﬁcate validation Communication Server authentication credentials Agent proxy use 0 1 2 3 => => => => no. OCS Inventory NG Agent features . 1 => disabled) NoTAG=0 . . HTTP proxy. Which communication provider to use .. Socks 5 proxy) /ca="path_to_cabundle.ini". Enable debugging mode (0 => disabled. Listening on http[s]://server[:port]/ocsinventory Server=http://localhost/ocsinventory .dll [HTTP] . Disable prompting user for TAG value (0 => prompt allowed. . Enable agent scanning HKEY_CURRENT_USER hive for printers and sofware .php/Documentatio. Using SSL connections (0 => SSL without certificate validation. Name of communication DLL and configuration section to use . empty => disabled) Local= .Documentation:WindowsAgent . (0 => disabled. Socks 4 proxy. 1 => SSL with server certiﬁcate validation required (needs CA certiﬁcate) Path to CA certiﬁcate chain ﬁle in PEM format.
Old value of PROLOG_FREQ OLD_PROLOG_FREQ=10 Retrieved from "http://wiki.ocsinventory-ng. 22 April 2011. 1 => yes) AuthRequired=0 .OCS Inventory NG http://wiki. .php/Documentation:WindowsAgent" This page was last modiﬁed 14:42.. 2 => Socks 4 proxy.ocsinventory-ng.php/Documentatio. 23 di 23 10/09/2011 15:25 . 3 => Socks 5 proxy) ProxyType=0 . Using authentication on Communication Server (0 => no.pem .org/index. 1 => HTTP proxy. Proxy address and port Proxy= ProxyPort= . Content is available under GNU Free Documentation License 1.. Number of hour between 2 agent runs PROLOG_FREQ=5 . Proxy authentication credentials (encrypted) ProxyUser= ProxyPwd= [OCS Inventory Service] . validation CaBundle=D:\Developp\OCS Inventory NG\cacert. 1 => yes) ProxyAuthRequired= .org/index. Using proxy authentication (0 => no. Time to wait in minutes before next agent start TTO_WAIT=1020 .Documentation:WindowsAgent . Communication Server authentication credentials (encrypted) User= Pwd= . for server certificate . Path to CA certificate chain file in PEM format. Using proxy (0 => no.2.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue reading from where you left off, or restart the preview.