New
#21
I have also updated the tutorial below by adding step 14 for this to help as well. :)
Task - Create to Run a Program at Startup and Log On
Last edited by Brink; 07 Dec 2010 at 16:57.
I have also updated the tutorial below by adding step 14 for this to help as well. :)
Task - Create to Run a Program at Startup and Log On
Last edited by Brink; 07 Dec 2010 at 16:57.
Super. I will make changes in my Word file, where I have your tutorials.
Regards,
Hans L
Shawn, I did the whole scheduling thing over, but it does not work. So, I have a few questions:
When, in the scheduler, one writes
C:\Windows\System32\schtasks.exe /run /tn Everything
in essence, it says to run the task of which "Action is a part. Why? Because it says that the program is
C:\Windows\System32\schtasks.exe
and the command is "run"
and what should be run is the task called "Everything" (althouhg my task is called "Everything_Task").
So, the Action part of the scheduler says "run the task of which I – Action – is a part". Does not seem to make sense.
Also, why is the shortcut necessary at all? Isn't it so that the scheduler runs all its tasks with triggers that says "At startup", and thus, all corresponding Actions are carried out? If that is true, could one then not in "Program/script" simply write
"C:\Program Files\Everything\Everything.exe" ?
I see, for instance, that Norton has a setup similar to the one I am trying to accomplish, and in its task, it says
Start a program C:\Program Files (x86)\Norton Internet Security\Engine\18.1.0.37\SymErr.exe/ submit
So, what da' ya' say?
Regards,
Hans L
Hans,
The elevated task shortcut is needed since you wanted to run the program without getting a UAC prompt.
The separate startup task is needed so that you could run the elevated task shortcut at startup without getting a UAC prompt.
If you were to just run the "C:\Program Files\Everything\Everything.exe" file, you would get a UAC prompt.
You are making a mistake somewhere, but not sure where yet. To see what I can do to help more, what is the name of your elevated task shortcut?
You would paste the target of this shortcut at step 14.
Shawn, I have lost track a little, because I have had to work on so many issues setting up the laptop for a month in Florida (takes one month to set the darn thing up , so I am sure there are a few errors that I have done. However, here are the screenshots attached.
Now, whatever is wrong, I do believe it can be fixed rather easily. I can now navigate the scheduler with flair
Regards,
Hans
This should be the "Target" path from the Everything_UAC properties screenshot of yours above. It needs to be pasted in the line here at step 14.