Question on "How to Create a Elevated Program Shortcut ..."

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
       #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.
      My Computer


  2. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #22

    Super. I will make changes in my Word file, where I have your tutorials.

    Regards,

    Hans L
      My Computer


  3. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #23

    Brink said:
    Hans,

    Ok, I figured out what was wrong. I got it working for me now at startup without a UAC prompt.

    When you are creating the startup/log on task, you woud need to right click on the elevated task shortcut, click properties, copy that long Target path, then past it in the Program/script box when editing the Action for the startup/log on task instead of just selecting the elevated task shortcut.

    See the outline below to help. I numbered it the order of the steps to do.

    Attachment 121569

    Attachment 121570

    Attachment 121571
    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
      My Computer


  4. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
       #24

    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.
      My Computer


  5. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #25

    Brink said:
    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 was going to send screenshots, but I could not use the PRTSC button on the keyboard. I'll install a screenshot program tomorrow.

    Regards,

    Hans L
      My Computer


  6. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
       #26

    Ok mate. :)
      My Computer


  7. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #27

    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
    Attached Thumbnails Attached Thumbnails Question on "How to Create a Elevated Program Shortcut ..."-actions.jpg   Question on "How to Create a Elevated Program Shortcut ..."-general.jpg   Question on "How to Create a Elevated Program Shortcut ..."-shortcot.jpg   Question on "How to Create a Elevated Program Shortcut ..."-triggers.jpg  
      My Computer


  8. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
       #28

    It seems like you should be entering the path below at step 14 instead for your Startup task.

    C:\Windows\System32\schtasks.exe /run /tn "Everything_UAC"
      My Computer


  9. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #29

    Brink said:
    It seems like you should be entering the path below at step 14 instead for your Startup task.

    C:\Windows\System32\schtasks.exe /run /tn "Everything_UAC"
    Shawn, would you kindly refer to the attachment in question and tell me exactly where to put the line above.

    Thank you!

    Hans
      My Computer


  10. Posts : 71,980
    64-bit Windows 11 Pro for Workstations
       #30

    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.

    Question on "How to Create a Elevated Program Shortcut ..."-step8.jpg
      My Computer


 
Page 3 of 4 FirstFirst 1234 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 22:30.
Find Us