Send keys in lockscreen

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
JoshSnitzel
Posts: 1
Joined: 04 Jul 2023, 04:11

Send keys in lockscreen

04 Jul 2023, 04:17

I am trying to make a simple script that will ensure the windows lock screen is asking for a pin not a password (it randomly asks for a password which annoys me). I think the easiest way is to just send some tab and space commands to select the sign-in options and then pin. My issue is that it seems I cannot just send a key in lockscreen (nothing happens). Is there any work around for this?
User avatar
mikeyww
Posts: 27366
Joined: 09 Sep 2014, 18:38

Re: Send keys in lockscreen

04 Jul 2023, 06:50

Welcome to this AutoHotkey forum!

When I say that something cannot be done, I am usually proven wrong, but I would not be optimistic about this because the lock screen is a Windows security feature.
malcev
Posts: 1769
Joined: 12 Aug 2014, 12:37

Re: Send keys in lockscreen

04 Jul 2023, 07:54

It can be done.
viewtopic.php?p=129830
viewtopic.php?f=6&t=27709
Or use PsExec.exe to run script from system account.
User avatar
mikeyww
Posts: 27366
Joined: 09 Sep 2014, 18:38

Re: Send keys in lockscreen

04 Jul 2023, 08:50

I was right after all, since I was wrong. :D 8-)
User avatar
boiler
Posts: 17387
Joined: 21 Dec 2014, 02:44

Re: Send keys in lockscreen

04 Jul 2023, 09:44

I have also learned that my posting “it is not possible” is a sure fire way to summon a post from someone like malcev or teadrinker with a solution. :D

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: ntepa and 55 guests