New
#1
Setting up hotkey / keyboard shortcut that works when screen is locked
Hi,
I have a weird problem with my Windows 10 PC (v1909) - the PC is quite old, with a Gigabyte 770T-USB3 motherboard and Nvidia GTS 250 graphics card. It works really well except for one annoying problem. Whenever it comes out of sleep, the screen is always black - I have tried all kinds of solutions including ones listed here. I no longer believe that this problem can be fixed (this is being caused by some issue with the display driver and DWM crashing) - this is not the problem I am writing about.
I found out that if I can change the screen resolution when the screen is blank, the screen comes back on again. I have created a scheduled task that automatically changes screen resolution when I sign in, so that if I enter the pin when the screen in blank and manage to successfully sign in, the scheduled task changes the screen resolution and the screen comes back on again. The issue is that it is really hard to sign in with the screen of :)
Is there some way I can trigger the shortcut to change the screen resolution from the lock screen using a hotkey? Any other way to change screen resolution automatically after coming out of sleep or any other solutions are also greatly appreciated!
Thanks in advance!
Vij
P.S: Yes, I can buy a new graphics card, but I feel really bad throwing away something that works 99% of the time. Also, I am cheap :)
P.P.S: I am using NirCmd to change the screen resolution from the command line