MAP toolkit - 1 collection remaining

WW-6729 371 Reputation points
2022-02-14T21:12:09.073+00:00

Hello!

I'm running MAP toolkit and it is "stuck" at 1 collections remaining:
174169-image.png

From the logs I can see that he is trying to communicate with one computer with error "The RPC server is unavailable":

"2022-02-14 22:05:09.57 WorkerThread11@WmiClassesCollectionStep,E> GetRegistryKeyValue(Device(GUID={b89498a5-5b2c-4f7c-8fd2-15f10fba2840},DnsHostName='MY_PC')): Exception while processing attribute ParentKeyName of type String, Exception: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
| at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

Does anybody know how to stop scanning this computer so MAP can finish? Maybe MAP tool can be configured to try communicating with computers for limited time - when MAP does not get response from one collection for specific time simply go to another collection...?

BR

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. WW-6729 371 Reputation points
    2022-02-15T06:25:36.843+00:00

    And after 14 hours MAP tool decided to finish the job:

    <2022-02-15 07:12:19.22 WorkerThread11@WmiClassesCollectionStep,E> CollectRegistryClass(Device(GUID={b89498a5-5b2c-4f7c-8fd2-15f10fba2840},DnsHostName='MY_PC'), \MY_PC\root\DEFAULT:StdRegProv, <RegistryClass Namespace='HKEY_LOCAL_MACHINE' ClassName='SOFTWARE\Microsoft\Microsoft SQL Server*\DQ\Setup'>): Exception Occurred: System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
    | at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
    | at System.Management.ManagementObject.Initialize(Boolean getObject)
    | at System.Management.ManagementObject.get_ClassPath()
    | at System.Management.ManagementObject.GetMethodParameters(String methodName, ManagementBaseObject& inParameters, IWbemClassObjectFreeThreaded& inParametersClass, IWbemClassObjectFreeThreaded& outParametersClass)
    | at System.Management.ManagementObject.GetMethodParameters(String methodName)
    | at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.CollectRegistryEnumKeyValue(WmiCollectionState stateRec, CollectorClassCollectionState cccs, CollectorClass cc, String subKeyName, String enumType, ManagementClass managementClass)
    | at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.CreateRegistryCollectorClassInstances(WmiCollectionState stateRec, CollectorClassCollectionState cccs, CollectorClass cc, String key, Stack`1 wildcards, ManagementClass managementClass)
    | at Microsoft.AssessmentPlatform.InventoryEngine.DeviceInventory.WmiClassesCollectionStep.CollectRegistryClass(WmiCollectionState stateRec, ManagementScope localManagementScope, CollectorClassCollectionState cccs)
    <2022-02-15 07:12:19.25 WorkerThread11@DeviceInventoryWorkItem,I> InventoryWorkCallback(Device(GUID={b89498a5-5b2c-4f7c-8fd2-15f10fba2840},DnsHostName='MY_PC')) - Device inventory completed. Elapsed time = 14:51:32.519. Collection results: Wmi = Success/21/3/0, Registry = Success/8/20/14, VMware = -/0/0/1, PowerShell = FailedDueToAnyReason/0/2/0.
    <2022-02-15 07:12:19.25 WorkerThread13@InventoryDiscoveryWorkItem,I> InventoryDiscoveryWorkItem().InventoryWorkCallback() - Discovering devices in the current inventory data.
    <2022-02-15 07:12:19.36 WorkerThread13@InventoryDiscoveryWorkItem,I> Skipping detection for device due to null or empty hostname.
    <2022-02-15 07:12:19.36 Inv:FillWorkItemQueue@InventoryService,I> FillWorkItemQueueThreadProc() - The thread that fills the work item queue is exiting.
    <2022-02-15 07:12:19.36 TID-24@InventoryService,I> Stop() - Stopping the inventory engine.
    <2022-02-15 07:12:19.36 TID-24@InventoryService,I> Stop() - Giving active work 10 seconds to complete before aborting the work.

    Can this be configured so that MAP tool after couple of tries goes to the next collection and not to wait for 14h to stop?

    BR

    0 comments No comments

  2. Limitless Technology 39,916 Reputation points
    2022-02-16T14:08:53.473+00:00

    Hello @WW-6729

    MAP Toolkit mostly get stuck because is trying to connect to a machine that was already discovered in a previous scan, and:

    a) the machine is offline and MAP is waiting to come up
    b) the previos MAP scan was done with a different user and current has no permissions over that machine.

    However, if this situation repeats, you can safely press cancel, as for the rest of computers the information will be still saved.

    Hope this helps with your query,

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  3. SCCMAdmin 111 Reputation points
    2022-07-08T16:47:49.167+00:00

    Hi @Limitless Technology ,

    I have pressed cancel button, but MAP does not show anything

    219021-1collectionleft.png

    The backup file is 1.8GB
    218983-backup-size.png

    There is no data:
    218838-mapnodata.png

    Excel reports are empty:

    218994-excelempty.png

    Is it possible to get data on the tool?

    thanks in advance!

    0 comments No comments

  4. SCCMAdmin 111 Reputation points
    2022-07-13T20:28:03.217+00:00

    Hi,

    To show data: Tools > Refresh Inventory Assessment

    220518-refresh-inventory-assessment.png

    Now there is data at MAP:

    220504-dataonmap.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.