Jump to content

Recommended Posts

Posted

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. 

Posted (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 by Subz

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...