Login
Register
Questions
Unanswered
Tags
Categories
Users
Ask a Question
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.
Categories
All categories
OCS Inventory NG server
(2.5k)
OCS Inventory NG server for Unix
(1.9k)
OCS Inventory NG server for Windows
(320)
Administrative console
(308)
OCS Inventory NG agent
(1.5k)
OCS Inventory NG plugins
(59)
Network features
(138)
Developers
(128)
Problem with deploy batch/powershell
I built a script that elevate permission as administrator, they work good, when I execute manual, but but when I sent for computer via deploy OCS this not work. What can I make?
deployment
teledeploy
deploy
deploiement
depl
asked
Jan 20, 2022
in
OCS Inventory NG server for Unix
by
leandro.tenorio
(
340
points)
Share on
share on gp
share on fb
share on tw
share on li
Please
log in
or
register
to answer this question.
3
Answers
0
votes
The (Windows) agent is installed as service, generally as system account = local admin.
So deployement package run naturally as system account = no need to elevation.
(This is a security risk : an OCS super admin can do anything on windows or linux computer !)
answered
Jan 20, 2022
by
jacquesh
(
20.1k
points)
Please
log in
or
register
to add a comment.
0
votes
But when I execute a script dont execute because permission.
answered
Jan 25, 2022
by
leandro.tenorio
(
340
points)
Please
log in
or
register
to add a comment.
0
votes
make a .bat contain
powershell -executionpolicy bypass -noprofile -command "&{ .\yourscript.ps1}"
the bat launch yourscript.ps1
zip bat and ps1
its working
willy
answered
Mar 29, 2022
by
WillyG
(
660
points)
Please
log in
or
register
to add a comment.
Powered by
Question2Answer
...