agent ver. 18.104.22.168
How to re-locking the download directory?
Stop the service with the command:
net stop "OCS Inventory Service"
does not release the download directory and the "lock" file is still being used by another process.
Starting OCS Inventory NG Package Download and Setup Tool on Monday, November 20, 2017 14:03:29.
DOWNLOAD => Running OCS Inventory NG Download Version 22.214.171.124
DOWNLOAD => Using OCS Inventory NG FrameWork Version 126.96.36.199
DOWNLOAD => Using network connection with Communication Server
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <188.8.131.52>
DOWNLOAD => Starting new period of 10 cycles
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
DOWNLOAD => Package <1511179350> verified and added to process queue
DOWNLOAD => Downloading package fragment <1511179350-1>
DOWNLOAD => Building package <1511179350>
DOWNLOAD => Executing action <EXECUTE> for package <1511179350>
DOWNLOAD => Sending result code <SUCCESS> for package <1511179350>
ERROR *** DOWNLOAD => Cannot lock directory <C:\ProgramData\OCS Inventory NG\Agent\download>
DOWNLOAD => Unloading communication provider
DOWNLOAD => Execution duration: 00:10:33.
After such blocking, no packet downloads and does not execute on such a station, the status is NOTIFIED all the time.