Re: LoadUserProfile failing

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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,

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
?

Thanks a lot,
Jos






.



Relevant Pages

  • Re: LoadUserProfile failing
    ... _own_ profile, which strikes me as a bit odd. ... account has admin privileges ... MSDN states that starting from XP SP2 and Windows Server 2003 you can only ...
    (microsoft.public.win32.programmer.kernel)
  • LoadUserProfile failing
    ... MSDN states that starting from XP SP2 and Windows Server 2003 you can ... administrative privileges or as LocalSystem. ... what changed in SP2 that makes non-administrator calls to LoadUserProfile ...
    (microsoft.public.platformsdk.security)
  • user privileges
    ... administrative privileges and one in my niece's name with only user ... (for example oracle TNS ... she has to log into my profile to work on oracle. ...
    (microsoft.public.windowsxp.general)
  • please answer- 2nd post
    ... administrative privileges and one in my niece's name with only user ... (for example oracle TNS ... she has to log into my profile to work on oracle. ...
    (microsoft.public.windowsxp.general)
  • please help.--3rd post. 2nd one lost in cyberspace--at least i cannot see it.
    ... administrative privileges and one in my niece's name with only user ... (for example oracle TNS ... she has to log into my profile to work on oracle. ...
    (microsoft.public.windowsxp.general)