I disabled Saas from ocs web configuration page:
INVENTORY_SAAS_ENABLED: OFF
and restarted Apache, just in case, but trying to install ocs inventory agent 2.10.1 from a Windows computer that surely needs a reboot, the installation never ends running Saas.ps1:
C:\Users\user>dir /od "\\192.168.1.1\c$\ProgramData\OCS Inventory NG\Agent"
Volume in drive \\192.168.1.1\c$ is Windows
Volume Serial Number is 007D-32C0
Directory of \\192.168.1.1\c$\ProgramData\OCS Inventory NG\Agent
2019/01/17 10:05 a.m. 56 ocsinventory.dat
2021/10/13 07:36 a.m. 5.960 Download.log.bak
2025/02/26 12:48 p.m. 0 history
2025/02/26 12:48 p.m. 1.576 last_state
2025/02/26 12:48 p.m. <DIR> Download
2025/02/26 12:51 p.m. 1.913 ocsinventory.log.bak
2025/02/26 01:31 p.m. 2.638 OCSInventory.log
2025/02/26 01:31 p.m. 435 ocsinventory.ini
2025/02/26 01:32 p.m. <DIR> .
2025/02/26 01:32 p.m. <DIR> ..
2025/02/26 01:32 p.m. 0 Saas.ps1.xml
8 File(s) 12.578 bytes
3 Dir(s) 755.469.369.344 bytes free
C:\Users\user>
It must be a bug. Why is runing Saas.ps1 having Inventory Saas disabled?