Feature #1674

List installed software in user's profiles

Added by Benjamin Cerede about 1 year ago. Updated about 1 month ago.

Status:ResolvedStart date:05/21/2012
Priority:NormalDue date:
Assignee:Gonéri Le Bouder% Done:

100%

Category:windows
Target version:2.3.0
For junior contributor:No

Description

Add feafure to list software are installed in user's profile's.

Registry : HKU\USER-SID-HERE\Software\Microsoft\Windows\CurrentVersion\Uninstall

Associated revisions

Revision 359d5029
Added by Gonéri Le Bouder 11 months ago

Win32: add software from user profiles

Open the ntuser.dat of the local users to retrieve the list of the softwares
installed in the user profile.

This patch add 2 new keys:
→ SOFTWARES/USERNAME: The name of the owner of the software
→ SOFTWARES/USERID: The ID of the software, Windows SID in this case.

Tested Windows Vista

closes: #1674

Reported-by : Benjamin Cerede <>

History

#2 Updated by Gonéri Le Bouder 12 months ago

I've a problem with the HKU\USER-SID-HERE\Software\Microsoft\Windows\CurrentVersion\Uninstall solution. If the user is disconnected when an inventory is done, the installed softwares won't be added to the inventory. So depending, on who is connect, the inventory will be different.

We can add a parameter to avoid inventory when nobody is connected but this sound a bit complex to me?

#3 Updated by Benjamin Cerede 12 months ago

You have to load the users hive.
http://code.activestate.com/lists/perl-win32-admin/1251/
http://www.perlmonks.org/?node_id=335921

This is what I found regarding that.

#4 Updated by Gonéri Le Bouder 12 months ago

Please speak in english on the bugtracker :)

How do you get the local user list? In an AD environment, user can jump with his profile from one machine to another one.

#5 Updated by Benjamin Cerede 12 months ago

Sorry.

I list folder in C:\Users (windows 7) or Documents and settings (xp).
If ntuser.dat exist load it. Get registry values and unload it.

#6 Updated by Gonéri Le Bouder 12 months ago

  • Category set to windows
  • Assignee set to Gonéri Le Bouder
  • Target version set to 2.3.0

Thank you Benjamin, this sounds a good option to me.

#7 Updated by Benjamin Cerede 12 months ago

Ok no problem for me.

#8 Updated by Gonéri Le Bouder 11 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#9 Updated by Gonéri Le Bouder 11 months ago

  • Status changed from Closed to Resolved

#10 Updated by Walid Nouh 10 months ago

Sorry but it doesn't seems to be working on a Windows XP
There's no error message, and nothing in the agent's log

#12 Updated by Benjamin Cerede 4 months ago

This is abandoned?
I'm trying to deploy FusionInventory and I'm still not dating software users: (

Like Chrome.

Thanks.

#13 Updated by Gonéri Le Bouder 4 months ago

  • Status changed from Resolved to In Progress

Hi,

What Windows version do you use?

#14 Updated by Benjamin Cerede 4 months ago

I'm on Windows 7 Pro

#15 Updated by Gonéri Le Bouder 4 months ago

Hum, I realise this has been done in 2.3.x branch. This branch is still unreleased. Sorry for the confusion.

#16 Updated by Benjamin Cerede 4 months ago

Ah good!

When will it be ok in the agent ?

Thanks ;)

#17 Updated by Gonéri Le Bouder about 1 month ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF