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

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #11

    Okay. Thanks,

    Hans L
      My Computer


  2. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #12

    You're most welcome Hans. Please let us know how it went. :)
      My Computer


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

    Shawn, I followed your tutorials to a T. It did not work.

    When I did

    15. Navigate to and select the program's EXE file or shortcut to the EXE file, then click on Open. (see screenshot below)
    NOTE: Remember that a standard user account cannot run a elevated program at startup or log on. See NOTE at top of tutorial for more information.

    under

    How to Create a Task to Run a Program at Startup and Log On in Windows 7

    I put in the shortcut (not the .exe file name), and it showed, under "Program/Script", as:

    C:\Windows\System32\schtasks.exe

    Is that correct?

    --------------

    This program, Everything, is a program that creates a database of file names, and then updates this database on the fly when files are added and deleted, or file names are changed. Could this be a problem?


    When the UAC windows appears, at computer start-up, asking
    "Do you want to ...", the program location is shown as

    "C:\Program Files (x86)\Everything\Everything.exe" -startup

    Does this interfere with the shortcut?

    This program has its start-up info in the registry.

    Any tips would be appreciated.

    Regards,

    Hans L
      My Computer


  4. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #14

    Hans,

    Just to be sure if everything, be sure that you have removed all startup entries for the program in METHOD FOUR of the tutorial below.

    Startup Programs - Change


    Next, take the elevated task shortcut that you created in the tutorial below and place it somewhere like in your My Documents folder (or where you like).

    Elevated Program Shortcut without UAC Prompt - Create


    Now, create a startup/log on task with the elevated task shortcut at it's new location using the tutorial below.

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


    Remember, that this will only run elevated at startup without a UAC prompt for a administrator's account. It will give a UAC prompt for a standard user.

    Please let me know where in the above things went wrong for you, and I'll try to help. :)
      My Computer


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

    Shawn, I did all of the above.

    When I came to this:

    https://www.sevenforums.com/attachmen...log-step10.jpg

    and I highlighted this:

    C:\ZZZ - UAC Shortcuts\Everything_UAC.lnk

    the darn scheduler (again) put in this:

    C:\Windows\System32\schtasks.exe

    So, I eleted it and put in

    "C:\ZZZ - UAC Shortcuts\Everything_UAC.lnk"

    Again, it did not work.

    You know what, Shawn, I just remember that I much earlier tried to put a shortcut for Everything.exe in [Username] Startup and in All Users Startup, and the program did not start at computer startup. It seems that Everything does not start unless it is in

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

    That would explain why methods with a shortcut do not work.

    What do you think?

    Regards,

    Hans L
      My Computer


  6. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #16

    What program is this for?

    If I'm able to, I'll play with it to see if I may be able figure out what the issue may be.
      My Computer


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

    Thanks.

    It is "Everything" from

    Everything Search Engine

    It is a very nifty little program.

    Regards,

    Hans L
      My Computer


  8. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #18

    Are you using the EXE or portable download version?

    Did you uncheck this option in the program, so that you are only using the startup task shortcut created by you?

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


  9. Posts : 72,050
    64-bit Windows 11 Pro for Workstations
       #19

    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.

    Question on "How to Create a Elevated Program Shortcut ..."-test1.jpg

    Question on "How to Create a Elevated Program Shortcut ..."-test-2.jpg

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


  10. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #20

    Okay, Shawn, great. I will do it, but it may have to be tomorrow, because I am splitting a hard drive into two, and then, I have one other program that gives me problems.

    I'll let you know how it goes.

    Regards,

    Hans L
      My Computer


 
Page 2 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 01:28.
Find Us