how do i lock remote desktop screen (RDP or MSTSC) ?. Is there any shortcut key for lock screen in remote desktop. For example in local desktop if we press Windows key + L key combination it locks the local client computer, is there any equivalent version of key combination in RDP ?
I figured it out. I wrote an keyboard filter driver which will send the keys depending on the session handle. One key thing i noticed was when the virtual or on-screen keyboard is toggled on, and if you pass Win + any key(Virtual key) + L it only locks RDP or remote session. So i have written a keyboard filter driver which will send in the scan code along with the Win and L key.