Hey Mark,
And do you use the UPHC tool from MS? User Profile Hive Cleanup
Yeah, I run UPHClean on every computer in our domain, however, Lotus
Notes still likes to hang the profile. I just went on my boss' computer
yesterday and he had logged in, ran Notes, then logged off. I logged in
with his account and was loaded in with a temporary profile even though
hours had passed between the two logins, so UPHClean wasn't able to shut
it down.
And a great find that data! You might ask next time for a
"ticket" number in case of additional dialog required.
I have a ticket number, and they keep calling me and asking if it's
resolved and to either call back or email. So, I email them back that
I'd like more information and they call me back to ask if the issue has
been resolved.. hehehe.. I think there's a break somewhere in the lines
of communication
But it seems Jerold is on to "interpreting" the found values now so
in all likelihood he will be your better source of information. He
does have internal contacts at Microsoft as well.
You both have been extremely helpful. I didn't realize that those
values were hex until you pointed that out and then things started to
make much more sense.
I'd still like to know what the values above 800h mean, though. I'm
going to keep digging!
To be hoped. Considering they seem to have been entirely
undocumented in the public information though will always leave one
wondering just a bit <G>
Yeah.. I've been searching EVERYWHERE for this data for a LOOOOONNNNGGG
time and I finally got something, but only through a lot of
collaboration. I am going to check w/ my friend that is running Vista
to see what his State values are. I'm pretty sure the values are
consistent w/ 2k and NT, but we're not running 2k or NT anyways.
I will follow along and learn over your shoulder. Thanks for
actually raising the question at the outset! Interesting stuff.
Well, if you're curious, the real reason that I wanted to know is
because I'm making a somewhat unorthodox script that goes against the
normal way that profiles are handled. It drives me nuts to no end that
when an admin goes on a user's workstation, the admin gets their own
profile. I want to see the *user's* profile, not some default profile!
So, I wrote a script that allows an administrator to impersonate a user
by copying the user's profile path and setting the administrator's
profile path to the user's path. It pops up a menu when the admin logs
in and he can pick which user to impersonate. Then the next time the
administrator logs in, he sees the user's desktop as the user would see
it, yet with administrator privileges.
The problem comes along where the user logs out and the administrator
tries to log in, but the profile is locked for one reason or another
(i.e. notes) and the administrator is now logged in with a temporary
profile. The script needs to be smart enough to recognize this and
forces a logoff, and if that doesn't fix the situation, forces a reboot
if the admin logs in again. That usually fixes the problem.
As much as I'm annoyed at Notes, I'm extremely pleased that I can
consistently reproduce this problem over and over, which is normally
difficult to do, especially with UPHClean.
Interestingly enough, I found a bug in Windows during this whole
process. Normally, if windows logs you on with a temporary profile, it
will follow these folder naming conventions:
Local account that couldn't be loaded:
TEMP
TEMP.COMPUTERNAME
TEMP.COMPUTERNAME.001
TEMP.COMPUTERNAME.002
etc..
or
Domain account that couldn't be loaded:
TEMP
TEMP.DOMAINNAME
TEMP.DOMAINNAME.001
TEMP.DOMAINNAME.002
etc..
So, let's say I log in under a domain account (msoultanian) on the
machine and it logs in normally. I go run Notes so I know the next
login is going to be a temporary profile. I also go and create the
folder "c:\documents and settings\temp" for kicks. I log off and then
log back in with the same account and get the usual warning that I've
been logged in under a temporary profile and it will be deleted upon logoff.
Since I was logged in under a temporary profile, it *should* have
created a new profile folder called "c:\documents and
settings\TEMP.DOMAINNAME" because "c:\documents and settings\temp"
already exists, but it doesn't! It incorrectly logs me in under
"c:\documents and settings\msoultanian"!!! And guess what happens when
you logoff? UH OH! Bye bye profile. Needless to say, my boss wasn't
too thrilled when I wiped out his profile... whooooops!
Now, what's the chance that someone's randomly going to create a folder
called temp in c:\d&s, but ya never know.
When I get the script finished, I will post it up. It is AMAZING how
much time this saves when working with users and installing software for
them.
Mike