ghetek Posted March 16, 2006 Share Posted March 16, 2006 how would you guys go about checking to see if a machine has a user logged in? i am making an interface to remote desktop into a few different virtual machines but i want to make sure that the machine does not currently have someone logged into it before my script opens a remote desktop connection to it. it would be preferable to remotely find out. Link to comment Share on other sites More sharing options...
Valuater Posted March 16, 2006 Share Posted March 16, 2006 so how did this work out??http://www.autoitscript.com/forum/index.ph...st=0&p=1621808) Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 16, 2006 Share Posted March 16, 2006 Hi, what about: $value = RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\", "AltDefaultUserName") Msgbox(64, "Value", $value) So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
CyberSlug Posted March 17, 2006 Share Posted March 17, 2006 Try PsLoggedOn from SysInternals Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
DaveF Posted March 17, 2006 Share Posted March 17, 2006 Test to see if the explorer.exe process exists. Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines. Link to comment Share on other sites More sharing options...
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