Re: LoadUserProfile failing
- From: "Jos Scherders" <thrower@xxxxxxx>
- Date: Sun, 10 Jun 2007 21:12:48 +0200
Hi Tony,
Thanks for your reply, looks like have to do some redesign :(
What I gorgot to add to my question is this. Does the access check that
Windows performs somewhere only apply to the process token ? E.g. we tried
to fix this problem
by performing the LoadUserProfile when Impersonating an account with
administrative
privileges but even that didnt solve the problem. Is this what you expected
as well ?
Thanks again,
Jos
"Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%2307NK4aqHHA.4420@xxxxxxxxxxxxxxxxxxxxxxx
It is True Jos. In fact it's also true for a process wanting to load its
_own_ profile, which strikes me as a bit odd. For instance, a COM+ server
application cannot ensure its own profile is loaded unless its configured
account has admin privileges
Tony Proctor
"Jos Scherders" <thrower@xxxxxxx> wrote in message
news:%23HpEqwUqHHA.1288@xxxxxxxxxxxxxxxxxxxxxxx
Hi all,what
MSDN states that starting from XP SP2 and Windows Server 2003 you can
only
call LoadUserProfile from within a process that is running with
administrative privileges
or as LocalSystem.
Can someone confirm that this is indeed true ? I am running a process as
normal
user but with the SeRestoreName and SebackupName privileges and it indeed
does not work. In the UserEnv logging I see very low level calls failing
with access denied (Inside DropClientContext). Does anyone have a clue
changed in SP2 that makes non-administrator calls to LoadUserProfile fail?
Thanks a lot,
Jos
.
- Follow-Ups:
- Re: LoadUserProfile failing
- From: Tony Proctor
- Re: LoadUserProfile failing
- References:
- LoadUserProfile failing
- From: Jos Scherders
- Re: LoadUserProfile failing
- From: Tony Proctor
- LoadUserProfile failing
- Prev by Date: Re: UAC and Backup Operators
- Next by Date: Re: Terminating Process query
- Previous by thread: Re: LoadUserProfile failing
- Next by thread: Re: LoadUserProfile failing
- Index(es):
Relevant Pages
|