memnon Posted November 12, 2010 Share Posted November 12, 2010 Hello, i use autoit to manipulate the user´s background with usefull informations from our database - if you know BGINFO from sysinternals - my programm does something like that my problem is - i need to recognise if the logontype is a locally logged on usersession or a session what is connected during RDP and i ask myself if there is a way to do this any help would be great das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum? Link to comment Share on other sites More sharing options...
hannes08 Posted November 12, 2010 Share Posted November 12, 2010 (edited) Hey memnon, you could go and check whether the environmentvariable "CLIENTNAME" is set (EnvGet("CLIENTNAME")<>"") Alternatively you could check for the "SESSIONNAME", whether it contains "RDP"/"ICA"... Regards, Hannes Edited November 12, 2010 by Hannes123 Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
memnon Posted November 12, 2010 Author Share Posted November 12, 2010 omg so easy, thx hannes - i was thinking around the simple way you are correct, thx das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum? 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