Jump to content
Sign in to follow this  
trademaid

process and remote desktop

Recommended Posts

trademaid

I want to run only one rdp session under most circumstances.

if a second rdp is open, after say 5 minutes I want to log it off. (shutdown /l)

I am using windows 2003 server under virtuozzo. (its 99% the same as windows 2003 server)

My theory is if a certain process pretend application.exe is running, then I log of the second rdp session.

Problem is using the process command, I cant tell if a process is under the current user or not

ie if you go to windows task mangager, the autoit command finds all process's regardless of user.

Not that all sessions will use the same user and I cant use the /console command on virtuozzo

Share this post


Link to post
Share on other sites
spudw2k

Share this post


Link to post
Share on other sites
trademaid

You are brillain

query process gives the ID number, and only the process's for the loged on user.

From here I can progress ok

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  

×