When I view the inventory of a workstation I need to see the current drive mappings, installed network printers and which printer is the default printer for that workstation. Will this feature be in a future release? If not, how can I add this information to my inventory. WARNING... I'm not a big scripting guy. Thanks

0 Comments   [ + ] Show Comments


Please log in to comment



Printer List with IP:

ShellCommandTextReturn(wmic printer get name, portname)

I know wmic can do the drive listing as well, but I haven't laid eyes on it yet.



Answered 09/16/2013 by: AFCUjstrick
Tenth Degree Black Belt

Please log in to comment

It depends on how the device was installed.  If it was installed under a user context, the agent can't see it.  Remember, that the agent runs as LocalSystem.

The WMIC command that ACFU posted will work, but it won't show any printers/drives that are installed to a user only. 

The easiest way to make this work would be to use a kscript to export the printers to a file, then use a custom inventory rule to read the file.


Answered 09/16/2013 by: jknox
Red Belt

  • The way you described is how we do it as well, both for local/network drives, and for printers. I just happened to have the wmic command in front of me when I saw the question.
    • Oh that's right, I was confusing running that command as a user vs. localsystem.
  • Agree- jknox and AFCUjstrick have the only approach that will work sustainably due to how Windows stores the connection. Since the agent runs as local system, rather than the logged on user, we wouldn't be able to pull things from HKCU
Please log in to comment
Answer this question or Comment on this question for clarity
Share SNMP OID and MIB Information
It’s easy to add custom SNMP OID GETs to your Dell KACE K1000 inventory, but where do you find the exact OIDs you need for a specific device? This is the place to share the OIDs and MIBs you have – and to request the ones you need.