User profile Registry Settings

  • Thread starter Thread starter sks
  • Start date Start date
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
 
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
 
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
 
Back
Top