Creating a Windows Account APIs

R

Razi

Hi all,

Recently I finished a project where I used LogonUser and
ImpersonateLoggedOnUser APIs to give the process an Administrator
priviliges to let it read Physical Memory regardless the user use this
process is admin or not, anyway, I test the code and it works fine when
I give LogonUser and administrator username and password as parameters.

Now I am writting the Installer for this project, and I need to know if
there is a way to create a windows user account from the Installer, or
if I can use another way in my project to use ImpersonateLoggedOnUser
API with out knowing an administrator user name and password.

NOTE: the Installer must be run as admininstrator.

NOTE: the Installer is written using C++, the project using C.

Thanks in Advance,
Razi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top