Drac89 Posted October 19, 2021 Posted October 19, 2021 Hello I am trying to use the Runas function to launch the sql management studio application using another domain user profile other than the one logged into. Its a domain user, i tried with nologon profile and logon profile.Its not working. I tried with #requireAdmin as well. The windows runas command works and also if we do run as different user, it works. The error flag just gives a 1 and the PID is always 0. Any idea? Should the user have pre logged into the machine and have a profile under users? I can't seem to find the user SID under the profilelist registry as well. Hence tried with nologon profile.
Subz Posted October 19, 2021 Posted October 19, 2021 (edited) Can you check if you're compiling the code using 64-bit or if you require 32-bit using the _WinAPI_Wow64EnableWow64FsRedirection function? Edited October 19, 2021 by Subz
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