Description
General information
Operating system : Windows 10
OCS Inventory information
Windows agent version : 2.9 - 2.10.1 64-BIT Version testeted, maybe more?
Problem's description
We testet the OCS Windows Agent in the 64-Bit version on multiple computers but every time it will stuck on inventory. After a lot of troubleshooting we figured out the issue is caused by the pre installed plugin "Saas.ps1". After we removed it from the folder the agent is working fine and without issues. So we tested the powershell script, the output was nothing, because our system language is german which is not handeled in the code, so we added one line:
}elseif($lang.Name -eq "de-DE"){
$pwlang = "Eintragsname"
That seemed to work we got then the expected output but the Agent still stucks because of this script while inventorying. I think there should be better handling for this, the whole agent should not get stuck because of one script. Even if the output is nothing it gets stuck. We did not get this running.
For us is the only solution is to delete this script for each installation which we will avoid. Or use a other version of the Agent. Sadly there is no option in the agent installer to not install this script. So we are forced to use 32-Bit I guess or a older version without it.
Inventory log file ( optional )
This snipped shows that the client is always stuck on this plugin. This is always the last line of the log:
The log on the ocs server did not show any intresting things. We even did capture the packages with Wireshark and noticed that not until this script is done running nothing intresting will be send to the ocs server. Only one thing which seemes somewhat like a hello could we capture and this lines up with the log we have.