Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

User Profiles in registry - Where is the domain name?

3 views
Skip to first unread message

Frank Meng

unread,
Dec 11, 2002, 11:13:56 AM12/11/02
to
Under "My Computer"->Properties, you can get User Profiles list under
the title "Profiles stored on this computer".
I want to get that information with my program.
The problem is that I don't know how to get domain name.
And where does the Size of a user profile come from?
With Windows 95, User Profiles are stored under registry
"HKEY_LOCAL_MACHINE \Software \Microsoft \Windows \Current
Version\Profile List".
With Windows NT, User Profiles are stored under registry
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList".
Some profiles are local, some are cached.
If "ProfileImagePath" is something like "%SystemDrive%\Documents and
Settings\myusername.mydomainname", I know it is a profile for user
"myusername" on domain "mydomainname".
But sometimes ProfileImagePath doesn't have domain name, just has a
value like "SystemDrive%\Documents and Settings\myusername".
And sometimes it is local profile, sometimes it is a cached profile.
Where can I get the domain name and Profile size?

James Isaacs

unread,
Dec 12, 2002, 9:31:41 AM12/12/02
to
I have found it in "protocol.ini" at C:\WINDOWS\ in the past, but depending
on your setup this may be different.
J

"Frank Meng" <meng...@hotmail.com> wrote in message
news:1a370138.02121...@posting.google.com...

0 new messages