LoadUserProfile failing
- From: "Jos Scherders" <thrower@xxxxxxx>
- Date: Thu, 14 Jun 2007 22:59:12 +0200
Hi all,
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
what changed in SP2 that makes non-administrator calls to LoadUserProfile
fail ?
I tried to fix this problem by impersonating an account that does have
Administrative
privileges but even this does not work. Doesn't windows consider the calling
thread's
token but only the calling processes token in this case ?
Thanks a lot,
Jos
.
- Prev by Date: Re: KERB_SMART_CARD_LOGON
- Next by Date: RE: folder virtualisation
- Previous by thread: Thanks Eric, Please tell about 64 bit Credential Provider or VS 2005 VC++ Settings for Vista 64???
- Next by thread: RE: folder virtualisation
- Index(es):
Relevant Pages
|