Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

installing agent with GPO, computer policy (system account) - parameters don't work, where are log files?

Hi,

the problem is, that when installing agent with GPO, computer policy, it doesn't obey parameters, so i.e. when DEPLOY=2.1.0.1, it installs version 2.1.1.1.

The same configuration, but called manually (under admin account), works fine. In a log file (C:\Users\<login>\AppData\Local\Temp\OcsLogon.log) there is a message, that:

OCS Inventory NG Agent version 2.1.0.1 already installed, skipping setup

and that is ok.

I had tried to find the same file while installing with computer policy (to check messages), but couldn't get location.

So, where OCS logs files are stored while OCS is installed under system account (GPO computer policy)?

(I checked: windows\system32\config\systemprofile but it's not there),

or why deploy parameter doesn't work under GPO computer policy?

 

 

 

 

 

 

 

 

 

in OCS Inventory NG agent for Windows by (230 points)

2 Answers

0 votes
It looks like parameter NOW blocks the agent installation under system account (computer startup script).

I ran cmd as system user, then tried to install in traditional way (with agent setup manager) and it hanged (with NOW parameter checked).

I did the same with NOW unchecked and installation was completed.

Is it a bug?

Regards,
Wojtek
by (230 points)
0 votes
While installing with GPO computer startup script, logs are located at:

C:\Windows\Temp
by (230 points)
 
Powered by Question2Answer
...