I'm having a hard time getting a scheduled inventory scan to work.
I have an inventory scan job that I believe came with LDMS called inventoryscanner. It includes this line:
;--- assumes that ldappl3.ini is in same dir as the .exe
REMEXEC1=<qt/>%LDMS_CLIENT_DIR%\LDISCN32.EXE<qt/> /NTT=%server%:5007 /S="%server%" /I=HTTP://%server%/ldlogon/ldappl3.ldz /NOUI /NOCD /f /sync
A few months ago I set this up in a scheduled task. I've used it occasionally and always just assumed it worked.
Yesterday I had a time-sensitive software distribution and I needed to run an inventory between two tasks (the first task removed old software; the second installed the new).
About 20 minutes after I'd run the inventory scanner I decided to be anal and checked a query to confirm that none of the PCs still had the old software. It reported that most did - not becuse the distribution job hadn't worked but because the inventory scan had not been triggered. After 40 minutes I checked again and another 20-30 machines (out of 600) had rescanned and dropped out of the query. I went back to the task and confirmed that it reported all the machines as Done - No Error. Four *hours* later there were still over a hundred machines that hadn't submitted scan results, so right-clicked on each one and selected Inventory Scan | hardware and software scan. Each machine took <5 minutes to complete.
So what's the deal? Is the only way to get trustworthy scan results to run them by hand? Or am I doing something wrong?