Search code examples
c++scheduled-tasksinvisiblewinlogon

App is invisible if started from Task Scheduler without any user logged in


Is there any way to have app visible even if it is started with "Run only if user logged on" unchecked? I know that windows starts app from task invisible as there is no user logged into yet. But when user logs in he would like to see that app instead of running in the background.

I would like to know the way to solve it. There must be a lot of people who faced this problem before.

Thanks,


Solution

  • I solved it by tweaking autologon in Windows Registry (WinXP): HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

    DefaultUsername and DefaultPassword. That is all what I needed. Thank you, guys!