how to success OpenScManager for local machine when logged in with a user don't have administrator privileges RRS feed

  • Question

  • Hello All,

    I logged in as a local user which do not have administrator privileges on
    Vista. Then I tried to use:

    LogonUserA(user, domain, password, LOGON32_LOGON_NEW_CREDENTIALS,
    LOGON32_PROVIDER_WINNT50, &token);

    It successed when the target machine is a remote machine, but failed for the
    machine itself.
    I guess LOGON32_LOGON_NEW_CREDENTIALS use the credentials I put for the
    remote connection but not for the local, so I have tried change
    LOGON32_LOGON_NEW_CREDENTIALS to some other values but it can't work.

    Is there some other solution for this?


    Thursday, May 8, 2008 5:32 AM

All replies

  • Were you able to resolve problem.


    I am looking for same problem, I have to rn OpenSCManager with all access rights from standard user.


    Friday, July 18, 2008 6:29 AM