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

Page 3 of 7 FirstFirst 12345 ... LastLast

  1. Posts : 96
    Windows 7 Professional 64-bit
       #20

    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 Computer


  2. Posts : 3
    windows 7 ultimate x64
       #21

    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 Computer


  3. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #22

    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 Computer


  4. Posts : 3
    windows 7 ultimate x64
       #23

    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 Computer


  5. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #24

    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.
    Last edited by Brink; 20 Jun 2012 at 18:58. Reason: typo
      My Computer


  6. Posts : 3
    windows 7 ultimate x64
       #25

    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 Computer


  7. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #26

    Is this on a domain?
      My Computer


  8. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #27

    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 Computer


  9. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #28

    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 Computer


  10. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #29

    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 Computer


 
Page 3 of 7 FirstFirst 12345 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 08:13.
Find Us