BLuFeNiX Posted May 22, 2009 Posted May 22, 2009 Hey guys, I've Googled around a bit and can't find anything useful. I need to run a program as a certain user. The username, password, and path to the executable should be built in to the code. Can anyone give me the most simplified code possible to achieve this? Thanks. http://blufenix.net
Valik Posted May 22, 2009 Posted May 22, 2009 CreateProcessWithLogonW() is the name of the function you're looking for - I think.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now