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
subbu

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
WindowsStar

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
subbu

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
Bare Foot Kid
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
subbu

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
Bare Foot Kid
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
Dwarf

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
WindowsStar

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
Thread Forum
Task Scheduler not running??
Hello- Anyone getting this message or had it and corrected it? see attachment. I''ve been on Google for a loong time and not really finding a fix. HP system 3 weeks old and this seems to be a problem for a ton of people. I check the services and its running and grayed out so I can't touch...
Performance & Maintenance
Task scheduler not running??????
My daughter has an HP laptop that she uses in nursing school. It started acting funny and I found a bunch of junk on the computer that she says she doesn't know where it came from. But me problem is that automatic updates has stopped working along with the disk defag. When I try to run the...
General Discussion
Task Scheduler not Running Tasks
I created two tasks (Utorrent and Flashget) to run at 12:15 am every night but the tasks refuse to startup. I usually hibernate my computer at night so i have the two tasks "wake computer up to run this task" (the computer does wake itself up) The only way i can get it to run is if i manually run...
General Discussion
Task Scheduler not executing a schedule application
I have created a task that is suppose to launch Goldmine every day at a set time. The task appears to have launched succesfully, ie Task Scheduler reports "The operation completed successfully." However I know it isn't actually launching. When I run the task manually the application never...
General Discussion
Task Scheduler not running
I can't install anything on my computer or run disk defragger because I keep getting error messages. Here is one: "Disk Deragmenter cannot start because the task scheduler service is not running. Start the task scheduler service and try again. I tried to mess around with the task scheduler...
General Discussion
task scheduler not running missed task
When i set task scheduler to run a program it works. But if the pc is not on at the time it will not run unless task scheduler is opened. It is set to run as soon as poss after scheduled time and task scheduler itself starts and runs properly
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 02:06.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App