User profile Registry Settings

S

sks

Hi,

I was wondering if there is anything like

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders (gives the details of Desktop, My Documents , Favorites etc
for the user currently logged in) that gives the user details for all
the users on the machine.

If say any Windows 2000 machine has 4 users (local profiles) under
Documents and Settings directory.


user1
user2
user3
user4

Say user2 is currently logged in.

Using the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders

I can only get the profile settings of the user who is currently
logged in, i.e. user2. Is there any where in the registry, I can find
the user profile settings for all the users on the machine.

I would appreciate any help in this direction.

Thanks in advance,
sks
 
D

Dave Patrick

The current user hive is the file
%systemdrive%\Documents and Settings\%username%\ntuser.dat
which is only loaded for the current user. Use regedt32.exe to load the file
of another profile.

The Reg_Sz sting values in;
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
are dynamically altered according to the Reg_Expand_Sz strings found in;
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
 
D

Dave Patrick

The current user hive is the file
%systemdrive%\Documents and Settings\%username%\ntuser.dat
which is only loaded for the current user. Use regedt32.exe to load the file
of another profile.

The Reg_Sz sting values in;
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
are dynamically altered according to the Reg_Expand_Sz strings found in;
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
 

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