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.11.1 available

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

Windows Agent 2.4.0.0 AIO Agent Installer issue [closed]

Hi All,

I used OCS Windows Packager 2.3 to pack Windows Agent 2.4.0 with latest psexec. Look like there are some bugs as below

1. I have full permission on my Windows 10 v1803, but log said Current user does not have Administrator privileges

2. Installtion switched to psexec but failed to login even with domain\administrator PsExec.exe /accepteula -u domain\administrator -p ******** instOCS.exe

Access is denied.

Following is installion log on my pc:

OCS Inventory NG Packager (All-In-One Agent Installer) : Starting OCS Inventory NG Packager (All-In-One Agent Installer) on 23/08/2018 at 15:57:36
OCS Inventory NG Packager (All-In-One Agent Installer) : Installing <OCS-NG-Windows-Agent-Setup.exe> version <2.4.0.0>
OCS Inventory NG Packager (All-In-One Agent Installer) : Installing from <C:\Users\xxxxx\AppData\Local\Temp\nsq8B.tmp>\
OCS Inventory NG Packager (All-In-One Agent Installer) : Extracting privilegied installer
OCS Inventory NG Packager (All-In-One Agent Installer) : Extracting Agent setup file
OCS Inventory NG Packager (All-In-One Agent Installer) : Extracting Agent configuration files
OCS Inventory NG Packager (All-In-One Agent Installer) : Extracting Agent plugin files
OCS Inventory NG Packager (All-In-One Agent Installer) : Installing Agent to folder <C:\Program Files (x86)\OCS Inventory Agent>
OCS Inventory NG Packager (All-In-One Agent Installer) : Configuring Agent from folder <C:\ProgramData\OCS Inventory NG\Agent>
OCS Inventory NG Packager (All-In-One Agent Installer) : Loging privilegied installer to <C:\Users\xxxxx\AppData\Local\Temp\ocspackage.log>
OCS Inventory NG Packager (All-In-One Agent Installer) : Current user does not have Administrator privileges
OCS Inventory NG Packager (All-In-One Agent Installer) : Extracting Microsoft SysInternals PsExec.exe
OCS Inventory NG Packager (All-In-One Agent Installer) : Launching Privilegied Installer with command <PsExec.exe /accepteula -u domain\administrator -p ******** instOCS.exe>
OCS Inventory NG Packager (All-In-One Agent Installer) : Waiting for Psexec.exe ending (.1 seconds)

OCS Inventory NG Packager (All-In-One Agent Installer) : ============== Start of Psexec.exe log =============

PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

Access is denied.

PsExec could not start instocs.exe:

OCS Inventory NG Packager (All-In-One Agent Installer) : ============== End of Psexec.exe log ==============

Could someone please help?

Regards,

Ken

closed with the note: Problem solved
in OCS Inventory NG agent for Windows by (240 points)
closed by

1 Answer

0 votes
Further testing I found it works via GPO using bat file. If run directly on Windows 10, I must right click and Run as Administrator.

bat file content:

\sharepath\OcsLogon.exe /DEPLOY=2.4.0.0 /URL=https://xxxxxxxx/ocsreports/ocspackage.exe
by (240 points)
 
Powered by Question2Answer
...