Registered member login:
Register Now
Altirigos » Notification Server and Solutions » Inventory Solution » My Documents Custom Inventory

» Current Poll
Vista?
Staying on XP until Windows 7 - 72.14%
101 Votes
Already on Vista - 10.71%
15 Votes
Planning an upgrade to Vista soon - 10.00%
14 Votes
Other (please explain) - 7.14%
10 Votes
Total Votes: 140
You may not vote on this poll.
» Stats
Members: 6,831
Threads: 9,769
Posts: 47,815
Top Poster: Nick (4,800)
Welcome our newest member, jdh2000
» Online Users: 47
8 members and 39 guests
dominique, grayghost, Kenneth, matzebru, Randall LeDoux, SonicGT, swiep, titan90
Most users online at once 294, 06-30-2007 at 01:24 PM.
» January 2009
S M T W T F S
28293031 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Reply
Old 11-12-2008, 03:00 PM   #1 (permalink)
 
Status: Super Altiris Admin
Join Date: 10-28-2005
Location: Colorado
Posts: 1,116


My Documents Custom Inventory

Can anyone please assist me with a custom inventory?

Basically the ideal results would only query the keys:
HKEY_USERS\S-1-5-21-* ( I don't know if wildcards are possible)

For each of those paths I would like to grab the following four keys:

HKEY_USERS\{S-1-5-21-entry here}
HKEY_USERS\{S-1-5-21-entry here}\Software\Microsoft\Windows\Current Version\Explorer "Logon User Name"
HKEY_USERS\{S-1-5-21-entry here}\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders "Personal"
HKEY_USERS\{S-1-5-21-entry here}\Software\Microsoft\Windows\Current Version\Explorer\User Shell Folders "Favorites"

In the end this will have iterated through all the S-1-5-21-* profiles on the machine and inventoried their My Documents and Favorites path. I can get this to work for each user as they log in but we would like to run it once on the machine and have a list of profiles and their settings

Like...
Select vc.name, pd.* from Inv_AeX_CI_Personal_Drives pd JOIN vComputer vc on vc.Guid = pd._ResourceGuid
Code:
Computer1 HKEY_USERS\S-1-5-21-23423423-2342-342-3423 user1 Z:\My Documents Z:\Favorites
Computer1 HKEY_USERS\S-1-5-21-787686787-2342-342-3342 user2 V:\My Documents v:\Favorites
I have looked through all the Altiris CI examples and have come close, but I am just not following what they do exactly. Any ideas/help would be much appreciated. Thanks.
__________________
Brandon

Last edited by Brandon; 11-12-2008 at 03:48 PM..
Brandon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 05:21 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos