AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

breaking remote desktop session by unlocking pc

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
foaly
Guest





PostPosted: Thu Jun 04, 2009 8:32 pm    Post subject: breaking remote desktop session by unlocking pc Reply with quote

If I use Windows Remote Desktop in Vista the screen on the host computer gets locked. Is there a way for autohotkey to send my password as if it was send by the physical keyboard and unlock the computer remotely?

Everything I tried has resulted in autohotkey sending my password as if it was send from the client pc...

Hopefully someone has a solution...
Back to top
BoBoł
Guest





PostPosted: Thu Jun 04, 2009 9:02 pm    Post subject: Reply with quote

I guess you're out of luck here. The RDP remote session will lock the host box once you disconnect. Confused
[Brainfart]
You might have a chance to trigger the locked box with psexec to forcefully restart the box so it logs in using TweakUI's auto login option ...
[EOBrainfart]
Back to top
Guest






PostPosted: Thu Jun 04, 2009 9:39 pm    Post subject: Reply with quote

BoBoł wrote:
I guess you're out of luck here. The RDP remote session will lock the host box once you disconnect. Confused

Actually is locks the host box on connecting...
I can easily restart the host pc, but that is not a solution I'm looking for...
appreciate the idea though Smile
Back to top
Superfraggle



Joined: 02 Nov 2004
Posts: 1019
Location: London, UK

PostPosted: Thu Jun 04, 2009 10:20 pm    Post subject: Reply with quote

When the session is locked the password screen runs in a separate desktop process.

Programs such as PSEXEC allow you to start programs in this desktop window, I have never got round to testing, but perhaps starting your ahk script in this way will work.

I have a feeling that all virtual input is blocked though.
_________________
Steve F AKA Superfraggle

http://r.yuwie.com/superfraggle
Back to top
View user's profile Send private message MSN Messenger
NickyBABY
Guest





PostPosted: Sat Aug 07, 2010 3:10 am    Post subject: Login remote PC Reply with quote

Put this in the run command in the desktop that you remote into. %windir%\system32\tscon.exe 0 /dest:console
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group