Quantcast
Channel: Ivanti User Community : All Content - Inventory
Viewing all articles
Browse latest Browse all 730

How to collect built in Admin password info from a client through inventory scan

$
0
0

Environment

This is verified on LDMS 95 and LDMS 9.5SP1

 

Description

In some cases it may be necessary to add built in Admin password info into inventory from a client. IT people can know the information about password last set. Usually we can get the password last set information through "net user XXX" command from CMD window, but we can't add this information into inventory using net user command.

 

Resolution

LDMS does not have any such feature built-in. Luckily LDMS is very flexible in that we can create own tools that gather data we want and make this data available to the inventory. Here is a way (one of many) about how to add built in Admin password info into inventory on a client.

 

What we need

 

1) Create a VBScript that collect the built in Admin password and will write this data into a .DAT file

2) Modify LDSCNHLP.INI to include the path to our VBScript and to our .DAT (created by the our script)

3) Distribute the VBScript and the modified LDSCNHLP.INI to the clients

4) Disable Block unknown Inventory Items in Inventory configuration

5) Run an inventory scan on the clients

 

One of many solutions

 

1) Download the attached VBScript called passwordlastset.vbs to your software distribution share

2) Download the attach LDSCNHLP.INI to your software distribution share

3) Deploy both passwordlastset.vbs and LDSCNHLP.INI to your clients. Make sure they are both being copied to C:\Program Files\LANDesk\LDClient\

4) Now run an inventory scan on your client(s). Once they finished their scan, you will find the following in the inventory

 

Inventory root > Custom Data > password

 

Notice:

If you enable Block unknown Inventory Items, These inventory items may be blocked, please see below screenshot:

blockunknownitem.PNG

If you disable or allow the items you want to add into inventory, then run inventory scan on the client machine, these items can be added into inventory:

passwordlastset.PNG

In order to report on that data, create a LANDesk query.

querypasswordlastset.PNG


Viewing all articles
Browse latest Browse all 730

Trending Articles