简体   繁体   English

使用.bat安装Fusioninventory,使用GPO策略脚本

[英]Install Fusioninventory with .bat, with GPO Policy script

Good morning, someone could help me, create a GPO to run a .bat running an .exe with installation commands, but I have the problem that the policy of the company, prevents it from running .exe without administrator permissions, so Even if I apply the GPO successfully, the .exe is not executed and the installation I want is not done. 早上好,有人可以帮助我,创建一个GPO运行.bat运行.exe运行安装命令,但我有问题,该公司的政策,阻止它运行.exe没有管理员权限,所以即使我成功应用GPO,.exe没有执行,我想要的安装没有完成。 the GPo replicates in other GPO servers and is for many desktop. GPo在其他GPO服务器中复制,适用于许多桌面。

SPANISH: Buenos dias, alguien me podria ayudar, cree una GPO para ejecutar un .bat que ejecuta un .exe con comandos de instalación, pero tengo el problema que la politica de la empresa, evita que se ejecuten .exe sin permisos administrador, por lo cual , aunque aplique la GPO exitosamente, el .exe no se ejecuta y no se hace la instalación que quiero. 西班牙语:Buenos dias,alguien me podria ayudar,cree una GPO para ejecutar un .bat que ejecuta un .exe con comandosdeinstalación,pero tengo el problema que la politica de la empresa,evita que se ejecuten .exe sin permisos administrador,por lo cual,aunque aplique la GPO exitosamente,el .exe no se ejecuta y no sehacelainstalaciónquequiero。

Script: 脚本:

\\MTAD300\Util\Finventory\fusioninventory-agent_windows-x64_2.4.2.exe /debug=1 /acceptlicense /server='https://ayuda.servidor.com/plugins/fusioninventory' /delaytime=60 /execmode=service /add-firewall-exception /installtasks=full /runnow /S

Update 23/4/2019 更新23/4/2019

Option 1: Run as disabled:(FAIL) 选项1:作为禁用运行:(FAIL)

https://i.stack.imgur.com/YjjL3.png https://i.stack.imgur.com/YjjL3.png

Option 2: Parameters script:(FAIL) https://i.stack.imgur.com/FdYzY.png 选项2:参数脚本:(FAIL) https://i.stack.imgur.com/FdYzY.png

Option 3: Script Powershell, execute .bat with privileges: (FAIL, lack of experience in powershell) https://i.stack.imgur.com/eIxYb.png 选项3:脚本Powershell,使用特权执行.bat :( FAIL,缺乏PowerShell的经验) https://i.stack.imgur.com/eIxYb.png

Option 4: ...Please HELP-ME... 选项4:......请帮帮我......

You've added screenshots regarding your actions but not the actual results (the error messages). 您添加了有关操作的屏幕截图,但未添加实际结果(错误消息)。

Launching an EXE through a Computer Config GPO is executed by SYSTEM user, so you have enough permissions. 通过计算机配置启动EXE GPO由SYSTEM用户执行,因此您具有足够的权限。

Are you positive batch or powershell runs without using a GPO (executed as a computer admin)? 在没有使用GPO(作为计算机管理员执行)的情况下,您是正批量还是PowerShell运行?

By the way, there is a VBS script at fusioninventory official website: http://fusioninventory.org/documentation/agent/installation/windows/large_install.html I don't think your issue is related to this but just in case. 顺便说一句,在fusioninventory官方网站上有一个VBS脚本: http ://fusioninventory.org/documentation/agent/installation/windows/large_install.html我不认为你的问题与此有关,但以防万一。 Regards 问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM