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 - Create to Run a Program at Startup and Log On

03 Jun 2012   #20
WildWilly

Windows 7 Professional 64-bit
 
 

I'm posting here to make note of the fact that this Tutorial solved my problem. Initially, I was trying to follow the instructions in this other Tutorial:

Elevated Program Shortcut without UAC Prompt - Create

On my own, before Brink/Shawn pointed me to this Tutorial, I had created an entry in Task Scheduler directly in the Task Scheduler Library. With that entry, at one point I actually had a taskmgr.exe running, but no Task Manager window was open. I discovered that by manually opening the Task Manager window & it showed 2 instantiations of taskmgr.exe, one under user SYSTEM launched via Task Scheduler, and the other under my user ID launched manually by me to look at what was going on. Which was actually kind of funny . . .

The solution ended up being this Tutorial. By adding one level of indirection, my problem was solved. I created a folder within the Task Scheduler Library and placed the exact same auto-start item within this lower-level folder, and everything started working. I have made a mental note that if I ever add something new that I want automatically started at bootup or logon, I will put it in my lower-level folder and not in the higher-level Task Scheduler Library. That will be for both elevated & non-elevated tasks.

Aside from the fact that this works, I like the aesthetics of organizing my stuff into my folder. There's a number of products installed on my system that put their own entries in the high-level library so I don't know why a plebe like me couldn't do the same. But I couldn't & this was the solution so I'm not looking any further for answers.


My System SpecsSystem Spec
.
19 Jun 2012   #21
draganov

windows 7 ultimate x64
 
 

i am having a problem that the task does not start. i created the task as per the above steps.
it shows the error that task could not be started because no user was log in
My System SpecsSystem Spec
19 Jun 2012   #22
Brink

64-bit Windows 10 Pro
 
 

Hello draganov, and welcome to Seven Forums.

Is this for a program that must run as administrator to use? If so, you would need to use the tutorial below to create a shortcut to use in this tutorial on the first page instead.

Elevated Program Shortcut without UAC Prompt - Create
My System SpecsSystem Spec
19 Jun 2012   #23
draganov

windows 7 ultimate x64
 
 

hi brink
I am having a problem that the created task is not starting. the error code is 0x800704DD.
and the last run result is "the operation being requested was not performed because the user has not logged on to the network.the specified service does not exist."
Please help. what to do.?
My System SpecsSystem Spec
.

19 Jun 2012   #24
Brink

64-bit Windows 10 Pro
 
 

Draganov,

It sounds like you are trying to run a program as administrator at the startup of a standard user account. You might give what I posted above at try with that tutorial first to create a shortcut to then use in this tutorial on the first page to see if that may work better for you.
My System SpecsSystem Spec
20 Jun 2012   #25
draganov

windows 7 ultimate x64
 
 

I am using Admin account and even a microsoft word file is not launching at startup.everytime i got the error code stated 0x800704DD
My System SpecsSystem Spec
20 Jun 2012   #26
Brink

64-bit Windows 10 Pro
 
 

Is this on a domain?
My System SpecsSystem Spec
18 Sep 2012   #27
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 

I reinstalled my W7 OS last week and I stupidly installed all of my programs to W7's default location(s) instead of a separate partition.
Now I can't get my Task Scheduler task to run.

I want to start Process Explorer (in Admin mode).
I exported the task (before I reinstalled the OS) and used it as a template to create the new task.

Regardless of what settings I try, I get either 8007010b or 41301 errors.

I don't want to have to repartition and reinstall everything again.
It was a total debacle filled with weird glitches and mysterious happenings.
It took 3 attempts to get everything installed and working.
My System SpecsSystem Spec
18 Sep 2012   #28
Brink

64-bit Windows 10 Pro
 
 

Hello Peter,

Are you able to edit the task's action to change the path to the correct one?

If not, then you should be able to delete the task, and just create a new task for the program.
My System SpecsSystem Spec
18 Sep 2012   #29
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 
All New Task

Hi Brink

I'm using an all new task (I built a completely new task using the old one as a guide).

I discovered that you aren't allowed to use quotes (") in paths in the "Start in" box (wtf?).
That fixed the 8007010b error.

I can't get rid of the 41301 error.

I can see that the task is running (if open another instance of Process Explorer) but the problem is that no window is available (a GUI monitor isn't much use without a window).
Click on the picture to see the animation
Task - Create to Run a Program at Startup and Log On-task-scheduler.gif
I decided to try out Avast AV (I was running AVG) so it's possible that it is causing the problem.
I've added Process Explorer to the exceptions, but maybe I need to add the Task Scheduler as well.


My System SpecsSystem Spec
Comment

 Task - Create to Run a Program at Startup and Log On




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




Similar help and support threads
Windows 7 Tutorial Category
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Task Scheduler : Create Shut Down PC Automatically Task
How to Create a Task that will Shut Down the PC Automatically This will show a very easy way to create a task in the Task Scheduler that will shut down the PC whenever you like. This will work for Windows 7 and Windows Vista. Let's get started! 1) In the Windows start menu search box type...
Tutorials
Task Scheduler - Create New Task
How to Create Automated Task that Runs at Set Time in Windows 7 A very handy feature within Vista, Windows Server 2008 & now Windows 7 is the Task Scheduler. This app will allow the automated running of files and programs at a user designated time. Here's How: 1. Open up Task...
Tutorials
create sleep task, to force sleep over a program ?
Hello, I would like to know how to create a task in task scheduler , that'll force the computer into sleep over a running program. Basically, I have some software that runs in the background called 'WD anywhere backup' and when this software is running it prevents the computer from...
General Discussion
Can't create a task in task scheduler, account unknown.
"Task scheduler cannot create the task. The user account is unknown, the password is incorrect, or the user account does not have permission to create this task." I'm getting that message. I read you needed a passworded account to create a task, so I made a new account because I didn't want a...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance


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 17:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App