Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Task Scheduler & Running application in foreground....


08 Feb 2010   #1

Win 7
 
 
Task Scheduler & Running application in foreground....

Hi,

My requirement is to start an application (UI based) in the foreground as soon as the PC boots (whether user is logged in or not). I added a task to the task scheduler & configured it to run under the same account as my foreground logon account.

I am seeing the task is scheduled but it is running in the background. Also observed that task manager is not showing the process unless I click on the button "Show processes from all users".

What is the reason for such a behavior and how can I achieve my requirement?

Thanks,
Subbu


My System SpecsSystem Spec
.

05 Jul 2010   #2

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Yes, what you can do is start the application as a service and make sure that it is allowed to interact with the user. That way the application will start if no one is logged on, and will display when a user logs on.
My System SpecsSystem Spec
06 Jul 2010   #3

Win 7
 
 

Hi,

What can be done to make sure that it is allowed to interact with the user?

Thanks,
My System SpecsSystem Spec
.


06 Jul 2010   #4
Microsoft MVP

W 7 64-bit Ultimate
 
 

Hello subbu, welcome to Seven Forums!



Have a look at the tutorial at the link below to see if that method will do what you need; be sure to keep us informed.


How to Change, Add, or Remove Startup Programs in Windows
My System SpecsSystem Spec
06 Jul 2010   #5

Win 7
 
 

Hi,

First of all thanks for the reply.

I saw the link. It talks about adding a program to system startup. i.e. starting a program after the user logs in.

But I am looking for a way to start a UI based app as soon as the PC boots even before the user logs in and should show up the UI as soon as the user logs in.

Thanks,
My System SpecsSystem Spec
06 Jul 2010   #6
Microsoft MVP

W 7 64-bit Ultimate
 
 

Have you had a good look at all the options under the "Triggers" and "Conditions" tabs in the Task Scheduler to see if you're setting all the parameters that need to be met for the program to run correctly? Have a look at the tutorial at the link below.


Task - Create to Run a Program at Startup and Log On
My System SpecsSystem Spec
06 Jul 2010   #7

Windows 8.1 Pro RTM x64
 
 

Have you considered the alternative method of doing this? By editing the registry.

The location(s) to modify are as follows:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
(you will need to open the registry editor with administrative credentials to modify this location - affects all users)

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
(you can edit this from any account - affects the current user only)

Quote   Quote: Originally Posted by Dwarf
In the right-hand panel, right- click and choose New > String Value. Name it AutoLogOff (or whatever you want, this doesn't matter but it is helpful to have meaningful names). Next, right-click on the new entry and choose Modify... (alternatively, double-click it). Enter the following code (remember to include the spaces):

C:\Windows\system32\shutdown.exe /r /t 3630
Example taken from my posts in this thread: Solved Time usage control - Vista Forums

The parts to change are highlighted in RED.
My System SpecsSystem Spec
06 Jul 2010   #8

Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64)
 
 

Quote   Quote: Originally Posted by subbu View Post
Hi,

First of all thanks for the reply.

I saw the link. It talks about adding a program to system startup. i.e. starting a program after the user logs in.

But I am looking for a way to start a UI based app as soon as the PC boots even before the user logs in and should show up the UI as soon as the user logs in.

Thanks,
Again you can set the application to start as a service. That will do what you are wanting.

How To Create a User-Defined Service
My System SpecsSystem Spec
Reply

 Task Scheduler & Running application in foreground....




Thread Tools



Similar help and support threads for2: Task Scheduler & Running application in foreground....
Thread Forum
Task Scheduler Fails when Running VB Compile EXE General Discussion
Task Scheduler not Running Tasks General Discussion
Solved Task Scheduler not running when Windows is locked. General Discussion
Task Scheduler not executing a schedule application General Discussion
Task Scheduler not running General Discussion
Task Scheduler not running?? Performance & Maintenance
task scheduler not running missed task General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:01 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33