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

Page 4 of 4 FirstFirst ... 234

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

    Shawn, I can't see how this can work:

    Activity

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

    Shortcut/target:

    C:\Windows\System32\schtasks.exe /run /tn Everything

    Doesn't "Everything_UAC" have to have a path?Doesn't the shortcut have to start "Everything.exe"?And why does the Activity have to have "C:\Windows\System32\schtasks.exe". The command in Activity is already in the task scheduler, and should not have to tell the task scheduler how to run.

    You said you had the thing working. Why do you nt show, by screenshots the way I did, what you have in the various places.

    Thanks,

    Hans L
      My Computer


  2. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #32

    It would just be to many screenshots and steps to post here. Delete what you have and start over using exactly what I did below to see if this may help. :)

    The below will not work in a standard user account. It will only work in administrator accounts.

    If you have any startup program entries for the Everthing program, then you will need to delete them as well.



    This is a condensed version of what I did though step by step. Click on the links in the steps for how.

    A. I created a elevated program shortcut for the installed Everthing program EXE file in it's C:\Program Files folder.

    B. Move this new elevated program shortcut (ex: task-name) into your C:\Users\(user-name)\My Documents folder to store it at.


    C. Next, I created a new separate start up/log on task. While doing this be sure to:
    • Check the Run with hightest Priveleges box at step 8.
    • Include both steps 11 and 14 to run at startup and log on.
    • At step 15, be sure to use the elevated program shortcut (ex: task-name) from step A above.
    • Do not do step 16 since you are doing 15 instead.
      My Computer


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

    Shawn, I finally got it to work.

    However (sorry!!!!!), if I add "-startup" to

    Task Scheduler Library – Everything_shortcut_task – Actions – Add arguements optional): -startup

    in order to make Everything start up minimized to the tray, it does not work.

    And, I have to say this:

    I do not understand why first, the shortcut refers to

    C:\Windows\System32\schtasks.exe /run /tn Everything_shortcut_task

    and then, second, Task Scheduler (Local) – Task Scheduler Library – Everything–Folder – Everything_task – Actions – Start a program

    refers to the SAME THING:

    C:\Windows\System32\schtasks.exe /run /tn Everything_shortcut_task

    It works, but it does not make any sense at all. Do you have any explanation, Shawn?

    Regards,

    Hans L
      My Computer


  4. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #34

    I put "-startup" back, and now, it works. Go figure. So, we are set.

    Now, I have a Windows Explorer replacement called DOpus (very good!!!), and every time I change a folder name, I get the dreaded UAC prompt. That is really ridiculous.Is there is away to fix this too?

    Shawn, do you think that in the future SP1 for Windows 7, there will be ways to exempt files and programs from the UAC prompt?

    All that aside, I wish, at this time, to thank you so very much for your exceptional patience with me and my problem. We, on this list and others, are lucky to have you around!

    Regards,

    Hans L
      My Computer


  5. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #35

    That's great news Hans. I'm happy to hear that you got it sorted.

    I wouldn't count on an exception list for UAC to ever be added since it would defeat the purpose of UAC. If a program on the exception list was compromised by malware, then it would be able to cause havoc without you being able to stop it by denying it permission to run elevated with the UAC prompt.
      My Computer


  6. Posts : 175
    Windows 7 Ultimate
    Thread Starter
       #36

    Brink said:
    That's great news Hans. I'm happy to hear that you got it sorted.

    I wouldn't count on an exception list for UAC to ever be added since it would defeat the purpose of UAC. If a program on the exception list was compromised by malware, then it would be able to cause havoc without you being able to stop it by denying it permission to run elevated with the UAC prompt.
    Okay, guess we have to live with making our own exceptions, even if it is a little unwieldy.

    Regards,

    Hans L
      My Computer


 
Page 4 of 4 FirstFirst ... 234

  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 09:47.
Find Us