Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do I run a GUI program on a Windows 10 login interface?
How do I run a GUI program on a Windows 10 login interface?
How do I run a GUI program on a Windows 10 login interface?

What I have tried:

srvany.exe+instsrv.exe:run the program as a service when starting the system.
add the program in scheduled task
Posted
Updated 28-Mar-18 2:54am
v3
Comments
Mike (Prof. Chuck) 28-Mar-18 9:24am    
How does repeating the quest three times improve the question?
quanhuang 3-Apr-18 1:25am    
Because this is my first time to ask a question on codeproject and I don`t know what to say. :)

If you want to customise the Logon see Winlogon and Credential Providers (Windows)[^].

Because a GUI application requires to be started as user, you can not execute such before a logon.

All you can do is starting a service which does not have GUI capabilties. There are solutions to let a service display a window but these usually require using the account of a logged in user.
 
Share this answer
 
You don't. It's a MASSIVE security risk.

What you can do is, very carefully, write a Credential Provider[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900