Sign in to follow this  
Followers 0
Mat

Getting a script to run across users

2 posts in this topic

how can I get a script to start in user a, do stuff, logoff, log on to user b and end?

I DONT want to switch user, it has to be logoff.

(How would I script the welcome screen...I'd probably end up using click x,y)

I've looked around the forum and found things that add autologon on restart and can do stuff as windows logs off / shuts down, but no where have I found that actually logs you off and onto another account. this was probably the nearest to actually answering my question...(http://www.autoitscript.com/forum/index.ph...1&hl=logoff)

I know i can run script on logoff, but it ends and does not function in the welcome screen.

Mdiesel

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

30mins and no reply, I'm going to presume thats impossible then...

What if i....

Get Prog a to write autologon data to registry + add prog 2 to startup on the second account. prog 2 then undoes the regkeys of prog 1 and removes itself from the startup folder.

that might work if i'm lucky,

Any ideas??

MDiesel

edit: or run my program as a service so it runs even when user is logged out... How could I script that?

Edited by mdiesel

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  
Followers 0