agent ver. 2.3.1.1
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.
log:
Starting OCS Inventory NG Package Download and Setup Tool on Monday, November 20, 2017 14:03:29.
DOWNLOAD => Running OCS Inventory NG Download Version 2.3.1.1
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.3.1.1
DOWNLOAD => Using network connection with Communication Server
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.3.1.1>
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.