Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

Tip of the Day
Language: NT
Expertise: Beginner
May 9, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

The LogonUser function and the SE_TCB_NAME privile

I can't use the LogonUser function because I don't know how to set (with program, if possible) the SE_TCB_NAME privilege. When I use your program that shows the use of the LogonUser function, the sytem says to me it is missing a privilege. What can I do to have this privilege?

If you are talking about my 10-minute solutions, then I did tell you how to do it:

"Since there's one little gotcha with using LogonUser -- it requires that the process calling LogonUser must have SE_TCB_NAME privileges (i.e., the 'Act as part of operating system' right in the advanced section of user rights under User Manager). This is not a right you want to give your average user. But with DCOMCNFG you can set this OLE server to run either as the system account (which has this right by definition) or as a specific user account (which you set up and gave this right to)."

The only thing that might not have been clear is that to see this right, you must have the "Show Advanced User Rights" checkbox checked.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date