Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG agent
Viewing all articles
Browse latest Browse all 4573

Answered: Deploy OcsAgent via GPO

$
0
0
hy , you could use ocslogon.exe in comination with the ocspackage.exe (ocspacke.exe can be uploaded to the ocs-inventory server).

Launcher “OcsLogon.exe” is a little tool able to run inside a login script or an ActiveDirectory GPO. His goal his to launch OCS Inventory NG Agent on computer, and if Agent isnot installed, to setup Agent on computer

ocslogon.exe /GPO /PACKAGER /NP /DEPLOY=2.1.1.3 /server:yourdomain.com

OCSLogon Parameter

https://github.com/OCSInventory-NG/WindowsAgent/tree/master/logon

perhaps the ocslogon is only available in older agent packages-
But you can use the old ocslogon.exe with a new agent

 or just use a script which checks if the client allready installed in combination with the normal installer

@echo off
if exist "%programfiles%\OCS Inventory Agent\OCSInventory.exe" goto end

OCS-NG-Windows-Agent-Setup.exe /S /SERVER=yourserverdnsname /NO_SYSTRAY

:end

There are many more command options to deploy the agent.

In the past you can use 1 ocpackage.exe which you upload to your ocs server.

The ocslogon.exe downloads it to the client and installs it.

But today there are many compatility problems (new agent is ony 64 bit compatible for example)

so you should use a script which runs and check if you have a 32 or 64 bit OS and Windows 7 or windows 10. Depending on that the script installs the correct Agent Version with the normal installer.

hewre are some ver very old scripts by Philippe BEAUMONT

https://www.forum-microsoft.org/viewtopic.php?t=138219

here a complete manual

https://curie77.fr/ocs-inventory/

Viewing all articles
Browse latest Browse all 4573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>