T
T
tempmon2015-05-22 07:53:18
Delphi
tempmon, 2015-05-22 07:53:18

How to restart the PC on the lock screen using a hotkey combination?

Good afternoon!
Please help, there is a need to restart the PC using the hotkey combination on the lock screen.
An application was written in Delphi, which, when a key combination is pressed, restarts the PC under a user account, the application works out. But after the application is launched using the service under the system account, it does not work out and, accordingly, on the lock screen too. Tell me in which direction to dig, or perhaps there is a ready-made free solution.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Ermachenok, 2015-05-22
@eapeap

The combination of "Hot Keys" - press the "Power" button 2 times. On the first press, it will turn off normally, on the second - it will turn on.
Maybe you will first need to switch it in the settings from "Sleep" to "Shutdown"

R
Ravil Zaripov, 2015-05-22
@RZaripov

most likely you do not have enough administrator rights to the program, try to run it with the rights

M
Mercury13, 2015-05-22
@Mercury13

If I'm not mistaken, a security feature of Windows Vista+. So no way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question