Hi,
For more one week I have tried to deploy Agent ocs with a login script. I work with Windows Server 2008 R2 and Windows XP Professionnal to perform some tests. I would like to deploy Agent ocs from the login script. So, the folder OCS_script installed in the Windows Server 2008 R2 is shared with Windows XP Professionnal. In this folder there are ocs.bat and Ocslogon.exe renamed as ipserver.exe The ocs.bat has this script:
\\my_server\OCS_script\ipserver.exe /PACKAGER /DEPLOY=2.1.1.1 /SERVER=http://ipserver:80/ocsinventory
Now, the ocspackager has been run to generate an ocspackage. By login on iperserver/ocsreports I have added ocspackage in the page where it is possible to manage the OCS-NG clients. There is an inventory from Windows Server 2008 R2 but not for Windows XP Professionnal. I would like to understand why
This is the ocsinventory.ini:
OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=2
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://ipserver:80/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24
TTO_WAIT=120
If it could be useful this is the ocslogon.log:
********************************************************
Starting OCS Inventory NG Logon Installer 2.1.0.3 on 10/07/2014 at 14:20:05
Checking if not already running...OK
Parsing command line arguments...OK
Searching OCS Inventory NG Agent installed version...OK (2.1.1.1)
OCS Inventory NG Agent version 2.1.1.1 already installed, skipping setup.
Windows automatically starts OCS Inventory NG Service, no need to launch Agent.
All done, exiting ;-)
In addition in the ocsinventory.ini file there no error messages but we can read the word "warning" here:
WARNING *** INVENTORY => Failed to retrieve user domain
WARNING *** INVENTORY => Failed to retrieve sound devices
WARNING *** INVENTORY => Failed to retrieve modems
Although I have restarted the WINdows XP Professionnal , there is no inventory from it.
If other information are necessary feel free to inform me about. Also when I have a look on Windows Task Manager I notice that after running Ocslogon.exe renamed as 192.168.1.253.exe this one is not displayed in the list.
Best regards