How to Determine Which ShellNoRoam\Bags Point to Which Folder

S

Spawn666948

Hello

Does anyone know how does the ShellNoRoam\Bags point to which folder? Or
vise versa; which folder points to the ShellNoRoam\Bags?

Example:
HKEY_USERS\S-1-5-21-602162358-515967899-725345543-1003\Software\Microsoft\Windows\ShellNoRoam\Bags\798\Shell

That 798 towards the end of the line points to a folder in my My
Documents\Music. What I'm trying to get to is be able to programatically
update the views on some of my folders without having to manually go through
each one; and without affecting everyone single folder.

Thanks.
--
 
W

Wesley Vogel

Does anyone know how does the ShellNoRoam\Bags point to which folder? Or
vise versa; which folder points to the ShellNoRoam\Bags?

<quote>
HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags

This key has a number of numbered sub-keys, each corresponding to saved
settings for a folder. The bad news is that the numbering is based on the
order in which you opened the folders since you installed XP; there is no
correspondence between name & number.
<quote>
from Keith Miller
Common Tasks Don’t Match Folder Type
http://www.kellys-korner-xp.com/xp_common_tasks.htm

By the way...

The info in
HKEY_USERS\S-1-5-21-602162358-515967899-725345543-1003\Software\Microsoft\Wi
ndows\ShellNoRoam\Bags\798\Shell
will be the same as in
HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags
when whoever is S-1-5-21-602162358-515967899-725345543-1003 is logged on.

Any changes made in the HKEY_CURRENT_USER hive will also be made in the
corresponding keys in HKEY_USERS\Security ID (SID) of current user subkey.
And vice versa.

The HKEY_CURRENT_USER subtree contains the user profile for the user who is
currently logged on to the computer.

The information in HKEY_CURRENT_USER is built from the HKEY_USERS key during
the logon process. Therefore, all information found in the
HKEY_CURRENT_USER key is a copy of the subkey HKEY_USERS\username, where
username is the name of the active user (or Default).

The HKEY_CURRENT_USER subtree does not contain any data. It just stores a
pointer to the content of the HKEY_USERS\Security ID (SID) of current user
subkey. Therefore, the content of that subkey also appears in
HKEY_CURRENT_USER, and it can be viewed and changed in either location. The
HKEY_CURRENT_USER subtree just provides easier access to the data.

HKEY_CURRENT_USER Contains the user profile for the user who is currently
logged on interactively (as opposed to remotely), including environment
variables, desktop settings, network connections, printers, and program
preferences. This subtree is an alias of the HKEY_USERS subtree and points
to HKEY_USERS\security ID of current user.

The HKEY_USERS subtree contains all actively loaded user profiles.
HKEY_USERS has at least three keys:

* .DEFAULT

* A subkey named for the Security Identifier (SID) of the current local
user. This subkey contains the current user's profile. The data in
HKEY_USERS\SID also appears in HKEY_CURRENT_USER.

* A subkey named for the Security Identifier (SID) of the current local
user with the _Classes suffix. This subkey contains the current user's
Classes. The data in HKEY_USERS\SID\_Classes is also contained in
HKEY_CLASSES_ROOT.

Reference:

About the Windows Registry
http://www.microsoft.com/resources/...Serv/2003/all/deployguide/en-us/RegTopics.asp

Description of HKEY_CURRENT_USER Registry Subkeys
http://support.microsoft.com/default.aspx?scid=kb;en-us;310595

Registry overview
http://www.microsoft.com/resources/...ard/proddocs/en-us/sag_ntregconcepts_yynh.asp
--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top