Jump to content
Sign in to follow this  
Sparrowlord

Switching Users

Recommended Posts

Sparrowlord

Hi,

I'm trying to switch users in my script, but I can't figure out how. I'm using windows 7.

I tried sending the left windows key and L and all that did was bring up the start menu and type L. :mellow:

How to switch user?

Thanks.

Share this post


Link to post
Share on other sites
Sparrowlord

Ive no idea how to do that, and Im not sure why you need it, but maybe

RunAs()
function might help you.

I might not of been searching hard enough, but I can't find anything with RunAs() to help me switch users.

Share this post


Link to post
Share on other sites
Sparrowlord

It dosent physically switch the user, but it will run an application as another user.

That's not exactly what I'm trying to accomplish. I'm trying to create a script that will switch users, to take me back to the windows login screen, but not completely log me out.

Share this post


Link to post
Share on other sites
Sparrowlord

Figured there would be a sure-fire quick way to do this.. :mellow:

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×